Re: Sections or movements in a piece

2023-02-01 Thread John Whitmore
Thank you for that answer that works for me. I didn't realise there could be multiple scores On Wed, Feb 1, 2023 at 6:52 PM H. S. Teoh via LilyPond user discussion < lilypond-user@gnu.org> wrote: > On Wed, Feb 01, 2023 at 06:04:20PM +, John Whitmore wrote: > >Hello all, > >I'm on

Re: Sections or movements in a piece

2023-02-01 Thread H. S. Teoh
On Wed, Feb 01, 2023 at 06:04:20PM +, John Whitmore wrote: >Hello all, >    I'm on Ubuntu and currently only have version 2.22.1 installed so I >could upgrade a few versions by installing outside the package manager, if >that was required. >I'm not the music notation, or

Sections or movements in a piece

2023-02-01 Thread John Whitmore
Hello all, I'm on Ubuntu and currently only have version 2.22.1 installed so I could upgrade a few versions by installing outside the package manager, if that was required. I'm not the music notation, or music, expert and not sure what is the exact term for what it is I'm trying to do. I was

Re: \stopStaff \startStaff spacing & line continuity

2023-02-01 Thread Jean Abou Samra
On 01/02/2023 02:56, Ahanu Banerjee wrote: > I am trying to modify the color of the ledger lines for a single note. My > understanding is that I need to use \stopStaff and \startStaff for this. > However, doing so causes the staff lines to be discontinuous. This rounds the > ends of the staff

Re: Error in Extending Lilypond example

2023-02-01 Thread Jean Abou Samra
On 01/02/2023 18:05, Saul Tobin wrote: > Oh wow really? It's the best/only documentation for several things that > aren't really covered in the official Extending docs. Maybe it should become > official? Or at least easier to find.I didn't know it existed until you > posted to the list about

Re: Error in Extending Lilypond example

2023-02-01 Thread Saul Tobin
Oh wow really? It's the best/only documentation for several things that aren't really covered in the official Extending docs. Maybe it should become official? Or at least easier to find. I didn't know it existed until you posted to the list about translations – it doesn't come up on Google search

Re: Error in Extending Lilypond example

2023-02-01 Thread Jean Abou Samra
On 01/02/2023 11:12, Jean Abou Samra wrote: > Saul, > > >> Le 1 févr. 2023 à 04:16, Saul Tobin a écrit : >> >> The fourth example engraver here: >> https://extending-lilypond.readthedocs.io/en/latest/extending/translation.html#fourth-engraver-example >> >> Running this code in 2.24 crashes on

Re: \stopStaff shows/doesn't show ledger lines?

2023-02-01 Thread Jean Abou Samra
On 01/02/2023 17:49, Valentin Petzel wrote: > Hello Richard, > > This is not so much a bug in \stopStaff, but an inconsistency in the > LedgerLineSpanner engraver. It is good you’ve found a workaround that works > for you! If you see a bug, please file a GitLab issue. Thanks, Jean

Re: \stopStaff shows/doesn't show ledger lines?

2023-02-01 Thread Valentin Petzel
Hello Richard, This is not so much a bug in \stopStaff, but an inconsistency in the LedgerLineSpanner engraver. It is good you’ve found a workaround that works for you! Valentin Am Mittwoch, 1. Februar 2023, 17:08:48 CET schrieb Richard Shann: > Thank you for the quick response Valentin > >

Re: \stopStaff shows/doesn't show ledger lines?

2023-02-01 Thread Richard Shann
Thank you for the quick response Valentin On Wed, 2023-02-01 at 13:52 +0100, Valentin Petzel wrote: > Hello Richard, > > the problem here is that the LedgerLineSpanner tries to reference > it’s staff > symbol, which is set when the Spanner is created. So the > LedgerLineSpanner > does not know

Re: Multiple instances of same articulation/bowing on one note

2023-02-01 Thread David Kastrup
Valentin Petzel writes: > Hello David, > > the commit that introduced this was > > https://gitlab.com/lilypond/lilypond/-/commit/b480b873c8cc686765c1f188be696636c2018adc[1] > > Now, I did not use Lilypond in 2004 so I cannot say for sure, > but I think this should have worked before that commit.

Re: Multiple instances of same articulation/bowing on one note

2023-02-01 Thread Valentin Petzel
Hello David, the commit that introduced this was https://gitlab.com/lilypond/lilypond/-/commit/b480b873c8cc686765c1f188be696636c2018adc[1] Now, I did not use Lilypond in 2004 so I cannot say for sure, but I think this should have worked before that commit. But I suppose we could try it we

Re: Multiple instances of same articulation/bowing on one note

2023-02-01 Thread David Kastrup
Valentin Petzel writes: >> Am Mittwoch, 1. Februar 2023, 13:21:49 CET schrieb: >>> Ahanu Banerjee writes: >>> > I suppose there are different definitions for what a "bug" is. I said >>> > it was not one because it is obviously intended behavior >>> >>> More like an unintended side effect of

Re: \stopStaff shows/doesn't show ledger lines?

2023-02-01 Thread Valentin Petzel
Hello Richard, the problem here is that the LedgerLineSpanner tries to reference it’s staff symbol, which is set when the Spanner is created. So the LedgerLineSpanner does not know the StaffSymbol ended. The LedgerLineSpanner will be broken on encountering a new StaffSymbol. To solve this

Re: Multiple instances of same articulation/bowing on one note

2023-02-01 Thread Valentin Petzel
I’d say this is pretty much what we call a regression ... Am Mittwoch, 1. Februar 2023, 13:21:49 CET schrieb David Kastrup: > Ahanu Banerjee writes: > > I suppose there are different definitions for what a "bug" is. I said > > it was not one because it is obviously intended behavior > > More

Re: Multiple instances of same articulation/bowing on one note

2023-02-01 Thread David Kastrup
Ahanu Banerjee writes: > I suppose there are different definitions for what a "bug" is. I said > it was not one because it is obviously intended behavior More like an unintended side effect of implementing obviously intended behavior. -- David Kastrup

Re: \stopStaff shows/doesn't show ledger lines?

2023-02-01 Thread Richard Shann
On Wed, 2023-02-01 at 10:35 +, Richard Shann wrote: > In this piece I've discovered this can be made still more minimal: \version "2.24" music = { e'''1 \stopStaff e'''1 \break e'''1 } \score { \music } The \break is needed. Richard > the note on the first system has ledger

Re: Error in Extending Lilypond example

2023-02-01 Thread Jean Abou Samra
> Le 1 févr. 2023 à 11:23, Thomas Morley a écrit : > > Am Mi., 1. Feb. 2023 um 04:16 Uhr schrieb Saul Tobin > : >> >> The fourth example engraver here: >> https://extending-lilypond.readthedocs.io/en/latest/extending/translation.html#fourth-engraver-example >> >> Running this code in 2.24

Re: Error in Extending Lilypond example

2023-02-01 Thread Thomas Morley
Am Mi., 1. Feb. 2023 um 04:16 Uhr schrieb Saul Tobin : > > The fourth example engraver here: > https://extending-lilypond.readthedocs.io/en/latest/extending/translation.html#fourth-engraver-example > > Running this code in 2.24 crashes on initializing the engraver with In > procedure

\stopStaff shows/doesn't show ledger lines?

2023-02-01 Thread Richard Shann
In this piece the note on the first system has ledger lines typeset while those on the second does not. \version "2.24" music = { s1*4/4 \stopStaff e'''1 s1*4/4 \break e'''1 s1*4/4 } \score { \music } The entry in the documentation for \stopStaff

Re: Error in Extending Lilypond example

2023-02-01 Thread Jean Abou Samra
Saul, > Le 1 févr. 2023 à 04:16, Saul Tobin a écrit : > > The fourth example engraver here: > https://extending-lilypond.readthedocs.io/en/latest/extending/translation.html#fourth-engraver-example > > Running this code in 2.24 crashes on initializing the engraver with In > procedure

Re: Multiple instances of same articulation/bowing on one note

2023-02-01 Thread Valentin Petzel
Hello Ahanu, the cleanest way would be if this was fixed in code, but else instead of your << ... >> constructs it suffices to do \version "2.24.0" \language "english" { g8 \new Voice <>^\upbow g_\upbow g g } In fact we can use a little music function to get this done really beautifully: