New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Asked

halt-on-error happens everytime


We've recently upgrade to Foswiki 1.1.8, and I think this may have gotten us LatexModePlugin 4.0...

SInce then, LatexModePlugin has broken for us. It seems as thought the halt-on-error logic that was added recently is the culprit.

Here is the wiki page that we are trying to render:

\int_{-\infty}^\infty e^{-\alpha x^2} dx = \sqrt{\frac{\pi}{\alpha}}

This results in a latex_math.tex file that looks like:



% e572a4dd459c8a65682012d1929b932a

\int_{-\infty}^\infty e^{-\alpha x^2} dx = \sqrt{\frac{\pi}{\alpha}}


We do not see any (png) images on the wiki page once it is saved.

Running latex by hand, we see the following:

# latex latex_math.tex -interaction=nonstopmode -halt-on-error
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
turkish, ukenglish, ukrainian, loaded.
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/latexsym.sty) (./latex_math.aux)
! Missing $ inserted.
<inserted text>
l.10 \int
_{-\infty}^\infty e^{-\alpha x^2} dx = \sqrt{\frac{\pi}{\alpha}}

If I hack, and don't pass -halt-on-error, a dvi file gets generated, and everything works.

Not quite sure how to debug this further...

-- AaronScamehorn - 14 Jan 2014


QuestionForm edit

Subject Using an extension
Extension LatexModePlugin
Version Foswiki 1.1.8
Status Asked
Related Topics
Topic revision: r1 - 14 Jan 2014, AaronScamehorn - This page was cached on 15 Aug 2018 - 21:14.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy