[Lxml-checkins] r54108 - in lxml/trunk: . doc

scoder at codespeak.net scoder at codespeak.net
Thu Apr 24 22:04:33 CEST 2008


Author: scoder
Date: Thu Apr 24 22:04:32 2008
New Revision: 54108

Modified:
   lxml/trunk/   (props changed)
   lxml/trunk/Makefile
   lxml/trunk/doc/mklatex.py
Log:
 r4059 at delle:  sbehnel | 2008-04-24 16:49:37 +0200
 fix page numbers


Modified: lxml/trunk/Makefile
==============================================================================
--- lxml/trunk/Makefile	(original)
+++ lxml/trunk/Makefile	Thu Apr 24 22:04:32 2008
@@ -66,7 +66,9 @@
 
 pdf: apipdf
 	$(PYTHON) doc/mklatex.py doc/pdf . ${LXMLVERSION}
-	(cd doc/pdf && pdflatex lxmldoc.tex && pdflatex lxmldoc.tex)
+	(cd doc/pdf && pdflatex lxmldoc.tex \
+		    && pdflatex lxmldoc.tex \
+		    && pdflatex lxmldoc.tex)
 	@pdfopt doc/pdf/lxmldoc.pdf doc/pdf/lxmldoc-${LXMLVERSION}.pdf
 	@echo "PDF available as doc/pdf/lxmldoc-${LXMLVERSION}.pdf"
 

Modified: lxml/trunk/doc/mklatex.py
==============================================================================
--- lxml/trunk/doc/mklatex.py	(original)
+++ lxml/trunk/doc/mklatex.py	Thu Apr 24 22:04:32 2008
@@ -280,6 +280,7 @@
                 r'{%s}' % book_title, hln)
         master.write(hln)
 
+    master.write("\\setcounter{page}{2}\n")
     master.write("\\tableofcontents\n")
 
     for section, text_files in SITE_STRUCTURE:


More information about the lxml-checkins mailing list