[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045)
From: |
David Kastrup |
Subject: |
Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045) |
Date: |
Sun, 18 May 2014 19:43:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Paul Morris <address@hidden> writes:
> Just to make sure I'm communicating my other idea (above)... you're
> saying the following wouldn't work well either (but would end up an
> invasive mess)?
>
> The code that handles overriding stencils could accept either a
> stencil or a markup, and when it received a markup it would convert it
> to a stencil using grob-interpret-markup, since it always has access
> to the grob and thus the layout/properties.
There is not one "code that handles overriding stencils". Overrides are
a general mechanism. So we are talking about the code _interpreting_
stencils. This code will tend to be some get_property ("stencil") call.
There are a lot of those from a lot of different engravers.
Making this consistently workable would require tampering with a lot of
call sites.
> You know the code and I trust your judgement. I'm just curious. In
> any case, a command like \appearance would get the job done and be
> simpler for the user. I suppose it could accept either a markup or a
> stencil and just pass the stencil through to the override (or tweak)
> if a stencil was supplied.
A user-level command could indeed accept either markup or stencil and
create a suitable override depending on which it gets. There is,
however, also the possibility to write \markup \stencil #... in order to
let a markup pass through a stencil. It's just more verbose and more
back-and-forth.
--
David Kastrup
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), lilyliska, 2014/05/16
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), dak, 2014/05/16
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Urs Liska, 2014/05/16
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Thomas Morley, 2014/05/16
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Urs Liska, 2014/05/17
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), David Kastrup, 2014/05/17
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Paul Morris, 2014/05/17
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), David Kastrup, 2014/05/18
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Paul Morris, 2014/05/18
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045),
David Kastrup <=
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Paul Morris, 2014/05/18
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), David Kastrup, 2014/05/18
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Paul Morris, 2014/05/18
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Paul Morris, 2014/05/20
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), David Kastrup, 2014/05/20
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), James, 2014/05/20
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), James, 2014/05/20
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Colin Campbell, 2014/05/20
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), James, 2014/05/21
- Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045), Colin Campbell, 2014/05/21