lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ly2dvi --preview bug in LilyPond 1.7?


From: Jan Nieuwenhuizen
Subject: Re: ly2dvi --preview bug in LilyPond 1.7?
Date: 07 Jun 2003 18:22:49 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Chris Sawer <address@hidden> writes:

> I've been compiling some Mutopia submissions with LilyPond 1.7 recently, and
> have found that 'ly2dvi --preview' doesn't appear to be working properly in
> the most recent versions, including 1.7.20.

Indeed, that looks like a bug.  I've added the fix below to CVS, thanks.


> What would be even better is if one of these images was produced for each
> "section" of the .ly file (I'm not sure of the proper name for these
> sections), in the same way that a MIDI file is produced for each section. I
> don't know if this is easily achievable, though.

I had a look at it, ly2dvi's juggling of output files is a bit messy.
If the website builds, I'll put it in CVS.

Jan.

--- lilyponddefs.tex.~1.93.~    2002-12-09 00:01:01.000000000 +0100
+++ lilyponddefs.tex    2003-06-07 17:43:50.000000000 +0200
@@ -174,10 +174,12 @@
   {\gdef\lilypondpaperinterscorelinefill{0}}
   {\gdef\lilypondpaperinterscorelinefill{1}}
 
-\gdef\interscoreline{
+%% Allow overriding of interscoreline, eg for ly2dvi --preview
+\lilypondifundefined{interscoreline}
+{\gdef\interscoreline{
   \vskip \lilypondpaperinterscoreline \lilypondpaperunit
     plus \lilypondpaperinterscorelinefill fill
-}
+}}{}
 
 % Are we using PDFTeX?  If so, use pdf definitions.
 % MiKTeX checks \pdfoutput the wrong way, thus we use \csname.


-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]