Am Saturday, 20. August 2011, 06:25:26 schrieben Sie:
> Comment #41 on issue 1691 by percival.music.ca: Ugly bars in PDF documents
> http://code.google.com/p/lilypond/issues/detail?id=1691
> 
> Trevor reminded us (by email) that lilypond automatically sets
> ragged-right=##t if the music is less than a full line.  This might be the
> behavior Reinhold was seeing.  If he was seeing it in a different context,
> then this sounds like another bug.  There's no reason why relative=1 should
> imply ragged-right.

No, it was not the implicit ragged setting for one-line snippets. Rather, the 
snippets' ly files have an exmplicit
  ragged-right=##t
inserted.

The issue is that the relative snippet option implies the fragment option, 
which seems to set the ragged-right=##t in all its snippets...

Attached is a simple example to show this, using three snippets with identical 
contents, but different snippet options. The first snippet will not have 
ragged-right, but the other two will get an explicit ragged-right=##t in the 
snippet's .ly file. While this behavior is indirectly explained in the AU, it 
does not really make sense from a user's standpoint that relative should 
automatically imply ragged-right (having "fragment" imply ragged-right makes 
sense to make it easier for documentation writers....)

This deserves a bug report on its own.


To be honest, the whole snippet option handling seems to be a real mess right 
now. I'll probably take a look at the whole snippet options handling system in 
lilypond-book during the next few days. Probably we can properly analyze each 
option's effects and make them more predictable (and correct).

Cheers,
Reinhold



-- 
------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
\input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
@setfilename LineTest
@settitle PhilTest
@letterpaper

still problem:

@lilypond[]
\repeat unfold 50 { c'4 }
@end lilypond

@lilypond[fragment]
\repeat unfold 50 { c'4 }
@end lilypond

@lilypond[relative=1]
\repeat  unfold 50 { c4 }
@end lilypond

@bye
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to