Hallo Wolfgang, thank you for your reply. It looks already promising, however I get the following error and I do not know how to fix: Running context --ctx=s-mod t-pocketdiary.tex ! String contains an invalid utf-8 sequence. l.113 ? \dodotypeblockverbatim ..., nature = "display", }} \dostoptagged \endofverbat... l.152 \stopdefinition When looking at s-mod-00.mkiv it appears that the \startdefinition macro is only available in mode [nocode] Commenting the \startmode[nocode] and \stopmode does not solve the problem: Runaway argument? \setvari[PocketDiaryColo\ETC. ! File ended while scanning use of \dododowithbuffer. <inserted text> \par \inputgivenfile #1->\normalinput {#1} \doreadfileyes ...x \inputgivenfile \readfilename \relax \the \everyafterrea... l.2 \readfile{t-pocketdiary.tex.prep}{}{} Looking at the *.tex.prep file it does not appear that there is something wrong with it. I am also a bit surprised about the error message in the line after the Runaway argument?. The command is crippled: it should be \setvariables Puzzled, kind regards Willi On 12 Jan 2011, at 23:23, Wolfgang Schuster wrote:
Am 12.01.2011 um 21:11 schrieb Willi Egger:
Hi,
I would like to finalize my module... I still got a couple of questions:
1. How is the module documentation compiled?
context --ctx=s-mod <mymodule>
with “--mode=nocode” you can hide the source and output only the documentation
2. How is a module packaged for uploading?
zip file with tds structure
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 ___________________________________________________________________________________