rinoh¶
Render a structured document to PDF.
usage: rinoh [-h] [-f FORMAT] [-o OPTION=VALUE] [-t NAME or FILENAME]
[-s NAME or FILENAME] [-O FILENAME or DIRECTORY] [-p PAPER] [-i]
[--list-templates] [--list-stylesheets] [--list-fonts [FILENAME]]
[--list-formats] [--list-options FRONTEND] [--version] [--docs]
[input]
- input¶
the document to render
- -h, --help¶
show this help message and exit
- -f <format>, --format <format>¶
the format of the input file (default: autodetect)
- -o <option=value>, --option <option=value>¶
options to be passed to the input file reader
- -t <name or filename>, --template <name or filename>¶
the document template or template configuration file to use (default: article)
- -s <name or filename>, --stylesheet <name or filename>¶
the style sheet used to style the document elements (default: the template’s default)
- -O <filename or directory>, --output <filename or directory>¶
write the PDF output to FILENAME or to an existing DIRECTORY with a filename derived from the input filename (default: the current working directory)
- -p <paper>, --paper <paper>¶
the paper size to render to (default: the template’s default)
- -i, --install-resources¶
automatically install missing resources (fonts, templates, style sheets) from PyPI
- --list-templates¶
list the installed document templates and exit
- --list-stylesheets¶
list the installed style sheets and exit
- --list-fonts <filename>¶
list the installed fonts or, if FILENAME is given, write a PDF file displaying all the fonts
- --list-formats¶
list the supported input formats and exit
- --list-options <frontend>¶
list the options supported by the given frontend and exit
- --version¶
show program’s version number and exit
- --docs¶
open the online documentation in the default browser