ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \startinterface and module documentation
@ 2010-08-19 18:04 Wolfgang Schuster
  0 siblings, 0 replies; only message in thread
From: Wolfgang Schuster @ 2010-08-19 18:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

  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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-19 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-19 18:04 \startinterface and module documentation Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).