[EMAIL PROTECTED] writes:
> If you have several scores with different linewidth, ly2dvi creates some very faulty
>output.
> Seems like the left margin calculated for the first score is used for all the other
>scores as well.
> You often need a small linewidth -1 introduction to your piece - in which case
>ly2dvi is completely fooled.
try this:
--- ly2dvi.py~ Wed Apr 25 00:26:03 2001
+++ ly2dvi.py Thu Apr 26 22:25:25 2001
@@ -500,10 +500,12 @@
orientation = extra['orientation'][0]
# set sane geometry width (a4-width) for linewidth = -1.
- if not extra['linewidth'] or extra['linewidth'][0] < 0:
+ maxlw = max (extra['linewidth'] + [-1])
+ if maxlw < 0:
+ # who the hell is 597 ?
linewidth = 597
else:
- linewidth = extra['linewidth'][0]
+ linewidth = maxlw
s = s +
'\geometry{width=%spt%s,headheight=2mm,headsep=12pt,footskip=2mm,%s}\n' % (linewidth,
textheight, orientation)
if extra['latexoptions']:
> Is there, by the way, a way to tell ly2dvi how much space to add
> between the scores? - The default is way too big for tinies like
> this.
no, but you could easily add some code to one_latex_definition () to
do this. Left to the reader as an excercise.
--
Han-Wen Nienhuys | [EMAIL PROTECTED] | http://www.cs.uu.nl/~hanwen/
_______________________________________________
Gnu-music-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/gnu-music-discuss