David Kastrup writes:
> Urs Liska writes:
>
>> But if I simply create two elements in the event-function the explicit
>> direction operator takes no effect:
>>
>> propagate-direction =
>> #(define-event-function (text)(markup?)
>>#{
>> -(
>> -\markup #text
>>#})
>>
>> {
>> g'
Urs Liska writes:
> Am 21.10.2018 um 18:17 schrieb David Kastrup:
>> David Kastrup writes:
>>
>>> Urs Liska writes:
>>>
What I would *like* to do is a function like
propagate-direction =
#(define-event-function (text)(markup?)
#{
-\tweak direction #UP
>>>
Am 21.10.2018 um 18:17 schrieb David Kastrup:
David Kastrup writes:
Urs Liska writes:
What I would *like* to do is a function like
propagate-direction =
#(define-event-function (text)(markup?)
#{
-\tweak direction #UP
-(
-\tweak direction #UP
-\markup #text
Am 21.10.2018 um 17:52 schrieb David Kastrup:
With explicit I refer to a direction explicitly assigned, either
thorugh ^/_ or an \override like \slurUp etc. If I call my function
with ^\propagate-direction there is an explicit direction in place
while the event-function is called, isn't it?
No
David Kastrup writes:
> Urs Liska writes:
>
>> What I would *like* to do is a function like
>>
>> propagate-direction =
>> #(define-event-function (text)(markup?)
>>#{
>> -\tweak direction #UP
>> -(
>> -\tweak direction #UP
>> -\markup #text
>>#})
>>
>> but instead of
Urs Liska writes:
> Am 21.10.2018 um 16:58 schrieb David Kastrup:
>> Urs Liska writes:
>>
>>> But if I simply create two elements in the event-function the explicit
>>> direction operator takes no effect:
>>>
>>> propagate-direction =
>>> #(define-event-function (text)(markup?)
>>> #{
>>>
Am 21.10.2018 um 16:58 schrieb David Kastrup:
Urs Liska writes:
But if I simply create two elements in the event-function the explicit
direction operator takes no effect:
propagate-direction =
#(define-event-function (text)(markup?)
#{
-(
-\markup #text
#})
{
g'1 ^\
Urs Liska writes:
> But if I simply create two elements in the event-function the explicit
> direction operator takes no effect:
>
> propagate-direction =
> #(define-event-function (text)(markup?)
>#{
> -(
> -\markup #text
>#})
>
> {
> g'1 ^\propagate-direction "Up" g' )
> }
>
I'm scratching my head thanks to some weird behaviour (at least it
looks like that for me). In a simple event-function any explicit
direction operator used when calling the event will be propagated to the
created objects:
\version "2.19.82"
propagate-direction =
#(define-event-function (text