ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [ctx] s-mod fails with self-referential modules
@ 2011-05-09 10:27 Philipp Gesang
  2011-05-09 10:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Gesang @ 2011-05-09 10:27 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 911 bytes --]

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 #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: [ctx] s-mod fails with self-referential modules
  2011-05-09 10:27 [ctx] s-mod fails with self-referential modules Philipp Gesang
@ 2011-05-09 10:33 ` Wolfgang Schuster
  2011-05-09 10:42   ` Philipp Gesang
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-05-09 10:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 228 bytes --]


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


[-- Attachment #1.2: Type: text/html, Size: 604 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: [ctx] s-mod fails with self-referential modules
  2011-05-09 10:33 ` Wolfgang Schuster
@ 2011-05-09 10:42   ` Philipp Gesang
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Gesang @ 2011-05-09 10:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1141 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2011-05-09 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-09 10:27 [ctx] s-mod fails with self-referential modules Philipp Gesang
2011-05-09 10:33 ` Wolfgang Schuster
2011-05-09 10:42   ` Philipp Gesang

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).