summaryrefslogtreecommitdiffstats
path: root/scilab/modules/helptools
diff options
context:
space:
mode:
authorCalixte DENIZET <calixte.denizet@ac-rennes.fr>2010-04-01 12:48:31 +0200
committerCalixte DENIZET <calixte.denizet@ac-rennes.fr>2010-04-01 12:48:31 +0200
commit61e84f25e6f62f7b7ee6e593b07b496f9a0b592d (patch)
tree6ca157ed06858a65ec29e08fd4c60c7f4217a3fa /scilab/modules/helptools
parent91f5d2f7e3ba62b4fbac63a37fef467c3d6c557f (diff)
downloadscilab-61e84f25e6f62f7b7ee6e593b07b496f9a0b592d.zip
scilab-61e84f25e6f62f7b7ee6e593b07b496f9a0b592d.tar.gz
Rethrow a jlatexmath's exception when generating doc
Diffstat (limited to 'scilab/modules/helptools')
-rw-r--r--scilab/modules/helptools/src/java/org/scilab/modules/helptools/CopyConvert.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/scilab/modules/helptools/src/java/org/scilab/modules/helptools/CopyConvert.java b/scilab/modules/helptools/src/java/org/scilab/modules/helptools/CopyConvert.java
index 8e05ccb..f5d7400 100644
--- a/scilab/modules/helptools/src/java/org/scilab/modules/helptools/CopyConvert.java
+++ b/scilab/modules/helptools/src/java/org/scilab/modules/helptools/CopyConvert.java
@@ -911,7 +911,7 @@ public class CopyConvert extends DefaultHandler implements ErrorHandler {
911 try { 911 try {
912 tf = new TeXFormula(LaTeX); 912 tf = new TeXFormula(LaTeX);
913 } catch (ParseException e) { 913 } catch (ParseException e) {
914 throw new SAXParseException("There was a problem in parsing the LaTeX' formula : ", locator); 914 throw new SAXParseException("\nThere was a problem in parsing the LaTeX' formula : \n" + e.getMessage(), locator);
915 } 915 }
916 File f = new File(outDir, "graphics-" + (++graphicsCounter) + "_latex.png"); 916 File f = new File(outDir, "graphics-" + (++graphicsCounter) + "_latex.png");
917 reportInfo("Converting LaTeX formula to " + f + "'..."); 917 reportInfo("Converting LaTeX formula to " + f + "'...");