Re: Missing end-of-stave barline?

2023-01-08 Thread Jean Abou Samra
> Le 9 janv. 2023 à 07:56, Mark Probert a écrit : > > Hi. > > When I run this snippet the barline at the end of first stave, which I think > should be a “||”, goes “missing” (there is no barline at all). > > Is there a correct way of setting the end of stave barline in this kind of >

Missing end-of-stave barline?

2023-01-08 Thread Mark Probert
Hi. When I run this snippet the barline at the end of first stave, which I think should be a “||”, goes “missing” (there is no barline at all). Is there a correct way of setting the end of stave barline in this kind of situation? %% —— \version "2.24" parta = { aes4 bes c d | d4 ees f g | }

Removing staves when using remove-layer

2023-01-08 Thread Saul Tobin
Hi all, When condensing staves using remove-layer as described here https://lilypond.org/doc/v2.24/Documentation/notation/modifying-single-staves#hiding-staves, what is the best way to temporarily hide the combined staff as well as the individual staves? E.g. for a particularly crowded system

Re: Fit to one/n pages

2023-01-08 Thread Mark Probert
Many thanks! I think I’m getting a handle on this bit of LP. Amazing! -mark. On 9 Jan 2023 at 11:23:47, Jean Abou Samra wrote: > Le 09/01/2023 à 01:08, Kieren MacMillan a écrit : > > Hi Mark, > > > > Okay. I did that and when I move the \paper (yes, my bad, I did write > \page) into the

Re: Fit to one/n pages

2023-01-08 Thread Jean Abou Samra
Le 09/01/2023 à 01:08, Kieren MacMillan a écrit : Hi Mark, Okay. I did that and when I move the \paper (yes, my bad, I did write \page) into the \bookpart it generates a separate PDF for each \bookpart Hmmm… It should generate a page break between bookparts, but shouldn’t generate a new

Re: Fit to one/n pages

2023-01-08 Thread Kieren MacMillan
Hi Mark, > Okay. I did that and when I move the \paper (yes, my bad, I did write \page) > into the \bookpart it generates a separate PDF for each \bookpart Hmmm… It should generate a page break between bookparts, but shouldn’t generate a new PDF!! > Here is a slightly convoluted example of my

Re: Fit to one/n pages

2023-01-08 Thread Jean Abou Samra
Le 09/01/2023 à 00:51, Mark Probert a écrit : [...] \song-one \song-two Make that \book {   \bookpart { \song-one }   \bookpart { \song-two } } Best, Jean OpenPGP_signature Description: OpenPGP digital signature

Re: Fit to one/n pages

2023-01-08 Thread Mark Probert
Thanks, Jean and Kieren Okay. I did that and when I move the \paper (yes, my bad, I did write \page) into the \bookpart it generates a separate PDF for each \bookpart, which I think kind of defeats the purpose of a \bookpart. Here is a slightly convoluted example of my input by way of example

Re: Fit to one/n pages

2023-01-08 Thread Jean Abou Samra
Le 08/01/2023 à 23:45, Mark Probert a écrit : Jean, Following on. If my understanding is correct, each \book has a single \page. Did you mean \paper? So if my score consists of multiple \bookparts and I adjust the \page block, that impacts all the \bookparts? Yes, it means each

Re: Fit to one/n pages

2023-01-08 Thread Kieren MacMillan
Hi Mark, > If my understanding is correct, each \book has a single \page. Well… it’s complicated. :) > So if my score consists of multiple \bookparts and I adjust the \page block, > that impacts all the \bookparts? Yes. > Is there a way to force an individual \bookpart to a given number of

Re: Fit to one/n pages

2023-01-08 Thread Mark Probert
Jean, Following on. If my understanding is correct, each \book has a single \page. So if my score consists of multiple \bookparts and I adjust the \page block, that impacts all the \bookparts? Is there a way to force an individual \bookpart to a given number of pages? -mark. On 9 Jan 2023 at

Re: Fit to one/n pages

2023-01-08 Thread Mark Probert
Thanks, Jean! I missed that bit of doc. -mark. On 8 Jan 2023 at 16:07:50, Jean Abou Samra wrote: > > > Le 8 janv. 2023 à 06:02, Mark Probert a écrit : > > Hi. > > At the moment I’m doing quite a few lead sheets. The slightly unfortunate > thing is some of these tunes are a stave or two

Re: Resize \rhythm in mixed markup

2023-01-08 Thread David Kastrup
David Kastrup writes: > Jean Abou Samra writes: > >> Apparently, top-level markups are interpreted with \paper, although >> grob-interpret-markup interprets with a real \layout? >> >> >> \version "2.24.0" >> >> #(define-markup-command (whats-layout layout props) () >>    (interpret-markup

Re: Resize \rhythm in mixed markup

2023-01-08 Thread David Kastrup
Jean Abou Samra writes: > Apparently, top-level markups are interpreted with \paper, although > grob-interpret-markup interprets with a real \layout? > > > \version "2.24.0" > > #(define-markup-command (whats-layout layout props) () >    (interpret-markup layout props (symbol->string >

Re: Custom engraver to modify bent grace notes

2023-01-08 Thread Jean Abou Samra
Le 08/01/2023 à 14:58, Nate Whetsell a écrit : you can get the moment of the current time step in the engravers using (ly:context-current-moment context) Thanks, this is a huge help. Thank you also for putting together the Extending LilyPond  

Re: Resize \rhythm in mixed markup

2023-01-08 Thread Jean Abou Samra
Apparently, top-level markups are interpreted with \paper, although grob-interpret-markup interprets with a real \layout? \version "2.24.0" #(define-markup-command (whats-layout layout props) ()    (interpret-markup layout props (symbol->string (ly:output-def-lookup layout

Re: Resize \rhythm in mixed markup

2023-01-08 Thread David Kastrup
David Kastrup writes: > Thomas Morley writes: > >> Am So., 8. Jan. 2023 um 10:21 Uhr schrieb Thomas Morley >> : >>> >>> Hi, >>> >>> consider below >>> >>> \version "2.24.0" >>> >>> \score { >>> { g'1^\markup { My Rhythm \rhythm { 8[ 8] } } } >>> \layout { >>> \context { >>>

Re: Resize \rhythm in mixed markup

2023-01-08 Thread David Kastrup
Thomas Morley writes: > Am So., 8. Jan. 2023 um 10:21 Uhr schrieb Thomas Morley > : >> >> Hi, >> >> consider below >> >> \version "2.24.0" >> >> \score { >> { g'1^\markup { My Rhythm \rhythm { 8[ 8] } } } >> \layout { >> \context { >> \StandaloneRhythmStaff >> fontSize = #6

Re: Resize \rhythm in mixed markup

2023-01-08 Thread Jean Abou Samra
Le 08/01/2023 à 13:36, Thomas Morley a écrit : I aimed at a smaller size and all Beams and (flagged) Stems should end at the same height. Can this be achieved more easily? For the time being I would just use a music variable, e.g., \version "2.24.0" setup = {   \set fontSize = -5  

Re: Resize \rhythm in mixed markup

2023-01-08 Thread Jean Abou Samra
Le 08/01/2023 à 11:13, Thomas Morley a écrit : Actually it works, if the \layout is placed toplevel. A bug? It's a limitation of \markup \score. \version "2.24.0" \layout {   \override Voice.NoteHead.color = "red" } \score {   \layout {     \override Voice.NoteHead.color = "blue"   }   {

Re: Custom engraver to modify bent grace notes

2023-01-08 Thread Nate Whetsell
Thank you! > Wouldn't you be better off getting rid of graces, and creating a grob like > TrillPitchHead from your engraver? Probably, but I’m also trying to make this engraver something a person can just add to a LilyPond file without having to change anything else. I think most of the time

Re: Resize \rhythm in mixed markup

2023-01-08 Thread Thomas Morley
Am So., 8. Jan. 2023 um 11:13 Uhr schrieb Thomas Morley : > > Am So., 8. Jan. 2023 um 10:21 Uhr schrieb Thomas Morley > : > > > > Hi, > > > > consider below > > > > \version "2.24.0" > > > > \score { > > { g'1^\markup { My Rhythm \rhythm { 8[ 8] } } } > > \layout { > > \context { > >

Re: Resize \rhythm in mixed markup

2023-01-08 Thread Thomas Morley
Am So., 8. Jan. 2023 um 10:21 Uhr schrieb Thomas Morley : > > Hi, > > consider below > > \version "2.24.0" > > \score { > { g'1^\markup { My Rhythm \rhythm { 8[ 8] } } } > \layout { > \context { > \StandaloneRhythmStaff > fontSize = #6 > } > } > } > > I'll have numerous

Resize \rhythm in mixed markup

2023-01-08 Thread Thomas Morley
Hi, consider below \version "2.24.0" \score { { g'1^\markup { My Rhythm \rhythm { 8[ 8] } } } \layout { \context { \StandaloneRhythmStaff fontSize = #6 } } } I'll have numerous such markups combining straight text and \rhythm. Thus I'd like to have a method to adjust