User:Esteis/man
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 original script files 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
To view a local man page on your Linux/Unix system:
man ./somemanfile.man