Re: Is the default value for Beam.details.stem-length-demerit-factor too small?

2022-09-30 Thread Werner LEMBERG


> Increasing the Beam.details.stem-length-demerit-factor does prevent
> this and produces an in my eyes slightly better looking Beam.

+1

Have you run LilyPond's test suite to check whether everything else
looks fine with this setting?


Werner



Re: Is the default value for Beam.details.stem-length-demerit-factor too small?

2022-09-30 Thread Martín Rincón Botero
  
  

 +1
  
  

  
  
>   
> On Sep 29, 2022 at 9:28 PM,  mailto:valen...@petzel.at)>  
> wrote:
>   
>   
> 
>
> Hello Pondmates!
>
>   
>   
>
>  Doricos old development blog features an issue about Beams:
>
>   
>
>   https://blog.dorico.com/2015/03/development-diary-part-10/
>
>   
>   
>
> Daniel Spreadbury does remark on the the shortness of certain beamed Stems in 
> Lilypond (Product C).
>
>   
>   
>
>  Increasing the Beam.details.stem-length-demerit-factor does prevent this and 
> produces an in my eyes slightly better looking Beam.
>
>   
>   
>
> Thus I hope to start a discussion on whether maybe Lilypond’s default value 
> is maybe a bit too lenient on short Stems.
>
>   
>   
>
>  Cheers,
>
>   
>
>  Valentin
>
>   
>   
  
  
   

Re: exit-hook never executed

2022-09-30 Thread Jean Abou Samra
Oh dear, I sent my reply to the wrong list and now we’re discussing on 
lilypond-user instead of guile-user. Sorry LilyPond folks, this was not for 
this list. Forwarding to guile-user, please remove lilypond-user when replying.



> Le 30 sept. 2022 à 17:35, Olivier Dion  a écrit :
> 
> On Sun, 25 Sep 2022, Jean Abou Samra  wrote:
> 
>> It looks like Guile only uses exit-hook for (ice-9 readline), so it
>> doesn't bother to call it when not running as REPL.
> 
> Right it looks like it.
> 
>> Maybe you could use a finalizer attached to a C global variable?
>> (I didn't test.)
> 
> I don't think finalizer would be good enough since there's no guaranteed
> that it's called?  I've opted for a syntax rule that expand into a
> dynamic wind.
> 




Score, DS and Coda Question

2022-09-30 Thread Greg Lindstrom
Hello Everyone,

I've engraved a score which includes a "D.S." and Coda. I had no problem
adding the Text (D.S. al Coda") and signs, but currently there is no break
in the score between after the measure to go back to the sign and the
actual coda. In other works I've seen, the Coda is "broken off" from the
main score to make it stand out.

I have ideas on how to do this but thought I'd ask because I went to the
trouble to manually combine two parts in the score only to later discover
the \partCombine feature. Before I try to "tong and hammer" this, is there
a better (easier, "lilypond") way?

Thanks!
--greg


Re: Score, DS and Coda Question

2022-09-30 Thread Valentin Petzel
Hello Greg,

could you maybe be a bit more specific about what you want to achieve? Maybe 
add an image or something.

Cheers,
Valentin

Am Freitag, 30. September 2022, 20:22:01 CEST schrieb Greg Lindstrom:
> Hello Everyone,
> 
> I've engraved a score which includes a "D.S." and Coda. I had no problem
> adding the Text (D.S. al Coda") and signs, but currently there is no break
> in the score between after the measure to go back to the sign and the
> actual coda. In other works I've seen, the Coda is "broken off" from the
> main score to make it stand out.
> 
> I have ideas on how to do this but thought I'd ask because I went to the
> trouble to manually combine two parts in the score only to later discover
> the \partCombine feature. Before I try to "tong and hammer" this, is there
> a better (easier, "lilypond") way?
> 
> Thanks!
> --greg



signature.asc
Description: This is a digitally signed message part.


Re: Score, DS and Coda Question

2022-09-30 Thread Aaron Hill

On 2022-09-30 11:22 am, Greg Lindstrom wrote:
I've engraved a score which includes a "D.S." and Coda. I had no 
problem
adding the Text (D.S. al Coda") and signs, but currently there is no 
break

in the score between after the measure to go back to the sign and the
actual coda. In other works I've seen, the Coda is "broken off" from 
the

main score to make it stand out.

I have ideas on how to do this but thought I'd ask because I went to 
the
trouble to manually combine two parts in the score only to later 
discover
the \partCombine feature. Before I try to "tong and hammer" this, is 
there

a better (easier, "lilypond") way?


Manually inserting a \break might suffice.  That's all I do in my 
scores.


If you need more than that, the LSR [1] offers several ways to handle 
coda positioning.  \pseudoIndent [2] is an especially powerful tool.


[1]: https://lsr.di.unimi.it/LSR/Search?q=coda
[2]: https://lsr.di.unimi.it/LSR/Item?id=1098


-- Aaron Hill



Re: Score, DS and Coda Question

2022-09-30 Thread Hans Aikema
Greg,I think what you're looking for is present in the selected snippets section of the documentation:https://lilypond.org/doc/v2.22/Documentation/snippets/repeats#repeats-positioning-segno-and-coda-_0028with-line-break_0029On 30 Sep 2022, at 20:33, Valentin Petzel  wrote:Hello Greg,could you maybe be a bit more specific about what you want to achieve? Maybe add an image or something.Cheers,ValentinAm Freitag, 30. September 2022, 20:22:01 CEST schrieb Greg Lindstrom:Hello Everyone,I've engraved a score which includes a "D.S." and Coda. I had no problemadding the Text (D.S. al Coda") and signs, but currently there is no breakin the score between after the measure to go back to the sign and theactual coda. In other works I've seen, the Coda is "broken off" from themain score to make it stand out.I have ideas on how to do this but thought I'd ask because I went to thetrouble to manually combine two parts in the score only to later discoverthe \partCombine feature. Before I try to "tong and hammer" this, is therea better (easier, "lilypond") way?Thanks!--greg

signature.asc
Description: Binary data


Re: Score, DS and Coda Question

2022-09-30 Thread Greg Lindstrom
Oh, good gravy! IT IS in the snippets; I can't believe I missed it:

Positioning segno and coda (with line break)

https://lilypond.org/doc/v2.22/Documentation/snippets/repeats#repeats-positioning-segno-and-coda-_0028with-line-break_0029

My apologies, everyone. I really do try to find things in the documentation
before asking.

--greg



On Fri, Sep 30, 2022 at 1:36 PM Hans Aikema  wrote:

> Greg,
>
> I think what you're looking for is present in the selected snippets
> section of the documentation:
>
>
> https://lilypond.org/doc/v2.22/Documentation/snippets/repeats#repeats-positioning-segno-and-coda-_0028with-line-break_0029
>
>
> On 30 Sep 2022, at 20:33, Valentin Petzel  wrote:
>
> Hello Greg,
>
> could you maybe be a bit more specific about what you want to achieve?
> Maybe
> add an image or something.
>
> Cheers,
> Valentin
>
> Am Freitag, 30. September 2022, 20:22:01 CEST schrieb Greg Lindstrom:
>
> Hello Everyone,
>
>
> I've engraved a score which includes a "D.S." and Coda. I had no problem
>
> adding the Text (D.S. al Coda") and signs, but currently there is no break
>
> in the score between after the measure to go back to the sign and the
>
> actual coda. In other works I've seen, the Coda is "broken off" from the
>
> main score to make it stand out.
>
>
> I have ideas on how to do this but thought I'd ask because I went to the
>
> trouble to manually combine two parts in the score only to later discover
>
> the \partCombine feature. Before I try to "tong and hammer" this, is there
>
> a better (easier, "lilypond") way?
>
>
> Thanks!
>
> --greg
>
>
>


Re: Score, DS and Coda Question

2022-09-30 Thread Hans Aikema


> On 30 Sep 2022, at 20:48, Greg Lindstrom  wrote:
> 
> 
> Oh, good gravy! IT IS in the snippets; I can't believe I missed it:
> 
> Positioning segno and coda (with line break)
> 
> https://lilypond.org/doc/v2.22/Documentation/snippets/repeats#repeats-positioning-segno-and-coda-_0028with-line-break_0029
> 
> My apologies, everyone. I really do try to find things in the documentation 
> before asking. 
> 
> --greg

In my experience sometimes you can be running in circles for a while not 
finding what you're looking for... until you ask, get the answer and then 
wonder why you hadn't found it. (and as a programmer, sometimes you even find 
the answer yourself when all you do is try to explain the problem you're 
looking to solve to someone else)

So keep asking here if you're stuck and can't seem to find it. I already 
presumed you had been looking without success in the documentation.

Re: exit-hook never executed

2022-09-30 Thread Olivier Dion via LilyPond user discussion
On Sun, 25 Sep 2022, Jean Abou Samra  wrote:

> It looks like Guile only uses exit-hook for (ice-9 readline), so it
> doesn't bother to call it when not running as REPL.

Right it looks like it.

> Maybe you could use a finalizer attached to a C global variable?
> (I didn't test.)

I don't think finalizer would be good enough since there's no guaranteed
that it's called?  I've opted for a syntax rule that expand into a
dynamic wind.


-- 
Olivier Dion
oldiob.dev



Re: exit-hook never executed

2022-09-30 Thread Olivier Dion via LilyPond user discussion
On Sun, 25 Sep 2022, Jean Abou Samra  wrote:

> It looks like Guile only uses exit-hook for (ice-9 readline), so it
> doesn't bother to call it when not running as REPL.

Right it looks like it.

> Maybe you could use a finalizer attached to a C global variable?
> (I didn't test.)

I don't think finalizer would be good enough since there's no guaranteed
that it's called?  I've opted for a syntax rule that expand into a
dynamic wind.


-- 
Olivier Dion
oldiob.dev