[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lilypond-book crash (was: Re: line breaking in lilypond-book)
From: |
Han-Wen Nienhuys |
Subject: |
lilypond-book crash (was: Re: line breaking in lilypond-book) |
Date: |
Tue, 12 Jun 2001 10:31:07 +0200 |
address@hidden writes:
> So I tried changing the line width to 400 pt instead of 390 with the
> geometry package, and lilypond-book crashed on me:
>
[..]
> NameError: There is no variable named 'dim'
>
Thanks for the report, try this
--- lilypond-book.py~ Thu May 17 11:37:54 2001
+++ lilypond-book.py Tue Jun 12 10:31:26 2001
@@ -192,7 +192,7 @@
def __setattr__(self, name, value):
if type(value) == type("") and \
dimension_conversion_dict.has_key (value[-2:]):
- f =
dimension_conversion_dict[dim]
+ f = dimension_conversion_dict[value[-2:]]
self.__dict__[name] = f(float(value[:-2]))
else:
self.__dict__[name] = value
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen/