Changeset 10477
- Timestamp:
- 02/06/08 11:24:46 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.4.x/Jav_EXT/com/scenari/ext/latex/Latex2MathML.java
r10144 r10477 339 339 protected static synchronized void initSymbols(boolean pOoCompatibility) throws Exception { 340 340 if (pOoCompatibility ? sSymbolsOo == null : sSymbols == null) { 341 InputStream vSymbols = Latex2MathML.class.getResourceAsStream(pOoCompatibility ? "symbolsOo.xml" : "symbols.xml"); 342 if (vSymbols == null) throw new Exception("Symbols file 'symbols.xml' not found."); 341 String vSymbolsFileName = pOoCompatibility ? "symbolsOo.xml" : "symbols.xml"; 342 InputStream vSymbols = Latex2MathML.class.getResourceAsStream(vSymbolsFileName); 343 if (vSymbols == null) throw new Exception("Symbols file '" + vSymbolsFileName + "' not found."); 343 344 SymbolHandler vHandler = new SymbolHandler(); 344 345 try {
Note: See TracChangeset
for help on using the changeset viewer.