pdf:
	# run pdflatex twice to generate TOC correctly
	pdflatex -halt-on-error main.tex
	pdflatex -halt-on-error main.tex
	mv main.pdf guide.pdf