[NTG-context] Autogenerating a module's documentation

Mohammad Hossein Bateni bateni at gmail.com
Sun May 1 23:23:37 CEST 2016


Hello list,

Has anyone managed to generate documentation for lua files recently?
According to wiki/Module <http://wiki.contextgarden.net/Modules>, something
like the following should work:

context --ctx=x-ldx core-con.lua

But it only produces core-con.lua.prep and not the PDF file.  In fact, it
seems to work on the prep file and compile a core-con.lua.prep.prep which
escapes even the XML tags of the prep file.  Probably some switch changed
and the ctx file was not updated, so it just doesn't know how to deal with
the prep file properly?

On the other hand, the command to get PDF documentation out of TeX files
does work and produces (albeit with some errors at times) the final
documentation.

context --ctx=s-mod core-con.mkiv

Thanks!
—MHB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160501/c9bd9356/attachment.html>


More information about the ntg-context mailing list