[Lxml-checkins] r54030 - in lxml/trunk: . doc
scoder at codespeak.net
scoder at codespeak.net
Wed Apr 23 07:15:24 CEST 2008
Author: scoder
Date: Wed Apr 23 07:15:24 2008
New Revision: 54030
Modified:
lxml/trunk/ (props changed)
lxml/trunk/doc/mklatex.py
Log:
r4030 at delle: sbehnel | 2008-04-22 23:50:23 +0200
PDF fixes
Modified: lxml/trunk/doc/mklatex.py
==============================================================================
--- lxml/trunk/doc/mklatex.py (original)
+++ lxml/trunk/doc/mklatex.py Wed Apr 23 07:15:24 2008
@@ -213,13 +213,16 @@
# pygments support
master.write(PYGMENTS_IMPORT)
elif hln.startswith(r"\title{"):
- hln = re.sub("\{[^\}]*\}", '{%s}' % book_title, hln)
+ hln = re.sub("\{[^\}]*\}",
+ r'{%s\\\\\\vspace{1em}\\includegraphics{../html/tagpython.png}}' % book_title, hln)
+ elif hln.startswith("pdftitle"):
+ hln = re.sub("\{[^\}]*\}", r'{%s}' % book_title, hln)
master.write(hln)
- master.write("\\tableofcontents\n\n")
+ master.write("\\tableofcontents\n")
for section, text_files in SITE_STRUCTURE:
- master.write("\\part{%s}\n\n" % section)
+ master.write("\n\n\\part{%s}\n" % section)
for filename in text_files:
if filename.startswith('@'):
pass
More information about the lxml-checkins
mailing list