PATCHES - Countdown for February 23

2022-02-21 Thread Colin Campbell
Here is the current countdown list. The next countdown will be on February 23.  list of all merge requests can be found here: https://gitlab.com/lilypond/lilypond/-/merge_requests?sort=label_priority Push: !1216 Revise handling of some edge cases for nonexistent skylines and stencils -

Re: Blockers for Guile 2.2

2022-02-21 Thread Jean Abou Samra
Hi, Sorry for the late reply, I hoped to have a merge request ready to implement but life is getting in the way. Nevertheless, a proof of concept is this: From 95794324cd4a637c4735447b672a1de91416cc4a Mon Sep 17 00:00:00 2001 From: Jean Abou Samra Date: Sun, 20 Feb 2022 17:00:20 +0100 Subject:

"Structure and interpretation" of Scheme (was: Comments wanted on code highlighting in PDF output)

2022-02-21 Thread Jean Abou Samra
Le 21/02/2022 à 22:19, Luca Fascione a écrit : On Mon, Feb 21, 2022 at 9:58 PM Jean Abou Samra wrote: Not sure what confuses you? In TCL I got used to bare strings being values, not varnames, so I'm learning stuff again. It's just different, but in languages that in many other t

Re: Comments wanted on code highlighting in PDF output

2022-02-21 Thread Luca Fascione
On Mon, Feb 21, 2022 at 9:58 PM Jean Abou Samra wrote: > Not sure what confuses you? In TCL I got used to bare strings being values, not varnames, so I'm learning stuff again. It's just different, but in languages that in many other things are very similar. Of course I don't find it confusing i

Re: Comments wanted on code highlighting in PDF output

2022-02-21 Thread Jean Abou Samra
Le 21/02/2022 à 21:15, Luca Fascione a écrit : On Mon, Feb 21, 2022 at 9:01 PM Jean Abou Samra wrote: Are you aware of https://myrealbook.vintherine.org/ ? I was not, the material I was working from was the openbook project, by Mark Veltzer. He's done all the heavy work, I'

Re: Comments wanted on code highlighting in PDF output

2022-02-21 Thread Luca Fascione
On Mon, Feb 21, 2022 at 9:01 PM Jean Abou Samra wrote: > Are you aware of > > https://myrealbook.vintherine.org/ > > ? > I was not, the material I was working from was the openbook project, by Mark Veltzer. He's done all the heavy work, I'm just working on how to build his stuff and make it beau

Re: Comments wanted on code highlighting in PDF output

2022-02-21 Thread Jean Abou Samra
Le 21/02/2022 à 20:54, Luca Fascione a écrit : Absolutely! At the moment I am setting up for a couple projects: one is a collection of guitar music (hence the other thread, it's not going to be super large, but I want it look as beautiful as I can). the other is more a scale out kinda thing (I

Re: Comments wanted on code highlighting in PDF output

2022-02-21 Thread Luca Fascione
Absolutely! At the moment I am setting up for a couple projects: one is a collection of guitar music (hence the other thread, it's not going to be super large, but I want it look as beautiful as I can). the other is more a scale out kinda thing (I'm seeing if I can help put together a biggish colle

Re: Comments wanted on code highlighting in PDF output

2022-02-21 Thread Jean Abou Samra
Le 21/02/2022 à 19:17, Luca Fascione a écrit : I haven't worked wirh TexInfo markup before, however it occurs to me that lisp is regular enough that with some effort one could hope to scrape out a majority of the function definitions and then use such a database to touch up the help source?

Re: Comments wanted on code highlighting in PDF output

2022-02-21 Thread Luca Fascione
I haven't worked wirh TexInfo markup before, however it occurs to me that lisp is regular enough that with some effort one could hope to scrape out a majority of the function definitions and then use such a database to touch up the help source? Like if you imagine a strategy like this: - scrape o

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
Yes exactly, because of how our finger to note relation works, the enhancement in readability with the indication right at the head is enormous. L On Mon, 21 Feb 2022, 18:16 Valentin Petzel, wrote: > Sure. I suppose for a guitar person having stacked fingerings on top would > be > rather confus

Re: Comments wanted on code highlighting in PDF output

2022-02-21 Thread Jean Abou Samra
Le 21/02/2022 à 17:42, Luca Fascione a écrit : Looks lovely to me. I notice the inline source is not highlighted, is that on purpose? (say 2.1.7, page 23). A lot of other text I've seen seems to use the same highlighting patterns for running code as well as display boxes of code, esp given the f

Re: Setting up classical guitar fingerings

2022-02-21 Thread Valentin Petzel
Sure. I suppose for a guitar person having stacked fingerings on top would be rather confusing, as there is no monotonic relating between finger and pitch. As such I suppose guitar people would want to use fingerings with left or right orientations in chords anyway. Cheers, Valentin Am Montag,

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
I suspect we might be saying the same thing, Valentin? I was saying infix can be a bit awkward if you want 'pianist' chord fingering (just a stack of numbers above or below), and that your original -1-2-3 reads quite nicely (as in: it's easy to see in your head what you will get in the engraving j

Re: Comments wanted on code highlighting in PDF output

2022-02-21 Thread Luca Fascione
Looks lovely to me. I notice the inline source is not highlighted, is that on purpose? (say 2.1.7, page 23). A lot of other text I've seen seems to use the same highlighting patterns for running code as well as display boxes of code, esp given the fonts you picked are so regular in the weight, wou

Re: Setting up classical guitar fingerings

2022-02-21 Thread Valentin Petzel
No, not nescessarily. If we want all Fingerings on top or below there is no real benefit of doing the chord thing. In fact doing that leads to the exact same issue of the fingering for d being next to the other ones. Cheers, Valentin 21.02.2022 12:38:40 Luca Fascione : > But wouldn't you finge

Comments wanted on code highlighting in PDF output

2022-02-21 Thread Werner LEMBERG
Folks, Merge request https://gitlab.com/lilypond/lilypond/-/merge_requests/1210 is now mature enough to produce LilyPond documentation with syntax B/W highlighting of LilyPond code in PDF output.[*] You can find the Learning Manual as an example at https://gitlab.com/lilypond/lilypond/u

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
This is neat! Thansk Valentin your explanation is very clear. Question: I would have thought it should be the fingering mark to push the beams away, not the other way around, I'm expecting it's uncool to go rummage in the setup of the beams/stems in before-line-break? Or is this how that handshake

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
But wouldn't you finger that as ? (Didn't check the number, I'm just meaning going infix vs postfix) I can see that this idea of mine does have issues for fingering your way around (which seems to me it's more of a fingering atop thing, like you would have in a keyboard score) L On Mon, 21 Feb 2

Re: Setting up classical guitar fingerings

2022-02-21 Thread Valentin Petzel
Hello Luca, changing the X-parent to the NoteHead would mean that we are aligning the Fingering horizontally wrt. the NoteHead instead of the whole NoteColumn. This would then mean that if for example due to some chord some note heads are on the other side of the Stem the alignment of something

Re: Setting up classical guitar fingerings

2022-02-21 Thread Valentin Petzel
Hello Luca, A scheme engraver follows the concept of a closure, so it is some sort of function that returns different values on different arguments. This is somewhat the functional approach to OOP. So an engraver can be seen as an object that has some methods, which (as some sort of callback) n

Re: Setting up classical guitar fingerings

2022-02-21 Thread Valentin Petzel
Hello Harm, That is not exactly true. As I have done in my previous reply we can create an engraver that acknowledges Fingerings and NoteHeads and store a reference to the NoteHead grob in the Fingerings details property. Cheers, Valentin Am Montag, 21. Februar 2022, 01:22:18 CET schrieb Thoma

Re: Setting up classical guitar fingerings

2022-02-21 Thread Luca Fascione
Hi Thomas, thanks for your comment, this helps me refine my understanding of what's going on. At the same time, while I do see that for other articulations (fermata, appoggiato) this parenting scheme works very well, I remain wondering whether for the style of layout of the fingering indications t