[NTG-context] new features

Hans Hagen pragma at wxs.nl
Thu Jun 26 12:08:34 CEST 2014


Hi,

(mostly for Thomas)

In the next beta:

When you include files in another file (using xmlinclude) we now 
register what gets included. There are two new commands:

\xmlinclusion{#1}  : the current inclusion
\xmlinclusions{#1} : a list of inclusions

the first one backtracks till it find a name and the second one will 
locate the root if needed. This option can be handy for tracing (i.e. 
seeing where input comes from).

Another addition is that

\definemode[something][keep]

define an undefined mode; the keep makes sure that the already set value 
is kept (another option is 'yes').

Using defined modes (that is, set with: \enabledmode, \disablemode or 
\definemode) can be tested about twice as fast as undefined modes which 
can make a small difference when modes are tested lots of times.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list