Section 7.8 Publisher Files, String Parameters
A publisher file (Section 27.1) can be used to control various options that are independent of the authoring process, or for some conversions may be necessary. Use the
-p switch to specify this file.
Sometimes you might have need to pass stringparams to the PreTeXt script, though this will eventually be something an author will rarely do, and is more likely necessary for developers. This is accomplished with the
-x flag, followed by a space separated list of (stringparam, value) pairs. Do not use parentheses, just separate with spaces. But note that
-x cannot be the last option passed to the script since it makes it hard for the script to “see” the filename for your source.
pretext -vv -x debug.datedfiles no debug.chunk 0 -f html -c all -d /tmp/aota-html ~/books/aota/animals.xml