
Hi List, I’m writing a module, and I’m using the template on the wiki: https://wiki.contextgarden.net/ConTeXt_and_Lua_programming/Module_writing/Mo... This template does not have \startmodule…\stopmodule. However, the instructions for module parameters explains, "The module starts, surprisingly enough, with…\startmodule.” https://wiki.contextgarden.net/ConTeXt_and_Lua_programming/Modules/Module_Pa... This content is much older, so maybe it’s just outdated. I think I can make my question multiple choice. Is \startmodule…\stopmodule A. necessary but missing from the template. B. only necessary if passing parameters. C. outdated and not necessary. D. part of a more complicated story. Thanks, Gavin

Hi,
On 5 Mar 2025, at 17:48, Gavin
wrote: Hi List,
I’m writing a module, and I’m using the template on the wiki:
https://wiki.contextgarden.net/ConTeXt_and_Lua_programming/Module_writing/Mo...
This template does not have \startmodule…\stopmodule. However, the instructions for module parameters explains, "The module starts, surprisingly enough, with…\startmodule.”
https://wiki.contextgarden.net/ConTeXt_and_Lua_programming/Modules/Module_Pa...
This content is much older, so maybe it’s just outdated. I think I can make my question multiple choice.
Is \startmodule…\stopmodule A. necessary but missing from the template. B. only necessary if passing parameters. C. outdated and not necessary. D. part of a more complicated story.
As far as I know, the answer is B. Best wishes, Taco
participants (2)
-
Gavin
-
Taco Hoekwater