Comment #32 on issue 1691 by percival.music.ca: Ugly bars in PDF documents
http://code.google.com/p/lilypond/issues/detail?id=1691
I can break your 2.05 "solution" with the following example.
The problem is that line-width is NOT the same thing as the width of the
image. Until that is addressed, you're stuck with picking random values
that are big enough for "reasonable" line widths. That's do-able for bar
numbers, but how large do you want to hard-code an instrument name? Always
reserve 5cm in case somebody wants to write "Clarinet in B flat" all on one
line? that'll look silly if somebody doesn't use any instrument name.
Always reserve 2cm, and document that nobody is allowed to use longer
instrument names inside lilypond-book? Tell people they need to manually
set an indent=0 or 3 or 10\cm depending on their instrument name?
-----------
\input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
@setfilename LineTest
@settitle PhilTest
@afourpaper
Test Lorem ipsum dolor sit amet, consectetur adipisicing elit.
@lilypond[relative=2]
\repeat unfold 100 { c4 }
@end lilypond
Test Lorem ipsum dolor sit amet, consectetur adipisicing elit.
@lilypond[relative=2]
\set Score.currentBarNumber = 99999999
\repeat unfold 100 { c4 }
@end lilypond
Test Lorem ipsum dolor sit amet, consectetur adipisicing elit.
@bye
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond