Re: Direction operators in event-function

2018-10-29 Thread David Kastrup
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'

Re: Direction operators in event-function

2018-10-23 Thread David Kastrup
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 >>>

Re: Direction operators in event-function

2018-10-22 Thread Urs Liska
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

Re: Direction operators in event-function

2018-10-21 Thread Urs Liska
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

Re: Direction operators in event-function

2018-10-21 Thread 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 >>#}) >> >> but instead of

Re: Direction operators in event-function

2018-10-21 Thread David Kastrup
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?) >>> #{ >>>

Re: Direction operators in event-function

2018-10-21 Thread Urs Liska
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 ^\

Re: Direction operators in event-function

2018-10-21 Thread 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 ^\propagate-direction "Up" g' ) > } >

Direction operators in event-function

2018-10-21 Thread Urs Liska
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