[tex-live] GUIs crash on latex-error

Zdenek Wagner zdenek.wagner at gmail.com
Wed Aug 4 10:36:07 CEST 2010

2010/8/4 Norbert Preining <preining at logic.at>:
> On Mi, 04 Aug 2010, Tillmann Friederich wrote:
>> Manually, executing "latex", everything works.
> So then it is not a bug of latex or so ...
>> PS: this happens with any of the example files in here (if I unwillingly add a mistake, e.g. forget a graphics file): http://www.jfm.damtp.cam.ac.uk/jfmstyle.zip
> The bug is in jfm.cls ... it defines \checkfont with
>        \batchmode
> in it.
Sometimes it is not desirable to use \batchmode or \nonstopmode and
the hang problem can appear not only in GUI's but also when run as a
server application. In such a case I run latex through my Expect
script. Developing such a script in Expect is easier than using other
languages. The script is attached.

> The problem is that GUIs use
>        latex -interaction=nonstopmode
> but jfm.cls \checkfont does reset that to \batchmode without saving
> and restoring the original mode.
> Remove the calls to \checkfont in your documents and it will work.
> And complain to the writers of jfm.cls, it is their fault.
> Best wishes
> Norbert
> ------------------------------------------------------------------------
> Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
> JAIST, Japan                                 TeX Live & Debian Developer
> DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
> ------------------------------------------------------------------------
> Arthur's consciousness approached his body as from a great
> distance, and reluctantly. It had had some bad times in
> there. Slowly, nervously, it entered and settled down into
> its accustomed position.
> Arthur sat up.
> `Where am I?' he said.
> `Lord's Cricket Ground,' said Ford.
> `Fine,' said Arthur, and his consciousness stepped out
> again for a quick breather. His body flopped back on the
> grass.
>                 --- Arthur coping with his return to Earth as best as he
>                 --- could.
>                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

Zdeněk Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run-while-living.exp
Type: application/octet-stream
Size: 1356 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20100804/36be88a4/attachment.obj>

More information about the tex-live mailing list