Re: displaying `script-priority`

2023-12-13 Thread Michael Werner
Hi Werner, On Thu, Dec 14, 2023 at 12:03 AM Werner LEMBERG wrote: > > Walking through some unanswered e-mails of mine I stumbled across this > one, asked in October. > > https://lists.gnu.org/archive/html/lilypond-user/2023-10/msg00222.html > > > How can I make LilyPond display the actual

Re: lilypond "preprocessor"?

2023-12-13 Thread Stefano Antonelli
On Tue, 2023-12-12 at 14:46 -0800, Stefano Antonelli wrote: > #(define (add-midi-to-score score) >(define (has-midi? score) > (any (lambda (x) (ly:output-def-lookup x 'is-midi)) > (ly:score-output-defs score))) >(if (has-midi? score) score > #{ \score { $score \midi {}

Re: displaying `script-priority`

2023-12-13 Thread Werner LEMBERG
Walking through some unanswered e-mails of mine I stumbled across this one, asked in October. https://lists.gnu.org/archive/html/lilypond-user/2023-10/msg00222.html > How can I make LilyPond display the actual values of > `script-priority` for a stack of grobs? [...] Any suggestions how to

Re: Changes to Notename - lost some functionality

2023-12-13 Thread Jean Abou Samra
> There's may be one extra paren in there because it threw a syntax error. Yes, sorry. > Is that a proper fix, or is something else wrong? I wouldn't call it a “proper” fix because it's a bit too dependent on details that can easily change (specifically, whether the default `NoteName` text is

Re: Continuation slur and key signature with many sharps

2023-12-13 Thread Knute Snortum
On Wed, Dec 13, 2023 at 12:03 PM Jean Abou Samra wrote: > See issue #6639 . > Thanks. I searched for "continued" but not "broken." I'll know better next time (maybe). -- Knute Snortum

Re: Changes to Notename - lost some functionality

2023-12-13 Thread Stefano Antonelli
On Wed, 2023-12-13 at 21:29 +0100, Jean Abou Samra wrote: > The quick fix here is to change > > (let* ((default-name (ly:grob-property grob 'text))) > to > > (let* ((default-name (markup->string (ly:grob-property grob 'text > > in order to first get an approximate string representation of

Re: Changes to Notename - lost some functionality

2023-12-13 Thread Jean Abou Samra
This code is too big for me to digest it, but the basic problem is that  ``` (let* ((default-name (ly:grob-property grob 'text)) (new-name (assoc-get default-name newnames))) ``` is doing a lookup in your `newnames` alist with the value of `text` as the key. In more recent

Re: Changes to Notename - lost some functionality

2023-12-13 Thread Robin Bannister
Stefano Antonelli wrote: A good place to start is a minimum working example. I can't help debug this, but I put together a minimum working example that shows the problem. Maybe someone with better scheme can spot the problem. With liilypond v2.20 there is no issue. With lilypond v2.23.3

Re: Continuation slur and key signature with many sharps

2023-12-13 Thread Jean Abou Samra
See [issue #6639](https://gitlab.com/lilypond/lilypond/-/issues/6639). signature.asc Description: This is a digitally signed message part

Re: text over hairpin

2023-12-13 Thread Paul Scott
On 12/13/23 10:28 AM, David Wright wrote: On Wed 13 Dec 2023 at 09:54:41 (-0700), Paul Scott wrote: I should have changed my subject line to "text inside hairpin" before sending the original post. Inside relative to what, though? Between the two  lines of the hairpin. Paul (Think roads.

Re: Hide a note inside a drumscore

2023-12-13 Thread Sebastien Richard
Thanks for your reply I tried your exemple with the tie which also work great In the full drumscore the tie gets "pushed" down. I'm trying to figure out a way to reposition it but I can't get any command to do so (tried "\tweak positions" and "\override Tie.positions") Any ideas ? "You are

Re: text over hairpin

2023-12-13 Thread David Wright
On Wed 13 Dec 2023 at 09:54:41 (-0700), Paul Scott wrote: > I should have changed my subject line to "text inside hairpin" before > sending the original post. Inside relative to what, though? (Think roads. In both the UK and the US, the "inside lane" is the one on the left, ie slow in the UK,

Re: text over hairpin

2023-12-13 Thread Paul Scott
I should have changed my subject line to "text inside hairpin" before sending the original post. Paul On 12/13/23 9:22 AM, Michael Werner wrote: Hi Paul, On Wed, Dec 13, 2023 at 10:36 AM Paul Scott wrote: How do I put text (molto) inside a hairpin?  I didn't see it in snippets

Continuation slur and key signature with many sharps

2023-12-13 Thread Knute Snortum
Hi List, Here is something that pops up now and then when I'm engraving with LilyPond: if a key signature has a lot of sharps, like the key of e major, sometimes a continuation slur will be too close to the key signature. Here is a snippet: %%% \version "2.25.11" \paper { ragged-right = ##t

Re: Changes to Notename - lost some functionality

2023-12-13 Thread Stefano Antonelli
On Wed, 2023-12-13 at 11:12 +0100, Sebastian Käppler wrote: > Any help on this would be appreciated, I'm a bit lost now where to > start. A good place to start is a minimum working example. I can't help debug this, but I put together a minimum working example that shows the problem. Maybe

Re: Hide a note inside a drumscore

2023-12-13 Thread David Kastrup
Sebastien Richard writes: > Hello, > > How can I hide a note inside a drum score ? I tried following the doc here > https://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objects > but I did not managed to make it work > > Here is an example where I want to hide the snare : > >

Re: text over hairpin

2023-12-13 Thread Paul Scott
On 12/13/23 9:22 AM, Michael Werner wrote: Hi Paul, On Wed, Dec 13, 2023 at 10:36 AM Paul Scott wrote: How do I put text (molto) inside a hairpin?  I didn't see it in snippets or NR. Found this in the Snippets:

Re: Hide a note inside a drumscore

2023-12-13 Thread Sebastien Richard
Hello, Thanks you for the quick reply works like a charm  - Seb From: Michael Werner Sent: Wednesday, December 13, 2023 17:19 To: Sebastien Richard Cc: lilypond-user@gnu.org Subject: Re: Hide a note inside a drumscore Hi Seb, On Wed, Dec 13, 2023 at

Re: text over hairpin

2023-12-13 Thread Michael Werner
Hi Paul, On Wed, Dec 13, 2023 at 10:36 AM Paul Scott wrote: > How do I put text (molto) inside a hairpin? I didn't see it in snippets > or NR. > Found this in the Snippets: http://lilypond.org/doc/v2.25/Documentation/snippets/expressive-marks_003a-center-text-below-hairpin-dynamics --

Re: Hide a note inside a drumscore

2023-12-13 Thread Michael Werner
Hi Seb, On Wed, Dec 13, 2023 at 11:00 AM Sebastien Richard wrote: > Hello, > > How can I hide a note inside a drum score ? I tried following the doc here > *https://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objects >

Hide a note inside a drumscore

2023-12-13 Thread Sebastien Richard
Hello, How can I hide a note inside a drum score ? I tried following the doc here https://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objects but I did not managed to make it work Here is an example where I want to hide the snare : \version "2.24.2" up = \drummode {

text over hairpin

2023-12-13 Thread Paul Scott
How do I put text (molto) inside a hairpin?  I didn't see it in snippets or NR. TIA, Paul

Changes to Notename - lost some functionality

2023-12-13 Thread Sebastian Käppler
Dear lilypond experts, I seem to have missed some changes to LilyPond between 2.19.82 and current versions. I use a quite big script to automatically generate some music theory tasks for my students (in German). I'll post the complete example below. However, my code for creating note names