[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lilypond-book and geometry package
From: |
Han-Wen Nienhuys |
Subject: |
lilypond-book and geometry package |
Date: |
Thu, 13 Dec 2001 12:31:32 +0100 |
address@hidden 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 | address@hidden | http://www.cs.uu.nl/~hanwen/