[NTG-context] \startinterface and module documentation

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Aug 19 20:04:17 CEST 2010


  Hi Hans,

there is a clash between \startinterface from mult-ini to set constants 
and variables
and module documentation. The file s-mod-02.tex defines a paragraphe 
environment with
the same name and as a result of this it's not possible to use a module 
in it's docu
for examples.

Run this example with 'context --ctx=s-mod foo.tex' to reproduce it:

<foo.tex>
%M \usemodule[foo]

\unprotect

\startinterface all
   \setinterfacevariable {foo} {foo}
\stopinterface

\v!foo % should give 'foo' but '\v!foo' is undefined

\protect \endinput
</foo.tex>

Wolfgang



More information about the ntg-context mailing list