Changeset 10477


Ignore:
Timestamp:
02/06/08 11:24:46 (4 years ago)
Author:
anp
Message:

3.4 : amélioration message d'erreur latex2mml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4.x/Jav_EXT/com/scenari/ext/latex/Latex2MathML.java

    r10144 r10477  
    339339        protected static synchronized void initSymbols(boolean pOoCompatibility) throws Exception { 
    340340                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."); 
    343344                        SymbolHandler vHandler = new SymbolHandler(); 
    344345                        try { 
Note: See TracChangeset for help on using the changeset viewer.