Hi all,

there’s an issue with s-mod. Consider a test module “t-Test.mkiv”:

··8<·····························································


\startmodule [Test] \unprotect

%M \usemodule[Test] % <-- calling itself in docstring

\startinterface all
  \setinterfacevariable {Test} {testvariable}
\stopinterface

%D Reserving a namespace.

\definenamespace [\v!Test] [
  type=module,
  name=\v!Test,
  parent=\v!Test,
  setup=\v!list,
]

\protect \stopmodule \endinput

··8<·····························································

This fails if processed with “context --ctx=s-mod”, although the
actual module code is fine. (Appears to be a common problem, for
instance t-fancybreak, t-rst, and possibly others are affected.)

Philipp

Attachment: pgpSiKRGFsZ33.pgp
Description: PGP signature

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

Reply via email to