XMLROFF(1)
β¨ XMLROFF(1) β¨
okay bestie, welcome to the manual page for xmlroff β yes, that's the whole manual name, she's from section 1 of the Unix manuals, and she's about to become your new obsession π
πΈ NAME πΈ
xmlroff β an XSL formatter. that's it, that's the name, short and iconic π
π¦ SYNOPSIS π¦
xmlroff [-o output-file] [--format {auto | pdf | postscript}]
[--backend {gp | cairo}] [--continue] [-? | --help] [--compat |
--nocompat] [--compat-stylesheet] [--valid | --novalid] [-v |
--version] [-w warning-mode] [-d debug-mode] file [stylesheet]
π DESCRIPTION π
so xmlroff is a free, fast and high-quality XSL formatter, and honestly? she's so useful for DocBook formatting. like, that's her whole thing. she produces PDF or PostScript output, and she integrates easily with other programs and with scripting languages β she plays nice with everybody, we love a collaborative queen π«Ά
here's how she works: xmlroff processes the XML-FO file. and if you want, an arbitrary XML file can optionally be first transformed via a specified XSLT stylesheet. yes bestie, you can bring your own stylesheet to the party π
π OPTIONS π
-vβ show version information. say hi, tell me who you are π-?,--helpβ show the help message. when in doubt, ask for help, no shame in it β¨-ooutput-file β specify the output filename. and listen, if you don't pass this option, the default oflayout.pdfgets used, so don't be shocked when alayout.pdfjust shows up in your folder π-ddebug-mode β specify debug mode. for when you need to see what's actually going on inside π₯-wwarning-mode β specify warning mode. she's warning you, bestie, listen to her β--format {auto | pdf | postscript}β specify the format of the output file. the default isauto, which picks the format based on the extension of the output filename. soautois basically the friend who reads the room and adapts π--backend {gp | cairo}β specify the backend used to produce the output file. the default is GNOME print (gp). two backends, two vibes, pick your fighter π--compat,--nocompatβ do, or do not, pre-process the input file with an internal compatibility stylesheet. the default is--compat. so by default she's doing the pre-processing, okay? π--compat-stylesheetβ prints the internal compatibility stylesheet, then exits. she just shows you the goods and dips, main character exit π§--continueβ continue after any formatting errors. she does not give up on you, not ever π--valid,--novalidβ do, or do not, load the DTD. the default is--novalid. so heads up, by default she is not loading that DTD π
π REPORTING BUGS π
found a bug? report it at http://xmlroff.org/newticket β that's http://xmlroff.org/newticket in case you need it twice, which the page does give you twice, so here it is twice π«Ά
π SEE ALSO π
xsltproc(1) β go read that one too, bestie, she's part of the family π
π AUTHOR π
Tony Graham β the icon behind it all, thank you for your service π
ok that's the whole page, no notes, go forth and format β¨
and that's a wrap on the xmlroff(1) page, bestie π the header up top says XMLROFF(1) and the footer down at the bottom says XMLROFF(1) too, and ngl there's no extra source or version or date line in there for me to spill β so that's the tea, periodt πΈ
π¦ where this page comes from
- ubuntu jammy: xmlroff 0.6.2-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms