Browse Source

Update/fix command used to build pdfs

Samuel W. Flint 4 years ago
parent
commit
16824d11a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      makehandouts

+ 2 - 2
makehandouts

@@ -33,8 +33,8 @@ if [ -n "$1" ]; then
  echo "	pdf90 $1-handout.pdf --outfile $1-handout1up.pdf" >> /tmp/makefile
  echo " " >> /tmp/makefile
  echo "$1-handout.pdf:	$1-handout.tex" >> /tmp/makefile
- echo "	pdflatex $1-handout" >> /tmp/makefile
- echo "	pdflatex $1-handout" >> /tmp/makefile
+ echo "	latexmk -pdflua $1-handout" >> /tmp/makefile
+ echo "	latexmk -pdflua $1-handout" >> /tmp/makefile
  echo " " >> /tmp/makefile
  echo "$1-handout.tex:	$1.tex" >> /tmp/makefile
  echo "	sed -e 's/\\documentclass\[/\documentclass[handout,notes,/g' -e 's/\\documentclass{/\documentclass[handout,notes]{/g' $1.tex > $1-handout.tex" >> /tmp/makefile