Originally created by: *anonymous
Originally created by: v.villenave
% In this example, keep-inside-line only works on the last line
:::TeX
\version "2.11.44"
gpl =
\markup {
\override #'(line-width . 40)
\box
\justify-string
#"If you want to redistribute LilyPond, you must comply with the GNU
General Public License (reproduced below). This license applies to
LilyPond with the following exceptions:"
}
\new Score \with {
\override PaperColumn #'keep-inside-line = ##t
}{
b1 b b b b b b b b r1^\markup \gpl b \break
b b b b b b b b \mark \markup \gpl b \break
b b b b b b b b b b b^\markup \gpl b \break
}
Issues: #160
Issues: #436
Issues: #637
Issues: #997
Originally posted by: v.villenave
Actually, the second line of my example is irrelevant (it's a different limitation,
also annoying but less easily fixable).
Correct code should be:
% keep-inside-line doesn't work as you can see.
Summary: wrong placement of \markup on MultiMeasureRest
Last edit: Simon Albrecht 2015-09-27
Originally posted by: n.putt...@gmail.com
Hi Valentin,
I'm unsure whether this is a bug, since text attached to MultiMeasureRest grobs is
handled by MultiMeasureRestText. Your snippet works if you attach the markup text to
a skip:
It's not really ideal that you have to use skips in this case, but it is documented
under Rehearsal marks.
Regards,
Neil
Last edit: Simon Albrecht 2015-09-27
Originally posted by: v.villenave
Yes indeed. However, I still do think it's a bug (or at least, a needed improvement)
that MultiMeasureRestTexts aren't taken into account by PaperColumn #'keep-inside-line.
The workaround is certainly convenient and well documented, but it's still a
workaround. Therefore I'm keeping the issue open, but marking it as an Enhancement,
and changing the priority to Low.
Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low
Originally posted by: pkx1...@gmail.com
The results of 2.15.15 are attached.
Attached to skips (workaround) and without skips (Ugly)
Labels: -Type-Enhancement -Priority-Low Type-Ugly
Owner: ---
Bug persists in 2.19.27. With
I get the attached result.
keep-inside-line is true by default, so the override is superfluous.
Note that the bug appears only with R (MMR), not with r (Rest).
Last edit: Simon Albrecht 2015-09-27
Diff: