Skip to main content

The PreTeXt Guide

Chapter 47 The pretext Script

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/pretext script 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 and Sage. It can also produce entire documents in different output formats. Its principal routines are shared with the PreTeXt-CLI.