Re: fret-diagram layout question

2020-01-16 Thread Jacques Menu
Hello Aaron, Fine, thanks. Can user-specific fret-diagrams be obtained with a FretBoards context, though? JM > Le 17 janv. 2020 à 06:01, Aaron Hill a écrit : > > On 2020-01-16 8:38 pm, Jacques Menu wrote: >> Hello Aaron, >> Thanks a lot for the hint, I’ll look into FretBoards contexts. > >

Re: compiling 2.19.83 needs guile-config < 1.9.0

2020-01-16 Thread Michael Käppler
Am 16.01.2020 um 22:47 schrieb Thomas Morley: Am Do., 16. Jan. 2020 um 21:29 Uhr schrieb Bric : I think this was discussed before, but i'm not sure how to downgrade guile on Ubuntu 18.04.2 LTS I tried building guile-1.8.0, guile-1.8.4, guile-1.8.5, but the build fails for all three.

Re: fret-diagram layout question

2020-01-16 Thread Aaron Hill
On 2020-01-16 8:38 pm, Jacques Menu wrote: Hello Aaron, Thanks a lot for the hint, I’ll look into FretBoards contexts. Oops, I forgot to paste in the code I wanted to include: \version "2.19.83" theChords = { 4 } << \new ChordNames \with { chordChanges = ##t } \chordmode { c4

Re: Slur across alternate ending - with example

2020-01-16 Thread Aaron Hill
On 2020-01-15 3:54 pm, Pastor Jim Neubauer wrote: So I figured out how to make and adjust a slur on my own. I am really wondering though if there is a more elegant way like how simple it is to do \repeatTie. Sorry for the delay. Your approach seems perfectly reasonable. I was going to

Re: fret-diagram layout question

2020-01-16 Thread Jacques Menu
Hello Aaron, Thanks a lot for the hint, I’ll look into FretBoards contexts. JM > Le 17 janv. 2020 à 05:33, Aaron Hill a écrit : > > On 2020-01-16 8:18 pm, Jacques Menu wrote: >> [ . . . ] >> How can this be displayed with the two fret diagrams on one and the >> same horizontal line? >>

Re: fret-diagram layout question

2020-01-16 Thread Aaron Hill
On 2020-01-16 8:18 pm, Jacques Menu wrote: [ . . . ] How can this be displayed with the two fret diagrams on one and the same horizontal line? Uncommenting the SpacingSpanner.base-shortest-duration override is a bit artificial, maybe there’s a better way? \textLengthOn will help a little; but

fret-diagram layout question

2020-01-16 Thread Jacques Menu
Hello folks, This snippet is adapted from the LPNR, with whole notes replaced by quarter notes: \version "2.19.83" << \new ChordNames { \set chordChanges = ##t \chordmode { c4 d:m } } \new Staff { \clef "treble_8" 4^\markup { \fret-diagram

Re: Distance of a grob from its reference point

2020-01-16 Thread Aaron Hill
On 2020-01-16 4:01 pm, Paolo Prete wrote: This gives a clearer overview, thanks, but I would not use it, even if it produces the wanted result. Sorry if I implied otherwise, but I thought I was clear that this code was not intended for practical use. This is only test code to demonstrate

Re: Distance of a grob from its reference point

2020-01-16 Thread Paolo Prete
On Fri, Jan 17, 2020 at 12:31 AM Aaron Hill wrote: > > This time, you omitted the overrides to prevent padding and > staff-padding from influencing the test: > > \version "2.19.45" > notes = \fixed c''' { \ottava 1 f4 4 4 \ottava 0 f, } > > { >% Make sure these properties do not

Re: Getting readline to work in scheme-sandbox

2020-01-16 Thread Knute Snortum
That did it! Thanks! --- Knute Snortum (via Gmail) On Thu, Jan 16, 2020 at 1:06 PM Michael Käppler wrote: > > Am 16.01.2020 um 19:45 schrieb Knute Snortum: > > I used "make install" to install libguilereadline. > > > > I've attached config.log and libguilereadline.dump. > > > > --- > > Knute

Re: Distance of a grob from its reference point

2020-01-16 Thread Aaron Hill
On 2020-01-16 2:43 pm, Paolo Prete wrote: On Thu, Jan 16, 2020 at 11:35 PM Aaron Hill wrote: You forgot to \revert outside-staff-padding *before* applying extra-offset. Right, But even with \revert, the issue remains, because in any case the value of 0.56 for outside-staff-padding

Re: Distance of a grob from its reference point

2020-01-16 Thread Paolo Prete
On Thu, Jan 16, 2020 at 11:35 PM Aaron Hill wrote: > > > You forgot to \revert outside-staff-padding *before* applying > extra-offset. > > Right, But even with \revert, the issue remains, because in any case the value of 0.56 for outside-staff-padding doesn't produce a shift. See:

Re: Distance of a grob from its reference point

2020-01-16 Thread Thomas Morley
Am Do., 16. Jan. 2020 um 23:12 Uhr schrieb David Nalesnik : > > On Thu, Jan 16, 2020 at 3:42 PM David Nalesnik > wrote: > > > > Hi Robin, > > > > On Thu, Jan 16, 2020 at 1:02 PM Robin Bannister wrote: > > > > > > Paolo Prete wrote: > > > > > > > This is *precious* info. Please, can you

Re: Distance of a grob from its reference point

2020-01-16 Thread Aaron Hill
On 2020-01-16 2:09 pm, Paolo Prete wrote: I'm sorry to say that I made additional tests and the +0.46 method doesn't seem to work. You can check here: %% \version "2.19.45" { \override Staff.OttavaBracket.outside-staff-padding = #0 \ottava #1 f''' f''' f''' \ottava #0

Re: Distance of a grob from its reference point

2020-01-16 Thread Paolo Prete
On Thu, Jan 16, 2020 at 11:09 PM Paolo Prete wrote: > > % > > 0.56 s exactly the quantity corresponding to extra-offset to 0.1. But if > you produce a SVG file, and open it with a text editor, you will see three > pairs of coordinates: > > (first bracket) > > (second

Re: Distance of a grob from its reference point

2020-01-16 Thread David Nalesnik
On Thu, Jan 16, 2020 at 3:42 PM David Nalesnik wrote: > > Hi Robin, > > On Thu, Jan 16, 2020 at 1:02 PM Robin Bannister wrote: > > > > Paolo Prete wrote: > > > > > This is *precious* info. Please, can you tell/confirm if > > > > > > 1) you are referring to \offset command ? > > > > No. That

Re: Distance of a grob from its reference point

2020-01-16 Thread Paolo Prete
Hi Robin, On Thu, Jan 16, 2020 at 10:05 PM Robin Bannister wrote: > Paolo Prete wrote: > > > And I really thank you. Offsetting brackets is a *very*, *very* important > > feature in professional music engraving. > > You're welcome. I'm sorry to say that I made additional tests and the +0.46

Re: compiling 2.19.83 needs guile-config < 1.9.0

2020-01-16 Thread Thomas Morley
Am Do., 16. Jan. 2020 um 21:29 Uhr schrieb Bric : > > I think this was discussed before, but i'm not sure how to downgrade guile on > Ubuntu 18.04.2 LTS > > I tried building guile-1.8.0, guile-1.8.4, guile-1.8.5, but the build fails > for all three. > > lilypond ./configure error: > > ERROR:

Re: Distance of a grob from its reference point

2020-01-16 Thread David Nalesnik
Hi Robin, On Thu, Jan 16, 2020 at 1:02 PM Robin Bannister wrote: > > Paolo Prete wrote: > > > This is *precious* info. Please, can you tell/confirm if > > > > 1) you are referring to \offset command ? > > No. That would be premature in this case. > > > > 2) is it applicable as a replacement

Re: Getting readline to work in scheme-sandbox

2020-01-16 Thread Michael Käppler
Am 16.01.2020 um 19:45 schrieb Knute Snortum: I used "make install" to install libguilereadline. I've attached config.log and libguilereadline.dump. --- Knute Snortum (via Gmail) Ok, seems that your libguilereadline-v-17 has been built correctly against the readline-8.0 library, which you

Re: Distance of a grob from its reference point

2020-01-16 Thread Robin Bannister
Paolo Prete wrote: And I really thank you. Offsetting brackets is a *very*, *very* important feature in professional music engraving. You're welcome. I hope you don't run foul of the disadvantages too soon. See Kieren's last comment in

compiling 2.19.83 needs guile-config < 1.9.0

2020-01-16 Thread Bric
I think this was discussed before, but i'm not sure how to downgrade guile on Ubuntu 18.04.2 LTS I tried building guile-1.8.0, guile-1.8.4, guile-1.8.5, but the build fails for all three. lilypond ./configure error: ERROR:

Re: Distance of a grob from its reference point

2020-01-16 Thread Paolo Prete
On Thu, Jan 16, 2020 at 8:01 PM Robin Bannister wrote: > Paolo Prete wrote: > > So this 0.46 is just for outside-staff-padding. > And I really thank you. Offsetting brackets is a *very*, *very* important feature in professional music engraving. Best, Paolo

Re: Distance of a grob from its reference point

2020-01-16 Thread Paolo Prete
On Thu, Jan 16, 2020 at 7:22 PM Carl Sorensen wrote: > My testing found that \offset didn’t work with outside-staff-padding for > OttavaBracket grobs. > That's great, because with this method the user is not forced to use a ruler. Then, the best one. I just tested it and now we can say that,

Re: Distance of a grob from its reference point

2020-01-16 Thread Robin Bannister
Paolo Prete wrote: This is *precious* info. Please, can you tell/confirm if 1) you are referring to \offset command ? No. That would be premature in this case. 2) is it applicable as a replacement for "\offset Y-offset" for *every* grob that support Y-offset ? Well, I have trouble

Re: Getting readline to work in scheme-sandbox

2020-01-16 Thread Knute Snortum
I used "make install" to install libguilereadline. I've attached config.log and libguilereadline.dump. --- Knute Snortum (via Gmail) On Thu, Jan 16, 2020 at 12:51 AM Michael Käppler wrote: > > Am 15.01.2020 um 23:55 schrieb Knute Snortum: > > Okay, I built guile 1.8.7 after installing GNU MP

Re: Distance of a grob from its reference point

2020-01-16 Thread Aaron Hill
On 2020-01-16 8:46 am, Carl Sorensen wrote: On 1/16/20, 9:34 AM, "Robin Bannister" wrote: 3) make outside-staff-padding 0.46 more than needed vertical shift e.g. 2.46 Could you just \offset outside-staff-padding by 2? Unfortunately, no. outside-staff-padding does not have a specific

Re: Distance of a grob from its reference point

2020-01-16 Thread Carl Sorensen
From: Paolo Prete Date: Thursday, January 16, 2020 at 10:24 AM To: Robin Bannister Cc: Michael Gerdau , Lilypond-User Mailing List , Carl Sorensen Subject: Re: Distance of a grob from its reference point On Thu, Jan 16, 2020 at 5:33 PM Robin Bannister mailto:r...@dabble.ch>> wrote: OR

Re: Distance of a grob from its reference point

2020-01-16 Thread Paolo Prete
On Thu, Jan 16, 2020 at 5:33 PM Robin Bannister wrote: > OR > > 3) make outside-staff-padding 0.46 more than needed vertical shift > e.g. 2.46 > > Cheers, Robin > This is *precious* info. Please, can you tell/confirm if 1) you are referring to \offset command ? 2) is it applicable as a

Re: Distance of a grob from its reference point

2020-01-16 Thread Carl Sorensen
On 1/16/20, 9:34 AM, "Robin Bannister" wrote: Paolo Prete wrote: > I simply wanted to understand how to offset a bracket. > And the conclusion is: avoid \offset + X/Y-offset and use > > 1) extra-offset (if you don't need automatic collision-avoidance) > > OR

Re: Distance of a grob from its reference point

2020-01-16 Thread Robin Bannister
Paolo Prete wrote: I simply wanted to understand how to offset a bracket. And the conclusion is: avoid \offset + X/Y-offset and use 1) extra-offset (if you don't need automatic collision-avoidance) OR 2) \override X/Y-offset with a ruler (if you need automatic collision-avoidance) OR 3)

Re: Override a StaffSymbol property outside \new Staff { ... } context

2020-01-16 Thread Paolo Prete
On Thu, Jan 16, 2020 at 1:43 PM Simon Albrecht wrote: > Hi Paolo, > > it seems like you have some very specific setup of lilypond files and > framework and need a solution that works within that, but you’re trying > to avoid explaining the whole setup either because it’s too much effort > or for

Re: Override a StaffSymbol property outside \new Staff { ... } context

2020-01-16 Thread Paolo Prete
On Thu, Jan 16, 2020 at 4:49 AM Aaron Hill wrote: > > However, why jump through such Scheme hoops when LilyPond syntax is more > direct? > > Thank you Aaron. I used a misleading topic, sorry. I wanted a set of layout properties which is shared by all the scores I edit. So I can simply import it

Re: Override a StaffSymbol property outside \new Staff { ... } context

2020-01-16 Thread Simon Albrecht
Hi Paolo, it seems like you have some very specific setup of lilypond files and framework and need a solution that works within that, but you’re trying to avoid explaining the whole setup either because it’s too much effort or for privacy or similar. From my experience, when I get into that

Re: Distance of a grob from its reference point

2020-01-16 Thread Paolo Prete
On Thu, Jan 16, 2020 at 11:45 AM Michael Gerdau wrote: > > > FWIW: Prior to reading this thread I wasn't even aware, that \offset > might not do what I want in all situations. I use it occasionally and > like it - works for me. > > Claiming it is completely broken seems way over the top to me. >

Re: Distance of a grob from its reference point

2020-01-16 Thread Michael Gerdau
Dear Paolo, > Yes, but, it's necessary too to add a *warning* on the Lilypond output. > This is much more clear for the user than the documentation. while you correctly point out that \offset sometimes leads to random/unpredicted values it quite often gives the expected result. At least for me.

Re: Syntax highlighting

2020-01-16 Thread Craig Dabelstein
The pygments LilyPond lexer is actually going ok. I'm still copying over the info from python-ly, but I've worked it out and so far it's working without errors. I will have to learn some regex tricks in the next few days. Perhaps another week and it will be ready for some testing. Craig On Wed.,

Re: Getting readline to work in scheme-sandbox

2020-01-16 Thread Michael Käppler
Am 15.01.2020 um 23:55 schrieb Knute Snortum: Okay, I built guile 1.8.7 after installing GNU MP and flex, but I get the same error: guile> (use-modules (ice-9 readline)) ERROR: readline is not provided in this Guile installation ABORT: (misc-error) So I redid the strace and I attached the log