plasTeX 3.0 — A Python Framework for Processing LaTeX Documents

2.1 Command-Line and Configuration Options

There are many options to plastex that allow you to control things input and output file encodings, where files are generated and what the filenames look like, rendering parameters, etc. While plastex is the interface where the options are specified, for the most part these options are simply passed to the parser and renderers for their use. It is even possible to create your own options for use in your own Python-based macros and renderers (see in particular Section 5.1.2). The following options are currently available on the plastex command. They are categorized for convenience.

Note that some commands such as --link and --lang-terms take in a list of arguments. If this is the last option supplied, you would have to separate the filename from the list of arguments, e.g.

plastex --lang-terms foo bar -- input.tex

The plasTeX command line and configuration supports interpolation. That is, in options whose value is a string (or a list of strings), we replace all instances of %(foo)s with the value of the option foo. The formatting is done with pythons %-formatting and all %-formatting features are supported. Note that we only specify the name of the option, and not the section it belongs to.

Interpolation is performed each time a configuration option is accessed.