lilypond-devel
[Top][All Lists]
Advanced

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

Re: Suggestion: Keep original breaks


From: Urs Liska
Subject: Re: Suggestion: Keep original breaks
Date: Wed, 27 Nov 2013 12:06:49 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

Am 27.11.2013 11:48, schrieb David Kastrup:
Urs Liska <address@hidden> writes:

I would like to suggest an enhancement in the handling of line breaks
that is useful for copying scores from existing models.
Currently LilyPond can decide about breaks herself or we can manually
force or prevent breaks.
But when copying from or proof-reading against an existing score it is
practical to have the original breaks present for this stage but not
for the actual resulting score.
Therefore I suggest a new set of commands \originalBreak,
\originalPageBreak and \originalPageTurn that make this process more
automatic by conditionally outputting the respective break or nothing,
depending on the presence of a switch.

I suggest a command line option -dkeep-original-breaks for this
switch. That way the user can add that option for a compilation or
write "#(ly:set-option 'keep-original-breaks)" in the input file.

I have a patch that does this and works well.
If you agree that this is a useful idea and don't have better ideas
about naming or how the switch is implemented I would add the
respective documentation and upload the patch for review.

Any opinions?
Don't see the point.  That's what tags are for, and you'll need them
anyway for other "as original" vs "our score" material.


Of course I can achieve the same with tags. But there will be many instances where I don't "need them anyway" because I don't really care about the state of the original score except for this simplification while inputting/proofing.

Using tags requires more munging of the input file, which for example might pollute diffs when versioning scores. With the command line switch I can simply wrap the call to lilypond in a custom script or make it a checkbox in Frescobaldi's Layout Control Options.

Urs



reply via email to

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