Skip to main content

Section 3.1 Processing Parameters

Many of the options for different conversions are accomplished by command-line options, which are fed to xsltproc by what that program calls string parameters. Here are two examples:

xsltproc -stringparam html.knowl.example no mathbook-html.xsl fauna.xml
xsltproc -stringparam latex.font.size 14pt mathbook-latex.xsl fauna.xml

The first will make <example> content render on a page, rather than hidden in a knowl, which is the default for a conversion to HTML. And the second will use a larger overall font size, while trying to preserve the same number of characters per line (with consequent smaller margins).

Notice that these two examples do nothing to change the words that a conversion produces, which is why you do not specify them in your source, and why they are documented here in the Publisher's Guide. They are conversion options that do not affect your content in significant ways, and are related to the particular output format.