Skip to content

Commit

Permalink
Run latexpdf twice to fix TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
maeve-fpf committed Jan 11, 2022
1 parent fc37eff commit a105b90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy/build
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ do_build() {
make html
# Due to remote SVG includes not working (they didn't work on RTD either),
# the LaTeX build will pause and wait for the user to press enter. It will
# also exit with an error status.
# also exit with an error status. Because of this failure, the TOC will
# not be correctly generated on the first run, and we must do it twice.
yes '' | make latexpdf || :
yes '' | make latexpdf || :

mkdir -p build
Expand Down

0 comments on commit a105b90

Please sign in to comment.