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
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel