Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 396a7cf

Browse files
committed
Reverting some the index stuff to use tools/newind.py again; this works
better with LaTeX2HTML. Run pdflatex twice to generate the PDF files, even though LaTeX has already been run a couple of times. This ensures that font metrics for the final run match those for the first run, and seesm to get (somewhat) better outline results.
1 parent a2be988 commit 396a7cf

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ tut-all: tut.dvi tut.pdf tut.ps l2htut
125125
# only free software.
126126
#
127127
.dvi.pdf: $*.bkm
128+
$(PDFLATEX) $*
128129
$(PYTHON) tools/toc2bkm.py $*
129130
$(PDFLATEX) $*
130131

@@ -169,7 +170,8 @@ LIBFILES = lib.tex \
169170

170171
# Library document
171172
lib.dvi: tools/indfix.py $(LIBFILES)
172-
rm -f $*.ind mod$*.ind
173+
tools/newind.py >$*.ind
174+
tools/newind.py modindex >mod$*.ind
173175
$(LATEX) $*
174176
$(MAKEINDEX) mod$*.idx
175177
tools/fix_hack $*.idx
@@ -185,7 +187,7 @@ tut.dvi: tut.tex
185187
# Extending & Embedding, Python/C API documents.
186188
# Done this way to avoid repeated command sets.
187189
.tex.dvi:
188-
rm -f $*.ind
190+
tools/newind.py >$*.ind
189191
$(LATEX) $*
190192
tools/fix_hack $*.idx
191193
$(MAKEINDEX) $*.idx

0 commit comments

Comments
 (0)