bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1691 in lilypond: Ugly bars in PDF documents


From: lilypond
Subject: Re: Issue 1691 in lilypond: Ugly bars in PDF documents
Date: Fri, 19 Aug 2011 16:09:11 +0000


Comment #37 on issue 1691 by address@hidden: Ugly bars in PDF documents
http://code.google.com/p/lilypond/issues/detail?id=1691

Actually, the problem has nothing to do with the missing quote. E.g. simply try this trivial snippet: (which has the quote and the verbatim, and still produces overfull hboxes)

\input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
@setfilename LineTest
@settitle PhilTest
@afourpaper

still problem:

@lilypond[verbatim,quote]
\repeat unfold 50 { c4 }
@end lilypond

@bye


It's actually a very general problem of lilypond-book. The reason why you are not seeing it with @lilypond[verbatim,quote,relative=1] is that relative=1 for some very strange reason also sets ragged-right=##t, so none of the lines will use the full line-width (which is wider than the latex width!) and therefore you won't see the bars. I don't think that this is actually intended (why should relative imply ragged-right????). So, you are seeing a perfect example of two lilypond-book bugs offsetting each other:
  Bug 1: lilypond-book uses a line-width that is too large
Bug 2: relative implies ragged-right, which will not use the full allowed width in most cases.




reply via email to

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