[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quoting \set and \override (for cue notes etc.)
From: |
Reinhold Kainhofer |
Subject: |
Re: Quoting \set and \override (for cue notes etc.) |
Date: |
Sat, 22 Aug 2009 13:06:59 +0200 |
User-agent: |
KMail/1.11.4 (Linux/2.6.29-02062906-generic; KDE/4.2.4; i686; ; ) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 20. August 2009 00:19:41 schrieb Neil Puttock:
> 2009/8/14 Reinhold Kainhofer <address@hidden>:
> > I tried adding various classes to the quotedEventTypes list, e.g.
> > override- property-event general-music override-property OverrideProperty
> > property-set PropertySet, but nothing seems to have any effect. Any idea
> > how to make lilypond also quote overrides and \set commands?
>
> As I hinted in the discussion you mentioned, it's partly due to how
> recording-group-emulate is coded:
Ah, I would have never guessed that recording-group-emulate would be
involved...
Shouldn't add-quotable and recording-group-emulate be moved out of the
partcombiner code and somewhere more general?
> If you change this to listen to 'StreamEvent, the other classes will
> be acknowledged, which will allow simple context settings to work
> (like fontSize).
>
> Unfortunately, there's still a problem with \override and \revert;
> they're recorded, but it seems the events associated with them either
> aren't broadcast, or they're ignored by the Engraver_group.
Yes, there are some issues:
- -) if you add an explicit context, the overrides are not recorded at all.
E.g.
the following is not recorded (they don't appear in Quote_iterator::process at
all):
\once \override Staff.Stem #'thickness = #8.0
while the same without Staff. is:
\once \override Stem #'thickness = #8.0
- -) \once\override Grob #'prop = #val works, but the override without \once
does not work. Unfortunately, acciaccatura etc. use \override without \once.
These overrides are recorded (i.e. they are checked for in
Quote_iterator::accept_music_type), but they don't seem to have an effect.
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKj9FTTqjEwhXvPN0RAr8WAJwMuE4tvZ+ml17wCZg3ajlkyzfQPwCgucF0
BXqMBroE0CllEul/icRHfK4=
=E98N
-----END PGP SIGNATURE-----