Chapter 47 The
Note that this entire chapter documents a lower-level tool for producing output from PreTeXt source. Most authors and publishers should be using the PreTeXt-CLI, see Chapter 5.
XSL is a very powerful language for text processing. However, it cannot do everything. The
pretext/pretextscript is a Swiss Army Knife of sorts to operate on parts of your document and manage processing that requires the application of external programs, such as LaTeX and Sage. It can also produce entire documents in different output formats. Its principal routines are shared with the PreTeXt-CLI.