+2006-03-30 Han-Wen Nienhuys <hanwen@lilypond.org>
+
+ * lily/ttf.cc (print_trailer): don't always use uXXX glyphname.
+
+ * scripts/lilypond-book.py (Module): set default for linewidth if
+ preamble not found.
+
2006-03-29 Han-Wen Nienhuys <hanwen@lilypond.org>
* VERSION (PACKAGE_NAME): release 2.9.0.
# Do we need anything else besides `textwidth'?
def get_latex_textwidth (source):
m = re.search (r'''(?P<preamble>\\begin\s*{document})''', source)
+ if m == None:
+ warning (_ ("Can't find \\begin{document} in LaTeX document"))
+
+ ## what's a sensible default?
+ return 550.0
+
preamble = source[:m.start (0)]
latex_document = LATEX_INSPECTION_DOCUMENT % vars ()