Re: Are hyphens no longer required to prefix postevent tweaks?

2023-07-22 Thread David Kastrup
Jean Abou Samra writes: > Le vendredi 21 juillet 2023 à 23:38 +0200, David Kastrup a écrit : >> > As of 2.25.6, the difference between the two forms of \tweak no longer >> > appears necessary: globally replacing thousands of "- \tweak ..." with >> > just "\tweak ..." now seems to work perfectly.

Re: Are hyphens no longer required to prefix postevent tweaks?

2023-07-22 Thread Jean Abou Samra
Le vendredi 21 juillet 2023 à 23:38 +0200, David Kastrup a écrit : > > As of 2.25.6, the difference between the two forms of \tweak no longer > > appears necessary: globally replacing thousands of "- \tweak ..." with > > just "\tweak ..." now seems to work perfectly. > > Don't. If the syntax wa

Re: Are hyphens no longer required to prefix postevent tweaks?

2023-07-21 Thread David Kastrup
Trevor Bača writes: > Are hyphens no longer required to prefix postevent tweaks? They are still required. > For years I've been writing a hyphen ... > > - \tweak color #red > \startTextSpan > > ... to tweak text spanners but no hyphen ... > > \

Are hyphens no longer required to prefix postevent tweaks?

2023-07-21 Thread Trevor Bača
Hi, Are hyphens no longer required to prefix postevent tweaks? For years I've been writing a hyphen ... - \tweak color #red \startTextSpan ... to tweak text spanners but no hyphen ... 4 ... to tweak note heads. As of 2.25.6, the difference between the two forms of \tweak no l

Re: Need help with two tweaks

2022-10-01 Thread Valentin Petzel
Hello Sam, for 1) you can do something like \layout { \context { \Staff \remove Dot_column_engraver } \context { \Voice \consists Dot_column_engraver } } << { 2. } \\ { \once \override NoteColumn.force-hshift = #2.5 2. } >> This is not as dynamic as we’d want it to b

Re: Need help with two tweaks

2022-10-01 Thread Lukas-Fabian Moser
Hi Sam, *Tweak 2* current result: tweak-2-ties.jpg soprano line:  | bf2 af4 | alto line:  | f( ef) c | tenor line:  || bass line: | g2 d4 | problem: I want to add a slur between the two 1st tenor notes and another one between the two second tenor notes. Please always give a compilable

Need help with two tweaks

2022-10-01 Thread Sam Carmalt
Hi - I can't figure out how to tweak two bits of my score so it looks the way I want. *Tweak 1* current result [image: tweak-1-dots.jpg] current code soprano line: bf4 | 2.| 2. alto line: 4 | \once \override NoteColumn.force-hshift = #2.0 2. | \once \override NoteColumn.force-hshift = #1.7 2.

Re: Help with tweaks

2019-06-24 Thread Robert Blackstone
Hi Evan, For what it’s worth. Since I am not yet an experienced user of “regular’ tweaks, I would have used a different solution to this problem, i.e. moving the Markup texts to a second voice with hidden notes. I give you my solution here but I have to warn you that I never use \relative c

Re: Help with tweaks

2019-06-23 Thread Evan Driscoll
Perfect, thanks! Evan On Sun, Jun 23, 2019 at 3:08 PM Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > Hi Evan, > How about: -\tweak X-offset #3 ^\markup{\italic "long"} > Cherrs, > Pierre > > Le dim. 23 juin 2019 à 21:59, Evan Driscoll a écrit : > >> So first, thanks again

Re: Help with tweaks

2019-06-23 Thread Pierre Perol-Schneider
Hi Evan, How about: -\tweak X-offset #3 ^\markup{\italic "long"} Cherrs, Pierre Le dim. 23 juin 2019 à 21:59, Evan Driscoll a écrit : > So first, thanks again for the people who replied to my last questions. > > Now I've got a problem with a measure that is too busy where I want to > space some

Help with tweaks

2019-06-23 Thread Evan Driscoll
So first, thanks again for the people who replied to my last questions. Now I've got a problem with a measure that is too busy where I want to space some things out. I'm pretty new to this level of fine tuning, and still trying to figure things out. Here's the relevant section: \language "engli

Re: Function for multiple tweaks

2019-01-24 Thread David Kastrup
David Kastrup writes: > Andrew Bernard writes: > >> I have many chords where a note is a harmonic. I use the following for the >> note inside the chord: >> >> \tweak NoteHead.stencil #ly:text-interface::print >> \tweak NoteHead.font-size #1 >> \tweak NoteHead.text #(markup #:musicglyph "n

Re: Function for multiple tweaks

2019-01-24 Thread Andrew Bernard
Thanks so much David and off list repliers. I'm deeply grateful for the generous help on this amazing list. Here's what works nicely: \version "2.19.82" harmonicNote = \tweak NoteHead.stencil #ly:text-interface::print \tweak NoteHead.font-size #1 \tweak NoteHead.text #(markup #:musicglyph "no

Re: Function for multiple tweaks

2019-01-24 Thread David Kastrup
Andrew Bernard writes: > I have many chords where a note is a harmonic. I use the following for the > note inside the chord: > > \tweak NoteHead.stencil #ly:text-interface::print > \tweak NoteHead.font-size #1 > \tweak NoteHead.text #(markup #:musicglyph "noteheads.s0mi") > > How can I mak

Function for multiple tweaks

2019-01-24 Thread Andrew Bernard
I have many chords where a note is a harmonic. I use the following for the note inside the chord: \tweak NoteHead.stencil #ly:text-interface::print \tweak NoteHead.font-size #1 \tweak NoteHead.text #(markup #:musicglyph "noteheads.s0mi") How can I make this into what I am tempted to call a

Re: Glissando tweaks in chords

2018-12-08 Thread Thomas Morley
gt; g2 >> -\tweak Y-offset #0.25 >> \glissando a >> } >> two = \relative c'' { >> \context Voice = "one" { >> c2 >> % this tweak is never applied >> % -\tweak Y-offset #-0.25 >> \glissando d >>

Re: Glissando tweaks in chords

2018-12-06 Thread Peter Crighton
e = "one" { > c2 > % this tweak is never applied > % -\tweak Y-offset #-0.25 > \glissando d > } > } > \new Staff << > \new Voice = "one" \one > \two > >> > > Thanks, > Peter > > A while ago, there was a func

Re: Glissando tweaks in chords

2018-12-06 Thread Ben
taff <<   \new Voice = "one" \one   \two >> Thanks, Peter A while ago, there was a function created that allowed tweaks like you're asking - I think this is what you are looking for :) It should get you started. http://lilypond.1069038.n5.nabble.com/How-to-tweak-overr

Re: Glissando tweaks in chords

2018-12-06 Thread Ben
On 12/6/2018 7:49 PM, Peter Crighton wrote: Hello all, I have the following (reduced) scenario where one voice has a chord with a glissando in it and I want to tweak both glissandos differently. Is it possible? The second (currently commented out) tweak is never applied even if I comment out

Re: Glissando tweaks in chords

2018-12-06 Thread Ben
On 12/6/2018 7:49 PM, Peter Crighton wrote: Hello all, I have the following (reduced) scenario where one voice has a chord with a glissando in it and I want to tweak both glissandos differently. Is it possible? The second (currently commented out) tweak is never applied even if I comment out

Glissando tweaks in chords

2018-12-06 Thread Peter Crighton
Hello all, I have the following (reduced) scenario where one voice has a chord with a glissando in it and I want to tweak both glissandos differently. Is it possible? The second (currently commented out) tweak is never applied even if I comment out the first tweak. \version "2.19.82" one = \relat

Re: Function for tweaks

2018-10-06 Thread David Kastrup
Helge Kruse writes: > Am 06.10.2018 um 12:32 schrieb Lukas-Fabian Moser: >> makeSpace = #(define-event-function (size) (number?) >>    #{ >> -\tweak #'stencil #(ly:make-stencil '() '(0 . 0.1) `(0 >> . ,size) ) _"" >>    #} >>    ) > > Hi Lukas,

Re: Function for tweaks

2018-10-06 Thread Helge Kruse
Am 06.10.2018 um 12:32 schrieb Lukas-Fabian Moser: > makeSpace = #(define-event-function (size) (number?) >    #{ > -\tweak #'stencil #(ly:make-stencil '() '(0 . 0.1) `(0 > . ,size) ) _"" >    #} >    ) Hi Lukas, this works for me. I wasn't awa

Re: Function for tweaks

2018-10-06 Thread Lukas-Fabian Moser
Hi Helge, I want to save typing and it's tedious to write the complete tweak each time. But the Y size must be adapted each time. Therefore a function is necessary to change the current required value that is 6 in the example. I've experimented with define-markup-command and define-music-functi

Function for tweaks

2018-10-06 Thread Helge Kruse
Hi, I want to use kneed beams for my score. These look ugly if the system system distance is too small. Therefor I extend the spacing as in the following example. Removing the percent character gives a reasonable spacing. \version "2.18.2" \language "deutsch" staffUpper = { \change Staff="upper"

Re: Including tweaks in a variable

2018-03-02 Thread David Kastrup
Simon Albrecht writes: > On 01.03.2018 17:51, Michael Stickles wrote: >> It was driving me crazy at first because it still wouldn't work, >> until I dug through the documentation a bit more and found that 2.18 >> and 2.19 have a slightly different syntax for the >> function arguments: > > Truly t

Re: Including tweaks in a variable

2018-03-01 Thread Simon Albrecht
On 01.03.2018 17:51, Michael Stickles wrote: It was driving me crazy at first because it still wouldn't work, until I dug through the documentation a bit more and found that 2.18 and 2.19 have a slightly different syntax for the function arguments: Truly the fact that it’s difficult for power

Re: Including tweaks in a variable

2018-03-01 Thread Michael Stickles
y. Thanks again! From: "Jan-Peter Voigt" Sent: Thursday, March 01, 2018 10:43 AM To: lilypond-user@gnu.org Subject: Re: Including tweaks in a variable Hello Michael, it works if you add \etc to the variable (in lily-dev 2.19.x IIRC): smNote =

Re: Including tweaks in a variable

2018-03-01 Thread Jan-Peter Voigt
Hello Michael, it works if you add \etc to the variable (in lily-dev 2.19.x IIRC): smNote = \tweak font-size #-2 \etc That way smNote becomes a music-function that takes the note as argument and the tweak is applied. If you are using 2.18 you have to create the function like this: smNote = #(de

Including tweaks in a variable

2018-03-01 Thread Michael Stickles
This should be simple, but I just can't seem to get it to work. I'm working on re-doing a lot of our church music, and use variables extensively to help make the .ly files more readable. There are a lot of places where one vocal part splits and we want the "secondary" notes to be smaller, resu

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
ob, > and RIGHT should right-align the grob. To quote from the original mail starting this thread: Hi all, In the snippet below, I want to tweak a dynamic grob created using Shevek's dynText function (cf. http://lists.gnu.org/archive/html/lilypond-user/2017-07/msg00043.html

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David, > As long as you refuse to answer the question I have repeated > at least 3 times by now, there is no implementable specification. > > You have again _completely_ failed to specify what you actually expect > self-alignment-X to do over its range of values in the context of \dynText . I

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> you still fail to specify _what_ you actually want. > > Sigh. I have specified exactly what I want. Several times. I'll do it > again, in yet another wording, hoping you find this more clear: I give up. As long as you refuse to answer the question I hav

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David, > you still fail to specify _what_ you actually want. Sigh. I have specified exactly what I want. Several times. I'll do it again, in yet another wording, hoping you find this more clear: 1. I want a function which combines text and dynamics (as both \dynamic and \dynText do). 2. I

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > > I have no idea how you actually call "seems to work", > > namely just _how_ you want self-alignment-X to get factored in, > > considering that the whole point of the dynText function is > to figure out an alignment yielding a text-dependent reference p

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hello David (et al.), > Using the edition-engraver, I'd like to set self-alignment-X = #RIGHT (which > would allow the note spacing to normalize) and then use either X-offset or > extra-offset to nudge the dynamic back to the right (to approximate the > "proper" alignment). If I can do that, th

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David, > I have no idea how you actually call "seems to work", > namely just _how_ you want self-alignment-X to get factored in, > considering that the whole point of the dynText function is > to figure out an alignment yielding a text-dependent reference point. Sorry I haven't been clear. He

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David (et al.), > >>> Can \dynText or similar be fashioned in such a way that leaves open >>> the possibility of [effectively] tweaking the grob later in the >>> process? >> >> I repeat: If you want self-alignment-X to be heeded in there in some >> manner, you need

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David (et al.), >> Can \dynText or similar be fashioned in such a way that leaves open >> the possibility of [effectively] tweaking the grob later in the >> process? > > I repeat: If you want self-alignment-X to be heeded in there in some > manner, you need to incorporate it in the callback fo

Re: tweaks don't apply to post-function grob

2017-08-15 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> The tweak applies fine but self-alignment-X is consulted in the normal >> callback for X-offset which has been replaced by a callback using the >> formula (- 1 (/ width 2)) . If you want self-alignment-X to be heeded >> in there in some manner, you need

Re: tweaks don't apply to post-function grob

2017-08-15 Thread Kieren MacMillan
Hi David, > The tweak applies fine but self-alignment-X is consulted in the normal > callback for X-offset which has been replaced by a callback using the > formula (- 1 (/ width 2)) . If you want self-alignment-X to be heeded > in there in some manner, you need to incorporate it in the callback

Re: tweaks don't apply to post-function grob

2017-08-14 Thread David Kastrup
Kieren MacMillan writes: > > In the snippet below, I want to tweak a dynamic grob created using Shevek's > dynText function (cf. > http://lists.gnu.org/archive/html/lilypond-user/2017-07/msg00043.html). But > unfortunately, tweaks don't seem to affect it. > >

tweaks don't apply to post-function grob

2017-08-14 Thread Kieren MacMillan
Hi all, In the snippet below, I want to tweak a dynamic grob created using Shevek's dynText function (cf. http://lists.gnu.org/archive/html/lilypond-user/2017-07/msg00043.html). But unfortunately, tweaks don't seem to affect it. How can I change the function such that I can still ap

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2017-06-13 Thread Peter Crighton
2016-01-02 23:37 GMT+01:00 Thomas Morley : > > Please look at the attached png and test the attached code. > Tell me what isn't sufficient. > > Cheers, > Harm > Hi Harm, I just found your solution to the problem I had been having for a long time – it helped tremendously, thank you! Only proble

Re: ClefModifier tweaks conditional on clef

2017-05-12 Thread Noeck
Am 11.05.2017 um 01:03 schrieb Simon Albrecht: > > Change clefs can be recognised by the glyph name as well. You can try > putting some sort of (display glyph-name) in the body of the > let-expression (on the same level like the actual functionality) to find > out more. Ah of course. Thanks, Si

Re: ClefModifier tweaks conditional on clef

2017-05-10 Thread Simon Albrecht
Am 10.05.2017 um 19:26 schrieb Noeck: Am 10.05.2017 um 00:03 schrieb Simon Albrecht: of course you could write a callback: Thanks Simon, that's much better than my approach to replace the \clef command with a \once \override or \tweak and \clef combination. I'll figure out what the #\F means

Re: ClefModifier tweaks conditional on clef

2017-05-10 Thread Noeck
Am 10.05.2017 um 00:03 schrieb Simon Albrecht: > of course you could write a callback: Thanks Simon, that's much better than my approach to replace the \clef command with a \once \override or \tweak and \clef combination. I'll figure out what the #\F means but could someone tell me how I can fin

Re: ClefModifier tweaks conditional on clef

2017-05-09 Thread tisimst
. Sorry about that. I was going off of memory, but forgot that this is how the pairs are actually utilized. Thanks, Simon, for a usable solution. Best, Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/ClefModifier-tweaks-conditional-on-clef-tp203018p203039.html

Re: ClefModifier tweaks conditional on clef

2017-05-09 Thread Simon Albrecht
Am 09.05.2017 um 23:39 schrieb Kieren MacMillan: Hi Joram, does it only handle the x-offset? Try-and-error told me that the first number is the X-offset for _8 and the second for ^8. But can I affect the y position? Ah! I look forward to seeing the answer. It would be great (actually, kind of

Re: ClefModifier tweaks conditional on clef

2017-05-09 Thread Kieren MacMillan
Hi Joram, > does it only handle the x-offset? Try-and-error told me that the first > number is the X-offset for _8 and the second for ^8. > But can I affect the y position? Ah! I look forward to seeing the answer. It would be great (actually, kind of essential) if it did. Thanks, Kieren. ___

Re: ClefModifier tweaks conditional on clef

2017-05-09 Thread Noeck
Hi, does it only handle the x-offset? Try-and-error told me that the first number is the X-offset for _8 and the second for ^8. But can I affect the y position? Best, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mail

Re: ClefModifier tweaks conditional on clef

2017-05-09 Thread Kieren MacMillan
Abraham, > The ClefModifier grob has a property called "clef-alignments" that handles > this, providing individual positioning for G, F, and C clefs (you'll likely > need to play around with the numbers a bit): > http://lilypond.org/doc/v2.19/Documentation/internals/clefmodifier Oh, FFS… I cle

Re: ClefModifier tweaks conditional on clef

2017-05-09 Thread tisimst
’d rather put it in a context modification, inside > the stylesheet (where my clefs, fonts, etc. are set). Is there a nice > global way to apply X-offset/Y-offset/extra-offset(/??) tweaks > conditionally based on which clef is being used? > The ClefModifier grob has a property called &qu

ClefModifier tweaks conditional on clef

2017-05-09 Thread Kieren MacMillan
position right now). I know I could define a macro (e.g. “bassb”) which outputs a clef with the modifier tweaked… but I’d rather put it in a context modification, inside the stylesheet (where my clefs, fonts, etc. are set). Is there a nice global way to apply X-offset/Y-offset/extra-offset(/??) tweaks

Re: Putting tweaks in a variable

2017-04-07 Thread Knute Snortum
Thanks guys, that works. --- Knute Snortum (via Gmail) On Thu, Apr 6, 2017 at 3:50 PM, Simon Albrecht wrote: > Am 07.04.2017 um 00:15 schrieb David Kastrup: > >> masterTweak = \tweak something \tweak something-else \etc >> > > To give some context: You actually need a music function for that p

Re: Putting tweaks in a variable

2017-04-06 Thread Simon Albrecht
Am 07.04.2017 um 00:15 schrieb David Kastrup: masterTweak = \tweak something \tweak something-else \etc To give some context: You actually need a music function for that purpose. \etc is only an abbreviation to have the parser (?) construct that music function for you. Best, Simon

Re: Putting tweaks in a variable

2017-04-06 Thread David Kastrup
Knute Snortum writes: > I seem to remember that there is now a way to put several tweaks into a > variable. So instead of writing this: > > c4 -\tweak something -\tweak something-else c8 > > I could write something like this: > > masterTweak = { \magic -

Putting tweaks in a variable

2017-04-06 Thread Knute Snortum
I seem to remember that there is now a way to put several tweaks into a variable. So instead of writing this: c4 -\tweak something -\tweak something-else c8 I could write something like this: masterTweak = { \magic -\tweak something -\tweak something-else } ... c4 -\masterTweak

Re: Retrieving 'tweaks from a grob

2016-07-25 Thread David Kastrup
David Kastrup writes: > Don't do that. The acknowledger is the place for _setting_ > properties, and of course a first acknowledger has no chance to see > properties set by a second acknowledger. Instead, use the > acknowledger to _record_ the grobs. Then you use the > process-acknowledged hoo

Re: Retrieving 'tweaks from a grob

2016-07-25 Thread David Kastrup
rks in > https://github.com/openlilylib/scholarly/blob/master/annotate/engraver.ily#L66). > > The second one is the result of an implicit \tweak where it is fond in > the 'tweaks property of the music expression. > > So, my question is: if I'm iterating over the grobs in an

Retrieving 'tweaks from a grob

2016-07-25 Thread Urs Liska
of an implicit \tweak where it is fond in the 'tweaks property of the music expression. So, my question is: if I'm iterating over the grobs in an engraver's acknowledger (as per the link above), how can I first determine if the grob('s music) has a 'tweaks property and seco

Re: Figured Bass Tweaks

2016-05-08 Thread Thomas Morley
2016-05-08 2:28 GMT+02:00 Sam Bivens : > Hi all, > > Attached, I show my solutions for two figured bass tweaks: first, a > parenthesized (not bracketed) figure; and second, a lone integer on the > "lower line." > > The work-arounds are good enough for now, I&#

Re: Figured Bass Tweaks

2016-05-08 Thread Pierre Perol-Schneider
f \line \new FiguredBass \figs >> } Cheers, Pierre 2016-05-08 2:28 GMT+02:00 Sam Bivens : > Hi all, > > Attached, I show my solutions for two figured bass tweaks: first, a > parenthesized (*not* bracketed) figure; and second, a lone integer on the > "lower line.&

Figured Bass Tweaks

2016-05-07 Thread Sam Bivens
Hi all, Attached, I show my solutions for two figured bass tweaks: first, a parenthesized (/not/ bracketed) figure; and second, a lone integer on the "lower line." The work-arounds are good enough for now, I'm just curious if anyone has any better ideas, or if I missed an o

Re: "concatenating" tweaks

2016-04-26 Thread David Kastrup
ot actually powerful but just a shortcut for existing functionality. In those cases where it fits the bill (and tweaks are likely candidates), it's easier on the eyes than spelling out the music function definition would be. -- David Kastrup ___ l

Re: "concatenating" tweaks

2016-04-26 Thread David Kastrup
Thomas Morley writes: > Thus: > > \version "2.19.40" > > shared-tweaks = > \tweak font-size #12 \etc Which is the primordial justification for the \etc feature. -- David Kastrup ___ lilypond-user mailing list

Re: "concatenating" tweaks

2016-04-26 Thread Kieren MacMillan
Hi Thomas, > \etc AH!! I remember seeing that some time ago (in one of David K’s posts on another topic), and thinking how great/powerful that probably was/is, but not really understanding how to use it. Now I understand. Thank you for the quick and helpful reply And thank you to David K and w

Re: "concatenating" tweaks

2016-04-26 Thread Thomas Morley
27;1\tweaked-spanner 1\stopTextSpan > } > > \score { \music } > SNIPPET ENDS > > Now I want to have a number of different tweaked spanners which share a bunch > of tweaks. But the intuitive (?) extension doesn’t work: > > SNIPPET BEGINS > \version "2.19" &

"concatenating" tweaks

2016-04-26 Thread Kieren MacMillan
anners which share a bunch of tweaks. But the intuitive (?) extension doesn’t work: SNIPPET BEGINS \version "2.19" shared-tweaks = \tweak fontsize #12 tweaked-spanner = \shared-tweaks \tweak color #red \startTextSpan music = { c''1\tweaked-spanner 1\stopTextSpan

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-03 Thread Thomas Morley
2016-01-03 0:16 GMT+01:00 David Kastrup : > Thomas Morley writes: > >> If you do it 'before-line-breaking it works, yes, but can't be changed >> 'after-line-breaking anymore ... >> >> No idea what's happening and why. > > Caching? I don't see you using unpure-pure containers. Anything else > is

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-02 Thread Kieren MacMillan
Hi Harm, > Let me ensure you, my table has some nice bite marks more … =( > All this predefining markups down/above/parenthesized is way too > tedious and error-prone and would need to be done for > double-ottavation as well ... > And \raise will break whenever you want to use another \fontsize

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-02 Thread David Kastrup
Thomas Morley writes: > If you do it 'before-line-breaking it works, yes, but can't be changed > 'after-line-breaking anymore ... > > No idea what's happening and why. Caching? I don't see you using unpure-pure containers. Anything else is only evaluated once. -- David Kastrup _

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-02 Thread Thomas Morley
. 2016-01-02 17:16 GMT+01:00 Kieren MacMillan : > Hi Harm, > >> Just wrote a bug-report: >> http://lilypond.1069038.n5.nabble.com/Overriding-OttavaBracket-text-fails-td185451.html > > Thanks! > > Can you help me with the #'stencil-align-dir-y replacement hack? > > In the snippet (below), I’ve got

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-02 Thread Kieren MacMillan
Hi Harm, > Just wrote a bug-report: > http://lilypond.1069038.n5.nabble.com/Overriding-OttavaBracket-text-fails-td185451.html Thanks! Can you help me with the #'stencil-align-dir-y replacement hack? In the snippet (below), I’ve got the basic 8va the way I want it, but can’t seem to find the ri

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Thomas Morley
2016-01-02 1:02 GMT+01:00 Kieren MacMillan : > Hi Harm, > >> \alterBroken is a tool meant to facilitate addressing and tweaking >> parts and properties of spanners. You may call it syntactic sugar ;) >> It needs investigation why it fails with OttavaBracket.text > > And, my [admittedly non-exhausti

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Kieren MacMillan
Hi Harm, > In general, even a feature-request which is well-defined > and short worded may involve a lot more then expected. ;) For over twenty years, I was a programmer (of Java, a half-dozen other languages, and several database scripting environments) with clients/users — so I know that only

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Kieren MacMillan
Hi Harm, > \alterBroken is a tool meant to facilitate addressing and tweaking > parts and properties of spanners. You may call it syntactic sugar ;) > It needs investigation why it fails with OttavaBracket.text And, my [admittedly non-exhaustive] testing has just shown, OttavaBracket.shorten-pai

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Kieren MacMillan
Hi David > it's quite trivial to complete the "well-defined” task > without doing anything remotely useful. Well, at least I’ve answered the charge that I didn’t give a well-defined task. Cheers, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Thomas Morley
2016-01-01 22:13 GMT+01:00 Kieren MacMillan : > Hi David, > >> To me it would appear that in this case by far the lion's share of the >> work is digging through reference books (incidentally, I don't have any >> of those), Don't have any as well >> devising a good plan for the desired behavior, c

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread David Kastrup
Thomas Morley writes: > 2016-01-01 22:30 GMT+01:00 David Kastrup : >> Kieren MacMillan writes: >> >>> Hi David, >> >> It is trivial to let OttavaBracket contain line-spanner-interface which >> is just a label for a set of properties. What those properties do >> depends on actual code, however.

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Thomas Morley
2016-01-01 22:30 GMT+01:00 David Kastrup : > Kieren MacMillan writes: > >> Hi David, >> >>> To me it would appear that in this case by far the lion's share of the >>> work is digging through reference books (incidentally, I don't have any >>> of those), devising a good plan for the desired behavio

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Thomas Morley
may call it syntactic sugar ;) It needs investigation why it fails with OttavaBracket.text Nevertheless, the basic route of my coding is covered by Extending 2.8 Difficult tweaks http://www.lilypond.org/doc/v2.19/Documentation/extending-big-page#difficult-tweaks and it works. Cheers, Harm ___

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> To me it would appear that in this case by far the lion's share of the >> work is digging through reference books (incidentally, I don't have any >> of those), devising a good plan for the desired behavior, checking with >> the current behavior, figuring

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Kieren MacMillan
Hi Harm, > broken text isn't that hard Thanks! Through a combination of \translate, \with-dimensions, #’before- and #’after-line-breaking, and your help, I'm getting close to recreating without line-spanner-interface the OttavaBracket defaults that I had before [by overriding #’stencil]; see

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Kieren MacMillan
Hi David N, > Strange that > \alterBroken text #'(() "") Staff.OttavaBracket > doesn't have an effect here (substitute this line for the call of \foo above). Exactly. This discovery (which I made some days ago) further added to my frustration about not being able to predict what is or is not lik

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Kieren MacMillan
Hi Harm, > I posted my findings, else I wrote "discussable ..." > > So, let's start discussion. > > In the end the general question "How should OttavaBracket behave?" > should be answered detailed. > Part of it: > Which properties should be user-settable? > How should a (maybe broken) OttavaBrac

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Kieren MacMillan
Hi David, > To me it would appear that in this case by far the lion's share of the > work is digging through reference books (incidentally, I don't have any > of those), devising a good plan for the desired behavior, checking with > the current behavior, figuring out where the differences are, > c

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Kieren MacMillan
Hi David, > "particular" is not the same as "well-defined”. > I can't even figure out what this is supposed to be about. Feature Request: OttavaBracket should support line-spanner-interface. Does that satisfy your definition of "well-defined”? Thanks, Kieren. K

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread David Kastrup
Thomas Morley writes: > True. > I posted my findings, else I wrote "discussable ..." > > So, let's start discussion. > > In the end the general question "How should OttavaBracket behave?" > should be answered detailed. > Part of it: > Which properties should be user-settable? > How should a (mayb

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Thomas Morley
2016-01-01 19:23 GMT+01:00 David Kastrup : > Kieren MacMillan writes: > >> Hi Harm, >> >> Thank you so much for doing all this! Very informative and helpful. >> >>> I made some fundamental research about spanners with line-interface >>> and those with additional line-spanner-interface. >>> Code, p

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread David Kastrup
Kieren MacMillan writes: > Hi Harm, > > Thank you so much for doing all this! Very informative and helpful. > >> I made some fundamental research about spanners with line-interface >> and those with additional line-spanner-interface. >> Code, pdf, log attached. Their behaviour is inconsistent, to

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread David Nalesnik
On Fri, Jan 1, 2016 at 11:55 AM, Thomas Morley wrote: > 2016-01-01 17:38 GMT+01:00 Kieren MacMillan >: > > > > And my limited testing with \alterBroken seems to suggest that not all > bits are user-settable (e.g., I still can’t seem to set the broken text > without overriding the stencil). > > W

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Thomas Morley
2016-01-01 17:38 GMT+01:00 Kieren MacMillan : >> P.S.: Up to now I found it impossible to override certain properties >> of the first part of a broken OttavaBracket, like the length of the line. >> Hairpin has the 'broken-bound-padding at least, but none of the >> others, if I'm not mistaken. > >

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Kieren MacMillan
Hi Harm, Thank you so much for doing all this! Very informative and helpful. > I made some fundamental research about spanners with line-interface > and those with additional line-spanner-interface. > Code, pdf, log attached. Their behaviour is inconsistent, to say the least. =( > Regarding def

Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2016-01-01 Thread Thomas Morley
2015-12-31 3:23 GMT+01:00 Kieren MacMillan : > Hi Harm, > > Now that my custom ottavation function isn’t overriding the stencil, how do I > adjust all of the parameters I had set in the “bound-details” version (e.g., > X, Y, padding, right-broken.X, etc.)? > > Thanks, > Kieren. > > p.s. My origin

Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks")

2015-12-30 Thread Kieren MacMillan
Hi Harm, Now that my custom ottavation function isn’t overriding the stencil, how do I adjust all of the parameters I had set in the “bound-details” version (e.g., X, Y, padding, right-broken.X, etc.)? Thanks, Kieren. p.s. My original function was simply extended from the example in the [curre

Re: can't seem to apply tweaks on tweaks

2015-12-30 Thread Kieren MacMillan
Hi Harm, > I don't think OttavaBracket.bound-details does anything, I'd delete it. It doesn’t any more, because the stencil is no longer being overridden: SNIPPET BEGINS \version "2.19.32" \paper { ragged-right = ##f } #(define eightva #{ \markup %% messing around with \with-dim

Re: can't seem to apply tweaks on tweaks

2015-12-30 Thread Thomas Morley
of text and line [where > Lilypond’s default does not]; > 2. It places the beginning and end of the OttavaBracket [and text] > exactly where I want it (personal preference); and, > 3. It allows me to apply \overrides and \tweaks post-hoc (e.g., using the > edition-engraver

Re: can't seem to apply tweaks on tweaks

2015-12-30 Thread Thomas Morley
2015-12-30 15:53 GMT+01:00 David Kastrup : > Thomas Morley writes: > >> But the following works >> >> #(define eightva >> #{ >> \markup >> %% messing around with \with-dimensions, because OttavaBracket has no >> %% possibility to set details.stencil-align-dir-y >> %% :(( >>

Re: can't seem to apply tweaks on tweaks

2015-12-30 Thread David Kastrup
Thomas Morley writes: > But the following works > > #(define eightva > #{ > \markup > %% messing around with \with-dimensions, because OttavaBracket has no > %% possibility to set details.stencil-align-dir-y > %% :(( > \with-dimensions #'(0 . 4) #'(0 . 2.8) > \

  1   2   3   >