+2005-12-02 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scripts/lilypond-book.py (do_file): fix thinkos.
+
2005-12-01 Jan Nieuwenhuizen <janneke@gnu.org>
* lily/GNUmakefile ($(outdir)/FlexLexer.h):
* ly/titling-init.ly (tagline): it should be a space between
"Music engraving by LilyPond" and the version number.
+2005-12-01 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * VERSION (PACKAGE_NAME): release 2.7.20
+
2005-11-30 Han-Wen Nienhuys <hanwen@xs4all.nl>
* scm/define-markup-commands.scm (pad-to-box): new markup command.
def modify_preamble (chunk):
str = chunk.replacement_text ()
- if (re.search (r"\\begin{document}", str)
+ if (re.search (r"\\begin *{document}", str)
and not re.search ("{graphic[sx]", str)):
str = re.sub (r"\\begin{document}",
r"\\usepackage{graphics}" + '\n'
if format == LATEX:
for c in chunks:
if (c.is_plain () and
- re.search (r"\\begin{document}", c.replacement_text())):
- modify_preamble (chunks[0])
+ re.search (r"\\begin *{document}", c.replacement_text())):
+ modify_preamble (c)
break
ly.progress ('\n')