Re: LilyPond 2.23.6 *-tmp-* files

2022-06-01 Thread Jacques Menu
Hello everybody, Thanks for you tests and information. In fact, these *-tmp-* files remain when the PDF is produced within Frescobaldi, but not when using Lily on the command line. It turns out this stems from Frescobaldi's LilyPond preferences: for some reason, the ‘remove intermediate files’

Re: not understanding the Al_Fine repeat feature of 2.23.9

2022-06-01 Thread Jacques Menu
Hello Kenneth, Here is the way to do it. The : \volta 2 \fine should precede the note it applies to. JM Volta2Fine.ly Description: Binary data > Le 29 mai 2022 à 01:59, Kenneth Wolcott a écrit : > > Hi; > > I tried to engrave a simple Tuba Duet that has a Fine+D.C. construct > usi

Re: Lilybin?

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 10:08, Jean Abou Samra a écrit : Le 31/05/2022 à 21:45, gregorybl...@gmail.com a écrit : Apologies if this question has already been asked and answered on this list, but... any chance that Lilybin might come back from the dead, some day? http://lilybin.com/ It's been gone

Re: Lilybin?

2022-06-01 Thread Jean Abou Samra
Le 31/05/2022 à 21:45, gregorybl...@gmail.com a écrit : Apologies if this question has already been asked and answered on this list, but... any chance that Lilybin might come back from the dead, some day? http://lilybin.com/ It's been gone for a few weeks now. Is there anything someone might

arbitrary repeat counter

2022-06-01 Thread Simon Bailey
Hi, There's a handy snippet for counting repeated bars in the manual. But I'm running into limitations when for instance I'd like to have 2- or 4-bar sections that I'd like to count. Usage example: a bass guitar has a 4-bar riff that's repeated 8 times, but I can't use a volta repeat in the part b

Re: arbitrary repeat counter

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 10:53, Simon Bailey a écrit : Hi, There's a handy snippet for counting repeated bars in the manual. But I'm running into limitations when for instance I'd like to have 2- or 4-bar sections that I'd like to count. Usage example: a bass guitar has a 4-bar riff that's repeated 8 tim

Re: vertical half-brackets

2022-06-01 Thread Werner LEMBERG
>> * Has someone coded this already? I couldn't find code in the LSR. > > I don't know if this is still the most ideal way, but it works. > [...] Thanks a lot for all the replies! I'll analyze them and cook something up for my needs. Werner

Re: arbitrary repeat counter

2022-06-01 Thread Simon Bailey
Hi Jean, On Wed, 1 Jun 2022 at 10:04, Jean Abou Samra wrote: > How about doing it like this? > < SNIP SNIP SNIP> > << >\new Staff \unfoldRepeats \part >\new Staff \otherPart > >> Yeah, I know about unfoldRepeats. But using voltas in a part where they're not in a score is a big no-no. I r

rehearsal marks, top-staff lyrics, and moved engravers

2022-06-01 Thread Werner LEMBERG
Dear LilyPonders, the snippet below demonstrates that top-staff lyrics are incorrectly positioned above rehearsal marks if the engraver for the latter is moved to another context (I need that in a full score with rehearsal marks printed simultaneously at three different vertical positions). Wha

Re: Lilybin?

2022-06-01 Thread Paul Hodges
From: Jean Abou Samra By the way: https://github.com/LilyBin/LilyBin/pull/91 That message leads indirectly to             https://hacklily.org/  which is using LilyPond 2.22 rather than LilyBin's 2.18.  How its functionality compares I don't know, as I'm not familiar with LilyBi

Re: rehearsal marks, top-staff lyrics, and moved engravers

2022-06-01 Thread Xavier Scheuer
On Wed, 1 Jun 2022 at 11:32, Werner LEMBERG wrote: > > > Dear LilyPonders, > > > the snippet below demonstrates that top-staff lyrics are incorrectly > positioned above rehearsal marks if the engraver for the latter is > moved to another context (I need that in a full score with rehearsal > marks

Re: rehearsal marks, top-staff lyrics, and moved engravers

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 11:31, Werner LEMBERG a écrit : Dear LilyPonders, the snippet below demonstrates that top-staff lyrics are incorrectly positioned above rehearsal marks if the engraver for the latter is moved to another context (I need that in a full score with rehearsal marks printed simultaneo

Re: Lilybin?

2022-06-01 Thread Paul Hodges
From: Paul Hodges To: Jean Abou Samra , "gregorybl...@gmail.com" , Sent: 01/06/2022 11:14 Subject: Re: Lilybin? From: Jean Abou Samra By the way: https://github.com/LilyBin/LilyBin/pull/91 That message leads indirectly to             https://hacklily.org/  whi

Re: arbitrary repeat counter

2022-06-01 Thread Simon Bailey
Hi, with a little bit of digging through your manual, i have solved some of my questions: #(define (counter-stencil grob) (let* ((counter (ly:grob-property grob 'text))) ; get the value of the counter (ly:stencil-aligned-to (grob-interpret-markup grob (markup counter "!")

Re: rehearsal marks, top-staff lyrics, and moved engravers

2022-06-01 Thread Werner LEMBERG
> I think you likely want to move the Mark_engraver to a kind of > MarkLine context instead. Well, the problem is that such a context needs the `Axis_group_engraver`, which tries to align stuff horizontally on a line. I don't want that. Rehearsal and tempo marks should be aligned on the selecte

Re: rehearsal marks, top-staff lyrics, and moved engravers

2022-06-01 Thread Werner LEMBERG
>> the snippet below demonstrates that top-staff lyrics are >> incorrectly positioned above rehearsal marks if the engraver for >> the latter is moved to another context (I need that in a full score >> with rehearsal marks printed simultaneously at three different >> vertical positions). > > Tha

Re: Lilybin?

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 12:32, Kevin Cole a écrit : I hadn't heard of either LilyBin or HacLily. So... Basically Frescobaldi over the web, yes? Frescobaldi has enormously more features, but on the basic level, yes. Other than the collaborative, distributed nature -- which I can see as advantageou

Re: Lilybin?

2022-06-01 Thread Kevin Cole
I hadn't heard of either LilyBin or HacLily. So... Basically Frescobaldi over the web, yes? Other than the collaborative, distributed nature -- which I can see as advantageous in some situations -- do they have features that Frescobaldi doesn't have?

Re: rehearsal marks, top-staff lyrics, and moved engravers

2022-06-01 Thread Werner LEMBERG
> Rehearsal and tempo marks should be aligned > on the selected staff as if they were part of it, see attached > example. I forgot to also move `Metronome_mark_engraver` in my example, but it doesn't make a visual difference here. Werner

Re: Lilybin?

2022-06-01 Thread Paolo Prete
Hello, FYI this editor completely works over the web: https://github.com/paopre/Spontini I hope someone will decide to host it... Best, P On Wednesday, June 1, 2022, Kevin Cole wrote: > I hadn't heard of either LilyBin or HacLily. > > So... Basically Frescobaldi over the web, yes? > > Oth

Re: generate eps file from frecobaldi

2022-06-01 Thread WaiMing Tsang
Hi Simon Bailey, Silvain Dupertuis, David M. Boothe & Henning Hraban Ramm Thank you all for giving me suggestion. I am a window 10 user. I don’t know GIMP, Inkscape, I will search if these programs are available for window 10? Even if they are, learning curve will occurs. I knew to select eps outpu

Re: arbitrary repeat counter

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 12:25, Simon Bailey a écrit : Hi, with a little bit of digging through your manual, i have solved some of my questions: #(define (counter-stencil grob) (let* ((counter (ly:grob-property grob 'text))) ; get the value of the counter (ly:stencil-aligned-to (grob-

Start bookPart on even page

2022-06-01 Thread Simon Albrecht
Hi everybody, it’s been a long time since I’ve used bookPart, it seems, and I don’t know how to search for an answer. How can I allow Lily to start a bookPart on even pages? She will insert empty pages to avoid that. Best, Simon

Re: Start bookPart on even page

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 15:08, Simon Albrecht a écrit : Hi everybody, it’s been a long time since I’ve used bookPart, it seems, and I don’t know how to search for an answer. How can I allow Lily to start a bookPart on even pages? She will insert empty pages to avoid that. Please give an exampl

Re: generate eps file from frecobaldi

2022-06-01 Thread Silvain Dupertuis
Gimp and Inkscape are free and available in Windows, MacOs and Linux. Le 01.06.22 à 14:30, WaiMing Tsang a écrit : Hi Simon Bailey, Silvain Dupertuis, David M. Boothe &/Henning Hraban Ramm/ // /Thank you all for giving me suggestion. I am a window 10 user. I don’t know GIMP, /Inkscape/, /

Re: arbitrary repeat counter

2022-06-01 Thread Simon Bailey
Hi Jean, thanks for that example. Is it supposed to print any numbers? It's not doing so in 2.23.9 (windows, frescobaldi). I've come up with a slightly different approach, that's not quite finished (and not as fancy as creating a new engraver): #(set-object-property! 'phrase-length 'backend-type

Re: arbitrary repeat counter

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 15:50, Simon Bailey a écrit : Hi Jean, thanks for that example. Is it supposed to print any numbers? It's not doing so in 2.23.9 (windows, frescobaldi). I tested it with 2.22. There were some changes (by me) in the internals of MeasureCounter in 2.23, so it needs to be adapted

Re: arbitrary repeat counter

2022-06-01 Thread Simon Bailey
On Wed, 1 Jun 2022 at 15:50, Jean Abou Samra wrote: > I tested it with 2.22. There were some changes (by me) in > the internals of MeasureCounter in 2.23, so it needs to > be adapted a little: > I'll test that in a moment. > > I intend to wrap that in a music function that does all the override

Re: arbitrary repeat counter

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 17:04, Simon Bailey a écrit : A bit more work and I now have the following: \version "2.23.9" #(set-object-property! 'phrase-length 'backend-type? integer?) #(define (counter-stencil grob) (let* ((counter (string->number (ly:grob-property grob 'text))) (phrase-leng

Re: not understanding the Al_Fine repeat feature of 2.23.9

2022-06-01 Thread Kenneth Wolcott
Thank you! I got this piece to work now. I just need to study this a bit more, try another couple of pieces that have repeats like this. On Wed, Jun 1, 2022 at 12:59 AM Jacques Menu wrote: > > Hello Kenneth, > > Here is the way to do it. The : > >\volta 2 \fine > > should precede the note i

Re: arbitrary repeat counter

2022-06-01 Thread Simon Bailey
On Wed, 1 Jun 2022 at 16:14, Jean Abou Samra wrote: > > 1. What is the duration of a measure dependent on the current time > > signature? > > In an engraver :-) > > (ly:context-property context 'measureLength) > > You can't get it in the music function, since timing is not > established at that p

Re: arbitrary repeat counter

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 18:04, Simon Bailey a écrit : On Wed, 1 Jun 2022 at 16:14, Jean Abou Samra wrote: 1. What is the duration of a measure dependent on the current time signature? In an engraver :-) (ly:context-property context 'measureLength) You can't get it in the music function, since tim

Re: arbitrary repeat counter

2022-06-01 Thread Simon Bailey
Hi, On Wed, 1 Jun 2022 at 17:09, Jean Abou Samra - jean at abou-samra.fr wrote: > What did not work? This is perfectly valid Scheme: > > (set! count (1+ count)) (set! counter (+ counter 1)) was giving an error message. Probably had some misaligned parentheses or other weirdness. I didn't know a

Re: arbitrary repeat counter

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 18:19, Simon Bailey a écrit : Hi, On Wed, 1 Jun 2022 at 17:09, Jean Abou Samra - jean at abou-samra.fr wrote: What did not work? This is perfectly valid Scheme: (set! count (1+ count)) (set! counter (+ counter 1)) was giving an error message. Probably had some misaligned par

Re: make \breath (kind-of) ignore clef change

2022-06-01 Thread Werner LEMBERG
David, thanks for your code – I consider it quite an elegant solution. > squashed = > \once \propertyTweak stencil > #(grob-transformer 'stencil > (lambda (grob old) > (ly:stencil-aligned-to old X RIGHT))) > \etc > > { 1 \breathe | } > > { 1 \breathe \squashed Sta

Re: arbitrary repeat counter

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 19:03, Simon Bailey a écrit : Here's a weird one. Using this definition in the c,-octave, I get a really weird output. Each note in the music drops down an octave. In the c-octave, it works normally. Using the untagged version of \repeatCounting doesn't show this issue in either o

bookTitleMarkup and tocItem cause empty page

2022-06-01 Thread Simon Albrecht
Hi Jean, On 01/06/2022 15:24, Jean Abou Samra wrote: Please give an example. I’ve gone debugging, and it’s a weird combination of two things that causes the empty page: %%% \version "2.23.9" \paper {   bookTitleMarkup = \markup {     \vspace #.3   } } \bookpart { \ma

Re: make \breath (kind-of) ignore clef change

2022-06-01 Thread David Kastrup
Werner LEMBERG writes: > David, > > > thanks for your code – I consider it quite an elegant solution. > >> squashed = >> \once \propertyTweak stencil >> #(grob-transformer 'stencil >> (lambda (grob old) >> (ly:stencil-aligned-to old X RIGHT))) >> \etc >> >> { 1 \breat

Re: make \breath (kind-of) ignore clef change

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 21:50, David Kastrup a écrit : Frankly, I have no idea what I am actually doing there with the ly:stencil-aligned-to . I was just fudging around until something fell out that looked like what you wanted to be doing. So "\squashed" is actually a misnomer from the first attempt wher

Re: make \breath (kind-of) ignore clef change

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 20:07, Werner LEMBERG a écrit : This code might serve as an example for `\propertyTweak`, which the NR is currently missing. Would you care to submit an MR, expanding the documentation accordingly? I'm not sure if the NR is the best place for explaining \propertyTweak. Its us

Re: bookTitleMarkup and tocItem cause empty page

2022-06-01 Thread Jean Abou Samra
Le 01/06/2022 à 21:12, Simon Albrecht a écrit : Hi Jean, On 01/06/2022 15:24, Jean Abou Samra wrote: Please give an example. I’ve gone debugging, and it’s a weird combination of two things that causes the empty page: %%% \version "2.23.9" \paper {   bookTitleMarkup =

Re: make \breath (kind-of) ignore clef change

2022-06-01 Thread Werner LEMBERG
> I'm not sure why this takes into account the right endpoint of the > extent on the left but not the left endpoint of the extent on the > right. I think it might just be assuming that all break-aligned > grobs have an extent starting at 0. Or maybe it's simply a thinko... Werner

Re: make \breath (kind-of) ignore clef change

2022-06-01 Thread Werner LEMBERG
>> This code might serve as an example for `\propertyTweak`, which the >> NR is currently missing. >> >> Would you care to submit an MR, expanding the documentation >> accordingly? > > I'm not sure if the NR is the best place for explaining > \propertyTweak. Its usefulness is basically to be a h

Re: bookTitleMarkup and tocItem cause empty page

2022-06-01 Thread Simon Albrecht
Hi Jean, On 01/06/2022 22:41, Jean Abou Samra wrote: As said on the ticket, you need to move \tocItem inside the second bookpart, thanks for looking into it and opening the issue. The workaround is inconvenient, because I want to have the \bookpart{} statement in an include file for use in

Left-hand end of tuplet bracket sometimes wrong

2022-06-01 Thread Paul Hodges
Both Ross (p161) and Gould (p195) are completely clear when they say that the left hand end of a tuplet bracket aligns with the left-hand side of the first note. However, LilyPond doesn't always do this - instead, if the first note has an up-stem, the bracket is aligned with the stem instead.