Kaydet (Commit) 396a7cfb authored tarafından Fred Drake's avatar Fred Drake

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.
üst a2be9881
...@@ -125,6 +125,7 @@ tut-all: tut.dvi tut.pdf tut.ps l2htut ...@@ -125,6 +125,7 @@ tut-all: tut.dvi tut.pdf tut.ps l2htut
# only free software. # only free software.
# #
.dvi.pdf: $*.bkm .dvi.pdf: $*.bkm
$(PDFLATEX) $*
$(PYTHON) tools/toc2bkm.py $* $(PYTHON) tools/toc2bkm.py $*
$(PDFLATEX) $* $(PDFLATEX) $*
...@@ -169,7 +170,8 @@ LIBFILES = lib.tex \ ...@@ -169,7 +170,8 @@ LIBFILES = lib.tex \
# Library document # Library document
lib.dvi: tools/indfix.py $(LIBFILES) lib.dvi: tools/indfix.py $(LIBFILES)
rm -f $*.ind mod$*.ind tools/newind.py >$*.ind
tools/newind.py modindex >mod$*.ind
$(LATEX) $* $(LATEX) $*
$(MAKEINDEX) mod$*.idx $(MAKEINDEX) mod$*.idx
tools/fix_hack $*.idx tools/fix_hack $*.idx
...@@ -185,7 +187,7 @@ tut.dvi: tut.tex ...@@ -185,7 +187,7 @@ tut.dvi: tut.tex
# Extending & Embedding, Python/C API documents. # Extending & Embedding, Python/C API documents.
# Done this way to avoid repeated command sets. # Done this way to avoid repeated command sets.
.tex.dvi: .tex.dvi:
rm -f $*.ind tools/newind.py >$*.ind
$(LATEX) $* $(LATEX) $*
tools/fix_hack $*.idx tools/fix_hack $*.idx
$(MAKEINDEX) $*.idx $(MAKEINDEX) $*.idx
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment