Hi, LuaTeX raises "Missing primitive name" error for the following: \primitive\NONE \end PDFTeX (\pdfprimitive) and XeTeX (\primitive) simply ignores non-primitive, as the PDFTeX manual says
This command executes the primitive meaning of the following control sequence, regardless of whether the control sequence has been redefined or made undefined. If the primitive was expandable, \pdfprimitive expands also. On the other hand, if the following control sequence never was a primitive, nothing happens and no error is raised. (In some versions of pdfTEX prior to 1.40.19, an error was wrongly given.)
Hironobu Yamashita
On 4/28/2018 3:45 PM, Hironobu Yamashita wrote:
Hi,
LuaTeX raises "Missing primitive name" error for the following:
\primitive\NONE \end
PDFTeX (\pdfprimitive) and XeTeX (\primitive) simply ignores non-primitive, as the PDFTeX manual says
This command executes the primitive meaning of the following control sequence, regardless of whether the control sequence has been redefined or made undefined. If the primitive was expandable, \pdfprimitive expands also. On the other hand, if the following control sequence never was a primitive, nothing happens and no error is raised. (In some versions of pdfTEX prior to 1.40.19, an error was wrongly given.)
\suppressprimitiveerror = 1 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 4/28/2018 4:13 PM, Hironobu Yamashita wrote:
Hi Hans,
\suppressprimitiveerror = 1
Thanks; Now that pdfTeX/XeTeX defaults to suppressing the error, isn't it better to change the default value to 1? we don't follow these engines, but a format can default this value to 1 of course (esp if we can debate what default behavious is cq. when that changes in other engines); in fact, in most cases in luatex we just make something an option via a parameter
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Hironobu Yamashita