[EMAIL PROTECTED] writes:
> I have a problem using geometry package with lilypond-book. Documentation
> says that "lilypond-book know about geometry package", but anyhow I use it
> I get following error:

It's not related to geometry package. Apparently, lilypond-book can't
find a \documentclass declaration. With this patch it won't crash,
but Latex documents really should have \documentclass.

--- lilypond-book.py~   Tue Nov 20 18:21:13 2001
+++ lilypond-book.py    Thu Dec 13 12:29:30 2001
@@ -614,7 +614,7 @@
                        idx = idx + 1
                        continue
                m = get_re ('header').match(chunks[idx][1])
-               if m.group (1):
+               if m and m.group (1):
                        options = re.split (',[\n \t]*', m.group(1)[1:-1])
                else:
                        options = []


-- 

Han-Wen Nienhuys   |   [EMAIL PROTECTED]    | http://www.cs.uu.nl/~hanwen/


_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to