9 May
2011
9 May
'11
10:27 a.m.
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