Author instructions:
- Follow instructions at https://pretextbook.github.io/pretext-cli/installation.html to install PreTeXt-CLI on your machine
- Edit source PTX/XML files in the
source
subdirectory. - Run
pretext build
on the command-line to build HTML intooutput/html
and copy contents ofsource/images
intooutput/html/images
. - Run
cp -r source/pdf output/html
to copy PDFs tooutput/html/pdf
.- The contents of
output
are.gitignore
d to keep your repo clean.
- The contents of
- Copy the contents of
output/html
to your server to host your book.