User:Esteis/man

From Wiki
< User:Esteis
Revision as of 17:54, 22 March 2013 by Esteis (talk | contribs) (Create overview page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Man pages

These are the XML sources of the various ConTeXt man pages. Please edit any flag descriptions that are not self-explanatory.

Compiling and viewing man pages

The XML comes from XML blobs stored in the mtx-scripts. You can find the scripts in your ConTeXt tree, here:

   $CONTEXTROOT/tex/texmf-context/scripts/context/lua/

To obtain a script's man/xml/html help pages, use mtxrun:

   mtxrun --script fonts --exporthelp=man|xml|html|all

To compile a standalone XML file to man, take the script at User:Esteis/man/xml2man (adapted from trac-exp.lua) and run it on your XML file like so:

   mtxrun --script ./xml2man.lua somexmlfile.xml