[ctx] s-mod fails with self-referential modules
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
Am 09.05.2011 um 12:27 schrieb Philipp Gesang:
Hi all,
there’s an issue with s-mod. Consider a test module “t-Test.mkiv”:
http://archive.contextgarden.net/message/20100819.180417.23069654.en.html Wolfgang
On 2011-05-09 <12:33:09>, Wolfgang Schuster wrote:
Am 09.05.2011 um 12:27 schrieb Philipp Gesang:
Hi all,
there’s an issue with s-mod. Consider a test module “t-Test.mkiv”:
http://archive.contextgarden.net/message/20100819.180417.23069654.en.html
Interesting. I knew this couldn’t possibly have escaped you -- the search on archive.contextgarden.net just doesn’t return this message when asked for “s-mod” ... Regards, Philipp
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 ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
participants (2)
-
Philipp Gesang
-
Wolfgang Schuster