Can I use interactive mode in Lua?
Rui Zhang <[email protected]> Sun, 15 Oct 2017 12:40:50 +0000
| Newsgroups | gmane.comp.tex.metapost |
|---|---|
| Message-ID | <BLUPR10MB054814518727A296A50DFF40DC4E0@BLUPR10MB0548.namprd10.prod.outlook.com> |
The standalone mpost program has online error recovery. When I use mplib in LuaTeX I lose that feature. (I use luamplib.sty, and sometimes the error messages stack up and are very difficult to read.) I wonder if it is possible to use interactive mode in Lua. Apparently setting interaction to 'errorstopmode' (which is by default) does not help. (It's working as if in scroll mode - I cannot even let it stop on the first error.) I don't know if it is due to the hard-coded noninteractive=1 in lmplib.c mplib_new(). The comment on that line says it is "required !". So I'm out of luck? Thanks, Rui -- http://tug.org/metapost/