Shortcut 5.2.5.3.
You can also generate assets and build at the same time, using
pretext build -g web
which will generate all assets for the target named “web”.pretext generate
<latex-image>
, <sageplot>
, and <asymptote>
images, as well as previews for embedded youtube videos or interactive elements. We call these elements “assets” or “generated assets”. To generate the assets, run the following command.$ pretext generate
pretext build -g web
which will generate all assets for the target named “web”.-t
flag, as in, for the target named “print”,$ pretext generate -t print
<latex-image>
elements, you can just generate these (for the first target in the manifest) with,$ pretext generate latex-image
webwork
, latex-image
, sageplot
, asymptote
, interactive
, youtube
, codelense
, and datafile
.@xml:id
, you can generate just that element using the -x
flag. For example, if your <latex-image>
has id “img-circle”, generate it with,$ pretext generate -x img-circle
--all-formats
flag.