Modify ↓
Opened 13 years ago
Closed 3 years ago
#9681 closed defect (wontfix)
Ugly error message on syntax errors
Reported by: | Kamil Kisiel | Owned by: | Kamil Kisiel |
---|---|---|---|
Priority: | normal | Component: | TracMathPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
For example, a snippet of LaTeX like:
$\left( \theta_{b}, \psi_{b} $
Results in a big wall of text that looks like:
TracMath macro processor has detected an error. Please fix the problem before continuing. The command: '/usr/bin/pdflatex -interaction=nonstopmode fbecc55d1abf3c2d6254c3592c47766b0e7fe10f.tex' failed with the following output: "This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)\n %&-line parsing enabled.\nentering extended mode\n(./fbecc55d1abf3c2d6254c3592c47766b0e7fe10f.tex\nLaTeX2e <2005/12/01>\nBabel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh\nyphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng\nerman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,\n french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc\nus, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por\ntuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, \nturkish, ukenglish, ukrainian, loaded.\n(/usr/share/texmf/tex/latex/base/article.cls\nDocument Class: article 2005/09/16 v1.4f Standard LaTeX document class\n(/usr/share/texmf/tex/latex/base/size10.clo))\n(/usr/share/texmf/tex/latex/base/inputenc.sty\n(/usr/share/texmf/tex/latex/base/utf8.def\n(/usr/share/texmf/tex/latex/base/t1enc.dfu)\n(/usr/share/texmf/tex/latex/base/ot1enc.dfu)\n(/usr/share/texmf/tex/latex/base/omsenc.dfu)))\n(/usr/share/texmf/tex/latex/cmap/cmap.sty)\n(/usr/share/texmf/tex/latex/cmap/type1ec.sty\n(/usr/share/texmf/tex/latex/base/t1cmr.fd))\n(/usr/share/texmf/tex/latex/base/fontenc.sty\n(/usr/share/texmf/tex/latex/base/t1enc.def)<<t1.cmap>>)\n(/usr/share/texmf/tex/latex/amsmath/amsmath.sty\nFor additional information on amsmath, use the `?' option.\n(/usr/share/texmf/tex/latex/amsmath/amstext.sty\n(/usr/share/texmf/tex/latex/amsmath/amsgen.sty))\n(/usr/share/texmf/tex/latex/amsmath/amsbsy.sty)\n(/usr/share/texmf/tex/latex/amsmath/amsopn.sty))\n(/usr/share/texmf/tex/latex/amscls/amsthm.sty)\n(/usr/share/texmf/tex/latex/amsfonts/amssymb.sty\n(/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty))\n(/usr/share/texmf/tex/latex/tools/bm.sty)\n(/usr/share/texmf/tex/latex/preview/preview.sty\n(/usr/share/texmf/tex/latex/preview/prtightpage.def))\n(./fbecc55d1abf3c2d6254c3592c47766b0e7fe10f.aux)\nPreview: Fontsize 10pt\nPreview: PDFoutput 1\n(/usr/share/texmf/tex/latex/amsfonts/umsa.fd)\n(/usr/share/texmf/tex/latex/amsfonts/umsb.fd)\n! Extra }, or forgotten \\right.\n\\frac #1#2->{\\begingroup #1\\endgroup \\@@over #2}\n \nl.14 ...N_iN_j \\left( 4 \\pi r^{ \\alpha } \\delta r}\n $\n! Missing \\right. inserted.\n<inserted text> \n \\right .\nl.14 ..._iN_j \\left( 4 \\pi r^{ \\alpha } \\delta r}$\n \n! Missing } inserted.\n<inserted text> \n }\nl.14 ..._iN_j \\left( 4 \\pi r^{ \\alpha } \\delta r}$\n \nPreview: Tightpage -32891 -32891 32891 32891\n[1{/usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map}]\n(./fbecc55d1abf3c2d6254c3592c47766b0e7fe10f.aux) )\n(see the transcript file for additional information) </srv/trac/cache/tracmath/\nfonts/pk/ljfour/jknappen/ec/ecrm0500.600pk></usr/share/texmf/fonts/type1/bluesk\ny/cm/cmmi10.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmmi5.pfb></usr/share/\ntexmf/fonts/type1/bluesky/cm/cmmi7.pfb></usr/share/texmf/fonts/type1/bluesky/cm\n/cmr10.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmr7.pfb></usr/share/texmf/\nfonts/type1/bluesky/cm/cmsy10.pfb>\nOutput written on fbecc55d1abf3c2d6254c3592c47766b0e7fe10f.pdf (1 page, 22860 b\nytes).\nTranscript written on fbecc55d1abf3c2d6254c3592c47766b0e7fe10f.log.\n"
Not really the most user-friendly.
Attachments (0)
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 3 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Deprecated and removed. Source was on BitBucket and is no longer available. For alternate, see trac-mathjax.
Note: See
TracTickets for help on using
tickets.
#11884 closed as a duplicate, which mentions that line breaks should be rendered correctly.