## Chapter45The pretext Script
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.