plasTeX 3.0 — A Python Framework for Processing LaTeX Documents

2.1.2 Document Properties

Base URL


Command-Line Options: --base-url=url
Config File: [ document ] base-url
specifies a base URL to prepend to the path of all links.

Number of Columns in the Index


Command-Line Options: --index-columns=integer
Config File: [ document ] index-columns
specifies the number of columns to group the index into.

Language terms


Command-Line Options: --lang-terms string1 string2 …
Config File: [ document ] lang-terms
specifies a list of files that contain language terms

Section number depth


Command-Line Options: --sec-num-depth=integer
Config File: [ document ] sec-num-depth
Default: 6
specifies the section level depth that should appear in section numbers. This value overrides the value of the secnumdepth counter in the document.

Title for the document


Command-Line Options: --title=string
Config File: [ document ] title
specifies a title to use for the document instead of the title given in the LaTeX source document

Table of contents depth


Command-Line Options: --toc-depth=integer
Config File: [ document ] toc-depth
specifies the number of levels to include in each table of contents.

Display sections in the table of contents that do not create files


Command-Line Options: --toc-non-files
Config File: [ document ] toc-non-files
specifies that sections that do not create files should still appear in the table of contents. By default, only sections that create files will show up in the table of contents.

Disable character substitutions


Command-Line Options: --disable-charsub
Config File: [ document ] disable-charsub
specifies a list of characters not to perform character substitutions on. Character substitutions replace certain characters or groups of characters with typographically superior unicode versions, e.g. with ‘. This may be unsuitable for certain use cases. For example, it may make search harder.