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:03:33 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

Am 27.11.2013 11:55, schrieb Trevor Daniels:
Urs Liska wrote Wednesday, November 27, 2013 10:30 AM

I would like to suggest an enhancement in the handling of line breaks
that is useful for copying scores from existing models.

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.
Does this switch cause manually inserted \break etc commands to
be inhibited?
Trevor

No.
It's simply that if the switch is present \originalBreak will output "#{ \break #}", if not it will output "#{ #}".

It also won't inhibit automatic breaking at all. So the user _can_ enter original breaks but doesn't have to provide _all_.

This will work smoothly as long as the user didn't manually set pagebreaking. And the user is still responsible that the staffsize is small enough that everything fits on the lines.

It would be easy to modify \break (etc.) so it only works when the "keep" switch is _not_ present, but this would probably be too intrusive. It would also be possible (and easy) to add another switch like -dignore-manual-breaks, but this may be too much.

Urs



reply via email to

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