Re: DurationLine avoiding RehearsalMarks

2022-04-17 Thread Mark Knoop
At 13:09 on 16 Apr 2022, Thomas Morley wrote: Am Mo., 11. Apr. 2022 um 11:03 Uhr schrieb Thomas Morley : I hesitate to post untested wip-code on the user-list, I'll send it privately. Hi Mark, MR is now open: https://gitlab.com/lilypond/lilypond/-/merge_requests/1310 Apart from huge

Re: DurationLine avoiding RehearsalMarks

2022-04-16 Thread Thomas Morley
Am Mo., 11. Apr. 2022 um 11:03 Uhr schrieb Thomas Morley : > > I hesitate to post untested wip-code on the user-list, I'll send it privately. > Hi Mark, MR is now open: https://gitlab.com/lilypond/lilypond/-/merge_requests/1310 Apart from huge simplifictions it fixes the initial problem of this

Re: DurationLine avoiding RehearsalMarks

2022-04-15 Thread Jean Abou Samra
Le 15/04/2022 à 20:03, Thomas Morley a écrit : My concern at first glance was for the right side: Only the last broken spanner should use right, all the others right-broken. Yup, that's the meaning of the C++ code   Lily::Variable checker = ((dir == LEFT)     ?

Re: DurationLine avoiding RehearsalMarks

2022-04-15 Thread Thomas Morley
Am Fr., 15. Apr. 2022 um 13:27 Uhr schrieb Jean Abou Samra : > > > > Le 15/04/2022 à 13:17, Thomas Morley a écrit : > > Am Fr., 15. Apr. 2022 um 12:52 Uhr schrieb Jean Abou Samra > > : > >> > >> > >> Le 15/04/2022 à 11:45, Thomas Morley a écrit : > >>> Am Fr., 15. Apr. 2022 um 10:39 Uhr schrieb

Re: DurationLine avoiding RehearsalMarks

2022-04-15 Thread Jean Abou Samra
Le 15/04/2022 à 13:17, Thomas Morley a écrit : Am Fr., 15. Apr. 2022 um 12:52 Uhr schrieb Jean Abou Samra : Le 15/04/2022 à 11:45, Thomas Morley a écrit : Am Fr., 15. Apr. 2022 um 10:39 Uhr schrieb Jean Abou Samra : Le 15/04/2022 à 10:13, Thomas Morley a écrit : Am Mi., 13. Apr. 2022 um

Re: DurationLine avoiding RehearsalMarks

2022-04-15 Thread Thomas Morley
Am Fr., 15. Apr. 2022 um 12:52 Uhr schrieb Jean Abou Samra : > > > > Le 15/04/2022 à 11:45, Thomas Morley a écrit : > > Am Fr., 15. Apr. 2022 um 10:39 Uhr schrieb Jean Abou Samra > > : > >> > >> > >> Le 15/04/2022 à 10:13, Thomas Morley a écrit : > >>> Am Mi., 13. Apr. 2022 um 17:57 Uhr schrieb

Re: DurationLine avoiding RehearsalMarks

2022-04-15 Thread Jean Abou Samra
Le 15/04/2022 à 11:45, Thomas Morley a écrit : Am Fr., 15. Apr. 2022 um 10:39 Uhr schrieb Jean Abou Samra : Le 15/04/2022 à 10:13, Thomas Morley a écrit : Am Mi., 13. Apr. 2022 um 17:57 Uhr schrieb Jean Abou Samra : Le 13/04/2022 à 17:03, Thomas Morley a écrit : Am Di., 12. Apr. 2022 um

Re: DurationLine avoiding RehearsalMarks

2022-04-15 Thread Thomas Morley
Am Fr., 15. Apr. 2022 um 10:39 Uhr schrieb Jean Abou Samra : > > > > Le 15/04/2022 à 10:13, Thomas Morley a écrit : > > Am Mi., 13. Apr. 2022 um 17:57 Uhr schrieb Jean Abou Samra > > : > >> Le 13/04/2022 à 17:03, Thomas Morley a écrit : > >>> Am Di., 12. Apr. 2022 um 11:54 Uhr schrieb Jean Abou

Re: DurationLine avoiding RehearsalMarks

2022-04-15 Thread Jean Abou Samra
Le 15/04/2022 à 10:13, Thomas Morley a écrit : Am Mi., 13. Apr. 2022 um 17:57 Uhr schrieb Jean Abou Samra : Le 13/04/2022 à 17:03, Thomas Morley a écrit : Am Di., 12. Apr. 2022 um 11:54 Uhr schrieb Jean Abou Samra : Le 12/04/2022 à 11:16, Thomas Morley a écrit : [...] In many details

Re: DurationLine avoiding RehearsalMarks

2022-04-15 Thread Thomas Morley
Am Mi., 13. Apr. 2022 um 17:57 Uhr schrieb Jean Abou Samra : > > Le 13/04/2022 à 17:03, Thomas Morley a écrit : > > Am Di., 12. Apr. 2022 um 11:54 Uhr schrieb Jean Abou Samra > > : > >> Le 12/04/2022 à 11:16, Thomas Morley a écrit : > > [...] > >>> In many details DurationLine was tailored after

Re: DurationLine avoiding RehearsalMarks

2022-04-13 Thread Jean Abou Samra
Le 13/04/2022 à 17:57, Jean Abou Samra a écrit : Le 13/04/2022 à 17:03, Thomas Morley a écrit : Am Di., 12. Apr. 2022 um 11:54 Uhr schrieb Jean Abou Samra : Le 12/04/2022 à 11:16, Thomas Morley a écrit : [...] In many details DurationLine was tailored after Glissando and Glissando _is_

Re: DurationLine avoiding RehearsalMarks

2022-04-13 Thread Jean Abou Samra
Le 13/04/2022 à 17:03, Thomas Morley a écrit : Am Di., 12. Apr. 2022 um 11:54 Uhr schrieb Jean Abou Samra : Le 12/04/2022 à 11:16, Thomas Morley a écrit : [...] In many details DurationLine was tailored after Glissando and Glissando _is_ effected by the breathing sign. [...] Well, if the

Re: DurationLine avoiding RehearsalMarks

2022-04-13 Thread Thomas Morley
Am Di., 12. Apr. 2022 um 11:54 Uhr schrieb Jean Abou Samra : > Le 12/04/2022 à 11:16, Thomas Morley a écrit : [...] > > In many details DurationLine was tailored after Glissando and > > Glissando _is_ effected by the breathing sign. [...] > Well, if the goal is to have DurationLine similar to

Re: DurationLine avoiding RehearsalMarks

2022-04-12 Thread Simon Albrecht
Hi Jean, On 11/04/2022 18:04, Jean Abou Samra wrote: Well, maybe it doesn't make sense anyway -- I don't think I've ever seen a breathing sign in one staff and not another. It definitely happens and is perfectly valid musically. Breathing_sign_engraver sits in Voice (and similar) by

Re: DurationLine avoiding RehearsalMarks

2022-04-12 Thread Thomas Morley
Am Di., 12. Apr. 2022 um 12:34 Uhr schrieb Jean Abou Samra : > > Le 12/04/2022 à 11:35, Thomas Morley a écrit : > > Hi Jean, > > > > this one is about codings > > > > Am Mo., 11. Apr. 2022 um 18:04 Uhr schrieb Jean Abou Samra > > : > > > How about adding a Scheme interface for >

Re: DurationLine avoiding RehearsalMarks

2022-04-12 Thread Jean Abou Samra
Le 12/04/2022 à 11:35, Thomas Morley a écrit : Hi Jean, this one is about codings Am Mo., 11. Apr. 2022 um 18:04 Uhr schrieb Jean Abou Samra : How about adding a Scheme interface for Axis_group_interface::staff_extent from lily/axis-group-interface.cc and using it in duration-line::print?

Re: DurationLine avoiding RehearsalMarks

2022-04-12 Thread Jean Abou Samra
Le 12/04/2022 à 11:16, Thomas Morley a écrit : Hi Jean, thanks for all your work and explanations. I'll split my answer into different mails. This one is about the design Am Mo., 11. Apr. 2022 um 18:04 Uhr schrieb Jean Abou Samra : Le 11/04/2022 à 17:20, Thomas Morley a écrit : Well, your

Re: DurationLine avoiding RehearsalMarks

2022-04-12 Thread Thomas Morley
Hi Jean, this one is about codings Am Mo., 11. Apr. 2022 um 18:04 Uhr schrieb Jean Abou Samra : > >> How about adding a Scheme interface for Axis_group_interface::staff_extent > >> from lily/axis-group-interface.cc and using it in duration-line::print? > > Please remember I don't know C++, thus

Re: DurationLine avoiding RehearsalMarks

2022-04-12 Thread Thomas Morley
Hi Jean, thanks for all your work and explanations. I'll split my answer into different mails. This one is about the design Am Mo., 11. Apr. 2022 um 18:04 Uhr schrieb Jean Abou Samra : > > Le 11/04/2022 à 17:20, Thomas Morley a écrit : > > Well, your example prints as I would wish it should. > >

Re: DurationLine avoiding RehearsalMarks

2022-04-11 Thread Jean Abou Samra
Le 11/04/2022 à 17:20, Thomas Morley a écrit : Well, your example prints as I would wish it should. Alas, there are obviously different opinions. Look at: \layout { \context { \Voice \consists Duration_line_engraver } } << \new Staff { \override

Re: DurationLine avoiding RehearsalMarks

2022-04-11 Thread Thomas Morley
Am Mo., 11. Apr. 2022 um 12:40 Uhr schrieb Jean Abou Samra : > > Le 11/04/2022 à 10:30, Thomas Morley a écrit : > > Hi Mark, > > DurationLine is designed not to be printed if breakable items at > > line-end/start are present, like Clef, KeySignature etc. > > I wasn't aware RehearsalMark is

Re: DurationLine avoiding RehearsalMarks

2022-04-11 Thread Jean Abou Samra
Le 11/04/2022 à 10:30, Thomas Morley a écrit : Hi Mark, DurationLine is designed not to be printed if breakable items at line-end/start are present, like Clef, KeySignature etc. I wasn't aware RehearsalMark is ofcourse one of them. Currently I'm preparing a patch to disregard RehearsalMark. Is

Re: DurationLine avoiding RehearsalMarks

2022-04-11 Thread Mark Knoop
At 11:03 on 11 Apr 2022, Thomas Morley wrote: Am Mo., 11. Apr. 2022 um 10:56 Uhr schrieb Mark Knoop : At 10:30 on 11 Apr 2022, Thomas Morley wrote: Am Mo., 11. Apr. 2022 um 09:53 Uhr schrieb Mark Knoop : At 19:12 on 10 Apr 2022, Mark Knoop wrote: I'm trying to debug some issues I'm having

Re: DurationLine avoiding RehearsalMarks

2022-04-11 Thread Thomas Morley
Am Mo., 11. Apr. 2022 um 10:56 Uhr schrieb Mark Knoop : > > At 10:30 on 11 Apr 2022, Thomas Morley wrote: > > Am Mo., 11. Apr. 2022 um 09:53 Uhr schrieb Mark Knoop : > >> At 19:12 on 10 Apr 2022, Mark Knoop wrote: > >>> I'm trying to debug some issues I'm having with the new DurationLine > >>>

Re: DurationLine avoiding RehearsalMarks

2022-04-11 Thread Mark Knoop
At 10:30 on 11 Apr 2022, Thomas Morley wrote: Am Mo., 11. Apr. 2022 um 09:53 Uhr schrieb Mark Knoop : At 19:12 on 10 Apr 2022, Mark Knoop wrote: I'm trying to debug some issues I'm having with the new DurationLine grob. Previously I've been using a TextSpanner to achieve similar results. One

Re: DurationLine avoiding RehearsalMarks

2022-04-11 Thread Thomas Morley
Am Mo., 11. Apr. 2022 um 09:53 Uhr schrieb Mark Knoop : > > > At 19:12 on 10 Apr 2022, Mark Knoop wrote: > > I'm trying to debug some issues I'm having with the new DurationLine grob. > > Previously I've been using a TextSpanner to achieve similar results. > > > > One issue is that DurationLine

Re: DurationLine avoiding RehearsalMarks

2022-04-11 Thread Mark Knoop
At 19:12 on 10 Apr 2022, Mark Knoop wrote: I'm trying to debug some issues I'm having with the new DurationLine grob. Previously I've been using a TextSpanner to achieve similar results. One issue is that DurationLine adds space at the left side of a broken spanner, seemingly to avoid