Convert TMML to NROFF manpage format
tclsh $TMMLDIR/tools/tmml-man.tcl ? options... ? filename.xml
tmml-man.tcl reads the TMML file
filename.xml and generates an NROFF man page on standard output.
The following command-line optionars are recognized:
- Tcl man pages use an auxilliary set of NROFF macros
to support various man page conventions.
If the -soelim option is specified,
the man.macros file is copied directly in the output.
By default it is included by reference via a .so man.macros
- If this option is specified,
.VS and .VE macros are inserted
for all TMML elements with a version attribute
greater than or equal to version.
This will display ``change bars'' in the formatted output
around items that have been marked as new.
Version numbers are compared as per package vcompare
- The manual volume title
- The package to which this manpage belongs.
Overrides any package attribute
specified in the document
- The package version
tmml2man assumes that the input file is valid TMML.
Well-formed but invalid documents may lead to strange results.
The -newsince option is only as accurate as the
version attributes specified in the source document.
TMML, nroff, manpage