[NTG-context] How to start the demo in modules

Hans Hagen pragma at wxs.nl
Mon May 30 18:59:38 CEST 2016


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
-----------------------------------------------------------------


More information about the ntg-context mailing list