bug-lilypond
[Top][All Lists]
Advanced

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

Re: Again: Whole Bar Rests and Unmetered Music


From: Reinhold Kainhofer
Subject: Re: Again: Whole Bar Rests and Unmetered Music
Date: Mon, 8 Dec 2008 17:19:19 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 8. Dezember 2008 11:38:37 schrieb Dmytro O. Redchuk:
> 2008/12/7 Neil Puttock <address@hidden>:
> > It's not a very elegant solution, but you could override the stencil
> > using \musicglyph to access the semibreve rest, positioning it
> > manually using 'X-offset and 'staff-position.
>
> Mmm... Adjusting 'X-offset is really not a very elegant way :-)
>
> But a possible one, anyway.
>
> I've also found 'use-breve-rest
> (http://lilypond.org/doc/v2.11/Documentation/user/lilypond-internals/multi_
>002dmeasure_002drest_002dinterface#multi_002dmeasure_002drest_002dinterface)
>, but it seems it doesn't work. 

Well, you can set it, but it is used internally and your setting is later on 
overwritten. Basically, You can set it to ##f, but when LilyPond processes the 
music, it calls the code that I quoted in my previous mail:

- From multi-measure-rest-engraver.cc (lines 218-221):

      if (ml >= Rational (2))
        last_rest_->set_property ("use-breve-rest", SCM_BOOL_T);

As you can see, that code overwrites your setting, and there is no way you can 
change that property after this code and before the pdf is finally created... 
So, any setting to that property will simply be ignored.

Would it be possible to set this property only when it is not yet (manually) 
set?

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJPUkHTqjEwhXvPN0RAnuXAJ4p2ib/Te3MuDqu6iBhW+y+viQPMACeJ97v
ioNsYJZHGtDKWVgI3wK3298=
=NswT
-----END PGP SIGNATURE-----




reply via email to

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