From cf1efc7f0f97f272645af93491ca890137df3704 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Sat, 21 May 2016 13:20:15 +0200 Subject: users-guide: Fix index in PDF output The madness that is latex never ceases to amaze. --- rules/sphinx.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rules') diff --git a/rules/sphinx.mk b/rules/sphinx.mk index 823a2af06d..f3c46b449f 100644 --- a/rules/sphinx.mk +++ b/rules/sphinx.mk @@ -60,6 +60,10 @@ $1/$2.pdf: $1/conf.py $$($1_RST_SOURCES) $(SPHINXBUILD) -b latex -d $1/.doctrees-pdf $(SPHINXOPTS) $1 $1/build-pdf/$2 cd $1/build-pdf/$2 ; xelatex $2.tex cd $1/build-pdf/$2 ; xelatex $2.tex + cd $1/build-pdf/$2 ; xelatex $2.tex + cd $1/build-pdf/$2 ; makeindex $2.idx + cd $1/build-pdf/$2 ; xelatex $2.tex + cd $1/build-pdf/$2 ; xelatex $2.tex cp $1/build-pdf/$2/$2.pdf $1/$2.pdf endif -- cgit v1.2.1