"Shamus" <[EMAIL PROTECTED]> writes:
> linewidth = extra['linewidth'][0]
> IndexError: list index out of range
Thanks, this will be fixed in 144. You can edit ly2dvi according to:
--- scripts/ly2dvi.py~ Sun Mar 25 23:51:00 2001
+++ scripts/ly2dvi.py Mon Mar 26 14:11:23 2001
@@ -388,9 +392,10 @@
orientation = extra['orientation'][0]
# set sane geometry width (a4-width) for linewidth = -1.
- linewidth = extra['linewidth'][0]
- if linewidth < 0:
+ if not extra['linewidth'] or extra['linewidth'][0] < 0:
linewidth = 597
+ else:
+ linewidth = extra['linewidth'][0]
s = s + '\geometry{width=%spt%s,headheight=2mm,headsep=0pt,footskip=2mm,%s}\n'
% (linewidth, textheight, orientation)
s = s + r'''
--
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
_______________________________________________
Gnu-music-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/gnu-music-discuss