Hi, MKII uses \doifnotmode{demo}{\endinput} to enter the demo mode in modules. I see that MKIV now switched to \continueifinputfile{s-something.mkiv} The question arises: What should I suggest to a module writer for a relatively simple file that doesn't use any MKIV features and provides just the module file t-something.tex? Is it OK to keep using "\doifnotmode{demo}{\endinput}" also in MKIV? Thank you, Mojca
On 5/30/2016 1:16 PM, Mojca Miklavec wrote:
Hi,
MKII uses \doifnotmode{demo}{\endinput} to enter the demo mode in modules.
I see that MKIV now switched to \continueifinputfile{s-something.mkiv}
The question arises: What should I suggest to a module writer for a relatively simple file that doesn't use any MKIV features and provides just the module file t-something.tex?
Is it OK to keep using "\doifnotmode{demo}{\endinput}" also in MKIV?
sure but \continueifinputfile is easier as you then can just process the (module) file directly without bothering about a mode (and a potential clash) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Mojca Miklavec