Skip to main content

The PreTeXt Guide

Subsection 44.7.1 Directory Management

Two directories of additional files need to be specified, as paths relative to the main PreTeXt source file, in order that they can be managed automatically for the construction of various output formats. Study Section 5.6 carefully for the exact details. To set these directories, the
/publication/source/directories
element must have the following two attributes:
  • @external: a directory of files produced independently of your project.
  • @generated: a directory of files produced automatically via PreTeXt tools, from aspects of your PreTeXt source.
It is an error to only specify one of the two directories. It is all or nothing.