Skip to main content

The PreTeXt Guide

Subsection 2.2.5 Generating assets

If your document contains certain elements, you might need to generate their assets for use in certain output formats. Depending on your build target, these include:
  • <latex-image>
  • <sagemath>
  • <asymptote>
  • <youtube>
  • <webwork>
  • <codelens>
You can generate assets in much the same way you run a build, though you may need to first install some extra software. You will see a Generate option in the PreTeXt command dialog, just below Build. Select your target and wait for the process to complete, then Build once more to incorporate your generated assets.