[Top][All Lists]

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

Re: lilypond-book and srcltx

From: Han-Wen Nienhuys
Subject: Re: lilypond-book and srcltx
Date: Sat, 03 Dec 2005 14:09:58 +0100
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Erik Sandberg wrote:

I'm attempting to use srcltx with my lilypond-book creations (to enable point-and-click / inverse search). I'm having one problem with it: lilypond-book modifies the number of lines in lilypond blocks, so the backward references to the source files are broken.

I have created a workaround that's good enough for myself. My solution is to strip all newlines from the code inserted by lilypond-book, and to add as many newlines that the original .ly code contained. The fix has the benefit that srcltx works well with it, and it has the drawback that lilypond-book's output .tex files become less readable.

Do you find it sensible to backport this fix to the official lilypond-book script?

Yes, but put the alternative (with line breaks) behind a switch to appease us debuggers.

 Han-Wen Nienhuys - address@hidden -

reply via email to

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