Re: Display Question Mark at center of a measure

2022-01-18 Thread Jean Abou Samra
Le 18/01/2022 à 19:14, Rajesh Baskar a écrit : Thanks Lukas and Jean for your help. There is an issue with the below solution. Whenadding <<  and >> the visual is correct but while playing the score the first measure notes all play together. I'm guessing it's because of << >>. Is there a way

Re: ice-9 i18n string-locale-upcase

2022-01-18 Thread Jean Abou Samra
Le 18/01/2022 à 20:37, Simon Albrecht a écrit : On 18/01/2022 18:52, Jean Abou Samra wrote: Because this is documentation for Guile 2 and current releases of LilyPond still have Guile 1.8. Thanks for the speedy reply! I wasn’t sure whether the switch to Guile 2 had already been made. I got

Re: ice-9 i18n string-locale-upcase

2022-01-18 Thread Jean Abou Samra
Le 18/01/2022 à 18:01, Simon Albrecht a écrit : Hi everyone, I wanted to set up some customisable headings using #(string-upcase "string"), but it doesn’t work on German umlauts, so I came upon string-locale-upcase on this page:

Re: [openLilyLib] oll-core incompatible with Guile 2.2

2022-01-18 Thread Jean Abou Samra
… ... this applies to me as well, so I haven't tested anything else and don't intend to delve deeper than this for now. Best, Jean From 84078085af9d83e4f5fa3bfa93f7804e99803698 Mon Sep 17 00:00:00 2001 From: Jean Abou Samra Date: Wed, 19 Jan 2022 01:37:41 +0100 Subject: [PATCH] Quick fixes for Guile 2

Re: [openLilyLib] oll-core incompatible with Guile 2.2

2022-01-18 Thread Jean Abou Samra
Le 19/01/2022 à 01:45, Jean Abou Samra a écrit : Le 18/01/2022 à 20:43, Simon Albrecht a écrit : Dear list, I have started using the experimental 2.23.5 build with Guile 2.2 [1] and it turns out to be incompatible with the core of openLilyLib. Here are the error messages I got—it may

Re: Display Question Mark at center of a measure

2022-01-18 Thread Jean Abou Samra
Le 19/01/2022 à 00:40, Rajesh Baskar a écrit : Hi Jean, Here is the complete code. Yes. Here is a simplified example: \version "2.22.1" \score {   {     \startMeasureCount     <<   \hideNotes b'4 a' g' a'   \new Voice { R1 }     >>     \stopMeasureCount   }   \midi { }   \layout

Re: learning (names of) markup commands in scheme: documentation

2022-01-21 Thread Jean Abou Samra
plans of similar scope, and [I] work on LilyPond as a hobby in otherwise already LilyPond development is for me a hobby in already otherwise busy weeks. Talk about busy weeks...

Re: learning (names of) markup commands in scheme: documentation

2022-01-21 Thread Jean Abou Samra
Le 21/01/2022 à 08:57, Bernhard Fisseni a écrit : Good morning, trying to understand the programming a bit better, I managed to transform the mixed command definitions to scheme code (see below). I've learnt the following in the process; should some of it be made more explicit in the

Re: Inputting music in parts

2022-01-06 Thread Jean Abou Samra
Le 06/01/2022 à 21:36, Paulo Matos a écrit : Hi, I have some music I want to transcribe that has 2 parts: A and B the music goes: part A part B part A with special ending I could of course define variables like: \partA = \partAtransition = \partAending = \partB = and then write the music as

Re: Automatic Clef Change

2022-01-06 Thread Jean Abou Samra
Le 05/01/2022 à 07:51, Calvin Ransom a écrit : Hi everyone, I want to avoid excessive ledger lines in my score and have LilyPond change the clef automatically. I am creating a computer generated piece with LilyPond that covers the entire pitch gamut. \autochange does not work for this

Re: change of behavior for cue notes in 2.23.5

2022-01-06 Thread Jean Abou Samra
Le 02/01/2022 à 17:06, Paul Scott a écrit : Happy New Year, all. I thought I've always been able to get overlapping cues to work. I have looked at the changes for 2.23.5 Why are the stem directions not working in this example?  This sometimes leads to: an = \fixed c' { a8

Re: 2.23.5 articulate.ly and repeat alternatives

2022-01-06 Thread Jean Abou Samra
Le 06/01/2022 à 02:10, Joel C. Salomon a écrit : A nice thing I’ve discovered in reviving my old (2.18) project is that articulate.ly now expands repeats without `\unfoldRepeats`.  A less-nice thing is that this behavior behaves oddly around `\alternative`:     \version "2.23.5"    

Re: Arpeggio - bracket > curly bracket

2022-01-19 Thread Jean Abou Samra
Le 19/01/2022 à 09:46, Thomas Scharkowski a écrit : Hallo, I’d like to replace the arpeggioBracket by a curly bracket / brace. Thank your for your help! Here's a stencil callback reading the vertical start and end positions of the arpeggio and printing a bracket accordingly: \version

Re: Arpeggio - bracket > curly bracket

2022-01-19 Thread Jean Abou Samra
Le 19/01/2022 à 14:47, Thomas Scharkowski a écrit : This does not work for me (I did change of course PianoStaff to Staff). To get the „normal“ brackets I use: \override Staff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket This works for me: \version "2.22.1" spanArpeggioBrace = \once

Re: Arpeggio - bracket > curly bracket

2022-01-19 Thread Jean Abou Samra
Le 19/01/2022 à 13:58, Thomas Scharkowski a écrit : Am 19.01.2022 um 13:09 schrieb Jean Abou Samra : Le 19/01/2022 à 09:46, Thomas Scharkowski a écrit : Hallo, I’d like to replace the arpeggioBracket by a curly bracket / brace. Thank your for your help! Here's a stencil callback

Re: learning (names of) markup commands in scheme: documentation

2022-01-22 Thread Jean Abou Samra
22/01/2022 à 10:47, Bernhard Fisseni a écrit : Good morning, Jean, thank you very much for your detailed explanation!  This helps me to understands things a bit better. Jean Abou Samra schrieb am 21.01.22 um 19:30: Le 21/01/2022 à 08:57, Bernhard Fisseni a écrit : - There is a point

Re: Extracting a "score diff" from two [or more] Lilypond sources

2022-01-22 Thread Jean Abou Samra
Le 23/01/2022 à 00:14, Jean Abou Samra a écrit : Le 22/01/2022 à 22:51, Kieren MacMillan a écrit : Hi all! Given multiple Lilypond sources, I'm hoping to find a way to output a "diff file" describing the musical differences *as would be perceived by a human reading the score*. F

Re: confused about segno sign, Fine and D.S. al Fine and generating correct midi output

2022-01-22 Thread Jean Abou Samra
Le 22/01/2022 à 14:27, Valentin Petzel a écrit : Hello Kieren, I think you meant someone else :-) that seems to be correct. One could also try something like this. It deserves to be mentioned that \repeat segno has been implemented by Dan Eble in the development branch. It will be

Re: Extracting a "score diff" from two [or more] Lilypond sources

2022-01-22 Thread Jean Abou Samra
Le 22/01/2022 à 22:51, Kieren MacMillan a écrit : Hi all! Given multiple Lilypond sources, I'm hoping to find a way to output a "diff file" describing the musical differences *as would be perceived by a human reading the score*. For example, given Score #1 = \score { \new Staff << { c'1

Re: Changed bracket behaviour

2022-01-25 Thread Jean Abou Samra
ceive any music at all and ChoirStaff contexts are inserted inside Score. This has the consequence that the expected brace is not inserted. There are a number of similar cases. They were sorted out in the development series by this change in the LilyPond sources: commit e31b0b75a9a7b6e01ecd9c9a05dc3108a89273b

Re: Display Question Mark at center of a measure

2022-01-14 Thread Jean Abou Samra
Le 14/01/2022 à 10:39, Lukas-Fabian Moser a écrit : Hi Rajesh, Am 14.01.22 um 01:44 schrieb Rajesh Baskar: I'm tying to display a question mark at the center of the 1st measure in a 2 measure score. I have got this working with hard-coding the offset (3 . 4.5) but this will not work when

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: Workaround for issue 6307

2022-04-08 Thread Jean Abou Samra
Le 08/04/2022 à 21:54, Knute Snortum a écrit : Hi everyone. I am looking for a workaround for issue 6307 [1]. Under some circumstances, the stems of a beamed series of notes do not reach all the way down to the beam. I've tried several different ways to correct this, but without success. Any

Re: How to tweak dot sizes

2022-04-11 Thread Jean Abou Samra
Le 11/04/2022 à 12:56, Paul Hodges a écrit : I am in the last stages of preparing a score for publication.  I am using the Bravura font rather than Feta, because the publishers agree that it provides the best general match for other publications in the same series.  However, I am adding a

Re: Generate music with scheme

2022-04-11 Thread Jean Abou Samra
Le 11/04/2022 à 11:50, Henrik Frisk a écrit : Hi, I have not worked with scheme and lilypond for some years. I realize that this is more of a scheme question than Lilypond, but perhaps someone knows how to do this. I can generate four notes with the following:   \version "2.18.0"  

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: Location of guile socket Linux

2022-04-12 Thread Jean Abou Samra
Hi Kenneth, Le 11/04/2022 à 12:43, Kenneth Flak a écrit : Hi list, First time poster here, just starting to get my head around using lilypond together with scheme/guile! I use nvim, and I would love to be able to use this together with the scheme-playground. I guess you mean scheme-sandbox?

Re: how to repeat a scheme function that creates a Score

2022-04-06 Thread Jean Abou Samra
Le 06/04/2022 à 07:40, Jeff Olson a écrit : Two questions below re: (a) looping and (b) random seed. In order to investigate some other problems I'm having in a large project (pagination, memory usage) I learned enough scheme (barely) to define a function that generates a new score with each

Re: how to repeat a scheme function that creates a Score

2022-04-07 Thread Jean Abou Samra
Le 07/04/2022 à 07:55, Jeff Olson a écrit : On 4/6/2022 12:35 AM, Jean Abou Samra wrote: The attached MWE file has lots of my failed attempts commented out (I'm at a teachable moment if someone has a moment to teach).  Or just point me to the right manual page(s). Here is a piece of code

Re: bug in magnetic snapping lyrics engraver

2022-04-07 Thread Jean Abou Samra
Le 07/04/2022 à 11:44, Werner LEMBERG a écrit : Did I miss something? Whoops, big problem at line breaks ... This is ingenious :-) Thanks *a lot* for this solution. In my tests it seems to work fine You're welcome. Two comments. * I *strongly* vote for polishing and documenting this so

Re: problem with extending 'magnetic snapping lyrics' engraver

2022-04-06 Thread Jean Abou Samra
Le 06/04/2022 à 09:49, Werner LEMBERG a écrit : I'm trying to generalize the 'magnetic snapping lyrics' engraver (the most recent version posted as https://lists.gnu.org/archive/html/lilypond-user/2019-05/msg00389.html) by providing a new property `hyphen-formatter`, to be used instead of the

Re: Unable to use repeat volta

2022-04-07 Thread Jean Abou Samra
> Le 07/04/2022 16:19, Omer Katzir a écrit : > > > Using on macOS Monterey, compiled from macports > > Taken the snippet from > https://lilypond.org/doc/v2.23/Documentation/notation/long-repeats > > > > > \repeat volta 6 { > c4 d e f > \alternative { > \volta 1,2,3 { c2 e } > \volta

Re: installing lilypond-mode for emacs on Linux

2022-04-07 Thread Jean Abou Samra
Le 07/04/2022 à 20:36, Paul Scott a écrit : Greetings, I've forgotten too much.  I see the instructions for activating lilypond-mode and am not remembering enough to get it to work. What have you tried and what does not work? I hadn't thought of GNUmakefile but according to updatedb and

Re: bug in magnetic snapping lyrics engraver

2022-04-06 Thread Jean Abou Samra
Le 06/04/2022 à 20:17, Jean Abou Samra a écrit : Did I miss something? Whoops, big problem at line breaks ... \version "2.23.7" #(define (Left_hyphen_pointer_engraver context)    (let ((hyphen #f) (text #f)) (make-engraver   (acknowledgers    ((lyric-syllable

Re: bug in magnetic snapping lyrics engraver

2022-04-06 Thread Jean Abou Samra
Le 06/04/2022 à 14:33, Werner LEMBERG a écrit : Is someone taking care of bugs in the magnetic snapping lyrics engraver? Here is an example where it fails to position lyrics correctly (see last system in the image). Werner PS: I've attached a version of `magnetic-lyrics.ily` that

Re: Grace note between arpeggio mark and chord

2022-04-06 Thread Jean Abou Samra
Le 06/04/2022 à 17:44, Knute Snortum a écrit : Hi everyone. I have another engraving question. Without intervention, LilyPond puts a grace note to the left of an arpeggio mark. I want it to the right, between the arpeggio mark and the chord notes. Here is a snippet of the default

Re: just two questions

2022-04-06 Thread Jean Abou Samra
Hi Dario, Le 06/04/2022 à 22:46, Dario Marrini a écrit : hi people, I tried to search for these into docs, but I found everything but not what I needed, so, please, can you explain to me what's the meaning of these notation kinds? : * _\p_ or _ \p _ ( I don't remember well), where 'p'

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: Workaround for issue 6307

2022-04-08 Thread Jean Abou Samra
Le 08/04/2022 à 23:31, Knute Snortum a écrit : Works like a charm, thanks! Should I post this to the Issues page? That would be a good idea.

Re: Semi-flat insert to one instrument only

2022-04-11 Thread Jean Abou Samra
Le 12/04/2022 à 02:23, Riad Abdel-Gawad a écrit : Dear Jean, Here is an example of the type of flat with slash I need. The problem is that the "backward" flat is a Turkish (remnants from the Ottoman time Empire) notation and today Arab musicians prefer the "standard" notation, which is

Re: Custom keypad for streamlining LilyPond input - thoughts?

2022-04-08 Thread Jean Abou Samra
Le 08/04/2022 à 02:34, Nikolai Hedler a écrit : 3. Has something like this been done before for LilyPond? You might be interested in discussing this with Nicolas Sceaux, who did something similar if I recall correctly. https://editions-nicolas-sceaux.fr/ Best, Jean

Re: bug in magnetic snapping lyrics engraver

2022-04-14 Thread Jean Abou Samra
Le 14/04/2022 à 17:39, Werner LEMBERG a écrit : There is a problem with ligatures at the syllable boundaries (and kerning). [...] it is not sufficient to shift the right syllable in a syllable pair to the left. Instead, the following should be done. [...] Meanwhile I could implement this

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 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: Custom Spanner with variable length sections

2022-04-15 Thread Jean Abou Samra
Le 15/04/2022 à 16:35, Dimitris Marinakis a écrit : Thank you so much Jean. That looks amazing for a first try. Great work! Sorry it took me a while to test it. Less than a day? I didn't find that long :-) Upon testing I found out that it only works when there are line breaks (not on a

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: how to change extents of a grob?

2022-04-14 Thread Jean Abou Samra
Le 14/04/2022 à 11:41, Werner LEMBERG a écrit : Or to ask in a different way: At the time when properties are processed and you have to manipulate stencils, changing the stencil of a grob doesn't change the extents of this grob, AFAICS. You are not supposed to change stencils at all. They are

Re: Custom Spanner with variable length sections

2022-04-14 Thread Jean Abou Samra
Le 14/04/2022 à 16:09, Kieren MacMillan a écrit : Hi Dimitris, I need a custom spanner that has x sections with different symbols. This is going to be tricky so any help is appreciated. https://github.com/davidnalesnik/lilypond-text-spanner-inner-texts Ok, I'm not sure if this solves the

Re: Cross-staff arpeggios with a grace note

2022-04-14 Thread Jean Abou Samra
Le 14/04/2022 à 23:06, Knute Snortum a écrit : I am having trouble with arpeggios and grace notes again. In this situation, I have a cross-staff arpeggio of a chord with a grace note (see attachment). LilyPond's default is to put the arpeggio and grace note on top of each other. Jean

Re: bug in magnetic snapping lyrics engraver

2022-04-14 Thread Jean Abou Samra
Le 14/04/2022 à 18:18, Werner LEMBERG a écrit : How did you do that? Sorry to rain on your parade, but I would not want you to put a lot of work in it if it will not be of mergeable quality. Attached. In the end the necessary modifications were surprisingly minor. Please comment, there is

Re: Off-topic: What do you guys think of the upside-down music?

2022-04-14 Thread Jean Abou Samra
Le 14/04/2022 à 21:58, Kenneth Wolcott a écrit : Hi; Off-topic: What do you guys think of the upside-down music? On youtube: https://www.youtube.com/channel/UCrLBkLxyE7T1cyv_4ykGTrg Upside-down Scores Example: Für Elise Upside-down (new version, with Score)

Re: Tags for contexts without duration

2022-04-14 Thread Jean Abou Samra
Le 14/04/2022 à 22:44, Dimitris Marinakis a écrit : I often find myself in need of offsetting some tempo or rehearsal marks for certain parts but not the full score but tags won't work in this case since I can't have two marks at the same location on a single context. Not sure I understand

Re: Unwanted font ligature

2022-04-15 Thread Jean Abou Samra
Le 15/04/2022 à 22:01, Paul Hodges a écrit : I am trying to write the dynamic "sfffz".  But when I write \markup\dynamic"sfffz" the first sf is made a ligature, then the last two are made another ligature - the difference in spacing of the f's is ugly, as in the attached image - is there

Re: Custom Spanner with variable length sections

2022-04-15 Thread Jean Abou Samra
Le 15/04/2022 à 22:41, Dimitris Marinakis a écrit : Thank you, much better now :) The only thing to improve here would be to have separate paddings for each system. For some reason the staff-padding currently behaves more like a fixed offset. If you have very high notes they get clipped.

Re: Tags for contexts without duration

2022-04-15 Thread Jean Abou Samra
Le 15/04/2022 à 14:12, Kieren MacMillan a écrit : Hi Dimitris, If you get into more numerous and complex tweaks, I highly recommend using the edition-engraver — keeping presentation tweaks (e.g., moving a RehearsalMark) out of the note code is my primary use-case for the EE. Hope that helps!

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

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-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: Trouble using version 2.20.0 & 2.24.1

2023-09-05 Thread Jean Abou Samra
> Le 5 sept. 2023 à 12:44, Ian West a écrit : > > Hi Jean Abou Samra, > Yes! I have now followed the instructions for running LilyPond with > Frescobaldi. But I do not like it. > Indeed, I will not use it. The coding (on the left) is far too small

Re: Trouble using version 2.20.0 & 2.24.1

2023-09-05 Thread Jean Abou Samra
> Le 1 sept. 2023 à 21:27, Ian West a écrit : > > Dear Jean Abou Samra, > I have now read and followed the Frecobaldi set-up instruction. > Successfully. Using the latest version of Frescobaldi and of Lilypond > (2.24.2). > It will take me a while to get

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-05 Thread Jean Abou Samra
> > > Nice!  Shall we add this to LilyPond proper? > > I have no opinion. > > I do (surprise surprise): > Yes. > Though possibly with a different name (?). > Regardless, seems like a useful LSR item. Haven't you been dreaming about your First Patch™ for quite a while? I mean, this would just be

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-05 Thread Jean Abou Samra
Le mardi 05 septembre 2023 à 09:48 +, Werner LEMBERG a écrit : > > %% An accidental style that also prints cancellation signs in the > > %% following measure for different octaves ("piano" only does it for > > %% the same octave). > > Nice!  Shall we add this to LilyPond proper? I have no

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-05 Thread Jean Abou Samra
Try this: \version "2.25.7" %% An accidental style that also prints cancellation signs in the following %% measure for different octaves ("piano" only does it for the same octave). #(set! accidental-styles (cons `(piano-customized #f (Staff

Re: Controlling slur shapes automatically

2023-09-10 Thread Jean Abou Samra
Le dimanche 10 septembre 2023 à 08:24 +, Werner LEMBERG a écrit : > I've solved it differently, see > >   https://gitlab.com/lilypond/lilypond/-/merge_requests/2103 > > 'All layout objects' is better suited as a reference than 'Graphical > Object Interfaces' IMHO. Why? In this instance,

Re: Array variables and loops (for lyrics)

2023-09-15 Thread Jean Abou Samra
Hi, Try \version "2.24.2" textArray = << { \lyricmode { \set stanza = "1" fo -- o bar } } { \lyricmode { \set stanza = "2" fo -- o bar } } >> \score { << \new Voice = "soprano" { c'1 1 1 } #@(map (lambda (mus) #{ \new Lyrics { \lyricsto "soprano" { #mus } } #})

Re: Array variables and loops (for lyrics)

2023-09-16 Thread Jean Abou Samra
> Is is possible to conditionally execute the #@ expression based on  > whether the 'textArray' variable is bound? \version "2.24.2" textArray = << { \lyricmode { \set stanza = "1" fo -- o bar } } { \lyricmode { \set stanza = "2" fo -- o bar } } >> \score { << \new Voice = "soprano"

Re: Fingering orientations

2023-09-17 Thread Jean Abou Samra
> Oh, I see, thank you. I've realised I gave the wrong link to the page I > read that mentioned fingeringOrientations, it was in "Selected > Snippets" I can't in fact find where this variable is described...

Re: How to move ossa staff to "in between" or "on top"?

2023-09-17 Thread Jean Abou Samra
> \new Staff { d d } Change this line to     \new Staff \with { alignAboveContext = "right" } { d d } or     \new Staff \with { alignAboveContext = "left" } { d d } https://lilypond.org/doc/v2.24/Documentation/notation/modifying-single-staves#ossia-staves signature.asc Description: This

Re: Fingering orientations

2023-09-17 Thread Jean Abou Samra
Le dimanche 17 septembre 2023 à 12:56 +0100, Richard Shann a écrit : > I can't figure out why this: > > \version "2.24.0" > { >     \set fingeringOrientations = #'( left right up down) e ''-2 g''-3 > > } > > outputs the 0 and 3 fingerings down and up respectively and the other > two right with

Re: \pitchedTrill not displayed

2023-08-31 Thread Jean Abou Samra
> Le 31 août 2023 à 15:43, Pierre-Luc Gauthier a > écrit : > > Maybe there is an easy way around this situation ? The d'' does not > get displayed when merging the two \pitchTrill notes. What score are you trying to typeset? I don't get the musical meaning of having two simultaneous trills

Re: title in the Breitkopf fraktura font

2023-08-31 Thread Jean Abou Samra
> Le 1 sept. 2023 à 00:11, Valentin Petzel a écrit : > > To me this seems like your python does not know the := operator, which was > introduced with python 3.8. Try to check your python version. This should theoretically be irrelevant because the binaries are shipped with their own

Re: title in the Breitkopf fraktura font

2023-08-31 Thread Jean Abou Samra
> Le 31 août 2023 à 18:06, bernhard kleine a écrit : > > I never tried different fonts, but now I would like to print the title of the > music in a fraktura font. Could you please help me with that? > Have you read the documentation on using different fonts in markup? It is here for the

Re: How to have a parenthesized dynamic scripts including \cresc?

2023-09-01 Thread Jean Abou Samra
Le lundi 28 août 2023 à 14:36 +0200, Xavier Scheuer a écrit : > Ping @Werner LEMBERG and @Jean Abou Samra: should NR 1.3.1 Expressive marks > attached to notes be modified (to have other examples as parenthesized > dynamics for New dynamic marks) ? That snippet as well as LSR 1097 u

Re: Voice leading lines

2023-09-01 Thread Jean Abou Samra
> > However, I want it to point to the "main" chord. Is there a way to do this? A late reply, but you could cheat a bit by putting the grace note in its own voice. \version "2.24.2" %%% rightHand = \relative c' { \time 12/8 \showStaffSwitch 2. << { \voiceTwo \change

Re: Turn with accidental

2023-09-01 Thread Jean Abou Samra
Is this what you're looking for? \version "2.24.2" { a''2^\turn^\markup \natural } Best, Jean signature.asc Description: This is a digitally signed message part

Re: title in the Breitkopf fraktura font

2023-09-01 Thread Jean Abou Samra
Le vendredi 01 septembre 2023 à 15:47 +0200, bernhard kleine a écrit : > > > > > convert-ly was called from the data directory with a full qualified path. > Maybe that caused the error? Well, you appear to have followed

Re: Trouble using version 2.20.0 & 2.24.1

2023-09-01 Thread Jean Abou Samra
Le vendredi 01 septembre 2023 à 17:38 +0100, Ian West a écrit : > I have used  Lilypond very happily for many years on Apple laptops (2.12.3, > 2.18.2). > My latest computer is a MacBook Air running OS Ventura 13.4.1 with M2. I > understood I needed a 64 bit version of Lilypond, downloaded 2.20.0

Re: How to put a big number in the upper left or right corner of a score?

2023-09-01 Thread Jean Abou Samra
Hi, I'd just add it as markup: ``` \version "2.24.2" \markup \with-outline "" \translate #'(-3 . -1) \fontsize #4 "1234" { c' } ``` Best, Jean signature.asc Description: This is a digitally signed message part

Re: Empty Staff/TabStaff/StaffGroup creates indentation

2023-09-01 Thread Jean Abou Samra
Hi, Basically, this is https://gitlab.com/lilypond/lilypond/-/issues/4157 The problem is related to \RemoveAllEmptyStaves. In essence, horizontal spacing is computed as if the staves that are being removed were still present. If you comment out the \RemoveAllEmptyStaves line, you will see that

Re: Lilypond Terminates on Start-Up

2023-09-12 Thread Jean Abou Samra
Hi, I'm adding back the mailing list in CC. Please always keep it to allow other people to chime in. Thank you for describing the problem precisely. Le mardi 12 septembre 2023 à 20:21 +, Zone Dremik a écrit : > Hello, > > I usually start work by double-clicking on a Lilypond-file Icon

Re: install on MacBook Air

2023-09-13 Thread Jean Abou Samra
Hi, There is no mixup in the downloads. A macOS system *is* a Unix system. Maybe you are confusing "Unix" and "Linux", as many people do. Unix is a family of operating systems, which includes Linux-based systems as well as macOS. Have you read the installation tutorial from the documentation? 

Re: tagline = ##f does not work in score header block

2023-09-13 Thread Jean Abou Samra
Le mardi 12 septembre 2023 à 15:38 -0700, Knute Snortum a écrit : > Hi everyone. > > I have a few observations that I'd like to share.  Nothin too urgent. > > If you put tagline = ##f in a header block, it will work everywhere except in > the score block.  Suppose tagline "worked" in \score

Re: tagline = ##f does not work in score header block

2023-09-13 Thread Jean Abou Samra
> Well, I could imagine that the last 'tagline' entry wins. It is at least not more consistent than the existing behavior, which is also documented. Ergo, I see no bug here. Best, Jean signature.asc Description: This is a digitally signed message part

Re: Changing Clef horizontal-skylines

2023-09-07 Thread Jean Abou Samra
Le jeudi 07 septembre 2023 à 17:31 -0400, brin solomon a écrit : > I'm using a modified version of this LSR snippet > https://lsr.di.unimi.it/LSR/Item?id=900 to re-engrave a historical score that > uses a curly-style bass clef. The clef shape is a little wider than a standard > bass clef, and this

Re: 2.22.2 and 2.24.2

2023-09-08 Thread Jean Abou Samra
> Le 9 sept. 2023 à 02:05, Mark Stephen Mrotek a écrit : > Hello All. > > Can I keep an operational 2.22.2 while I attempt to download and install > 2.24.2? Depends on the installation method. With a package manager on Linux or macOS, usually no, but if you're just downloading the official

Re: I am having error anyone have any answer

2023-09-09 Thread Jean Abou Samra
Well, you should find the actual error message earlier in the log. For example, suppose I compile this file with version 2.24: \version "2.26" { c' } The log looks like this: Starting lilypond 2.24.2 [Untitled]... Processing `/tmp/frescobaldi-b9wj4_le/tmpvygadn4n/document.ly' Parsing...

Re: Controlling slur shapes automatically

2023-09-09 Thread Jean Abou Samra
Le jeudi 07 septembre 2023 à 17:42 -0700, Knute Snortum a écrit : > Hello all, > > I have a piece I'm engraving where the automatic (default) slur shapes are not > that good.  See first attachment for my piece with no \shape commands, and the > second attachment is more how I would like the slur

Re: 2.22.2 and 2.24.2

2023-09-09 Thread Jean Abou Samra
Le samedi 09 septembre 2023 à 08:16 -0700, Mark Stephen Mrotek a écrit : > When was that done? What do you mean by that? signature.asc Description: This is a digitally signed message part

Re: 2.22.2 and 2.24.2

2023-09-09 Thread Jean Abou Samra
Le samedi 09 septembre 2023 à 18:16 +0200, Robin Bannister a écrit : > On my win7: >   - I download the zip for 2.23.80 and put it in folder test_ >   - Looking in this folder, I can then see test_a.png >   - When I double-click on the .zip file, I then see test_b.png > > The config qualifier is

Re: 2.22.2 and 2.24.2

2023-09-09 Thread Jean Abou Samra
Le samedi 09 septembre 2023 à 11:50 -0700, Mark Stephen Mrotek a écrit : > Thank you. That is exactly what I needed. > Might it be included in the referenced “graphical-setup-under-windows”? Sorry, but I don't understand what you want to add, since it is already spelled out, in the first

Re: 2.22.2 and 2.24.2

2023-09-09 Thread Jean Abou Samra
Le samedi 09 septembre 2023 à 08:51 -0700, Mark Stephen Mrotek a écrit : > Jean, >   > I could not find instruction in > https://lilypond.org/doc/v2.24/Documentation/learning/graphical-setup-under- > windows > as to how and when I created a folder in placed Lilypond 2.24. > I am sure that I am

Re: Standalone lyrics part

2023-08-31 Thread Jean Abou Samra
> Le 30 août 2023 à 04:21, David Wright a écrit : > > Internals Reference says: > > "2.1.6 Devnull > Silently discards all musical information given to this context." > > so I'm guessing all that's left is the note columns. Not even note columns. A DevNull simply creates *nothing at

Re: Standalone lyrics part

2023-08-31 Thread Jean Abou Samra
> Le 30 août 2023 à 18:27, Pierre-Luc Gauthier a > écrit : > > Exactly this with the correct ties and slurs interpretation or lyrics. > > music = \repeat unfold 50 { c'4(~ 1) d'8 e' } > > words = \repeat unfold 100 \lyricmode { a b c } > > << > \new Devnull = "2" \music > \new Lyrics

Re: RhythmicStaff with measure counter

2023-09-06 Thread Jean Abou Samra
Le mardi 05 septembre 2023 à 19:22 -0700, Rajesh Baskar a écrit : > I'm trying to achieve displaying the measure counter on top of the each > measure on a rhythmic staff.  The below script working fine if you > change the \new RhythmicStaff to \new Staff. > > How do I make this script work for

Re: Lilypond Terminates on Start-Up

2023-09-06 Thread Jean Abou Samra
Le mercredi 06 septembre 2023 à 17:29 +, Zone Dremik a écrit : > Hello, > > After the last few system-updates on my iMac, Lilypond & Frescobaldi have > have had problems with start-up. > > Fresobaldi starts, but becomes unresponsive once a file has opened. After I > force-quit, I can

Re: Quick Insert

2023-10-26 Thread Jean Abou Samra
Le jeudi 26 octobre 2023 à 17:50 -0500, Will Turner a écrit : > I don't seem to have Quick Insert available in my menu. How do I get that? You're talking about Frescobaldi, right? You can open the Quick Insert tool using Tools > Coding > Quick Insert. Best, Jean signature.asc Description:

Re: Show TacetStaff when StaffGroup empty

2023-10-31 Thread Jean Abou Samra
you don't > get into trouble for a) pizzicato (which is weird for "bowed strings") > or b) viol (which is both bowed and fretted and may be used in a string > section for nostalgically informed practice). Why is the blame being put on Harm here? ``` commit 8c166ecb8d10

Re: Show TacetStaff when StaffGroup empty

2023-11-01 Thread Jean Abou Samra
Le mardi 31 octobre 2023 à 21:31 -0600, Jeff Olson a écrit : > > > P.S. What's the best way to alert somebody whenever I see a small nit like > this in the documentation?  I don't have an account on gitlab, nor do I > subscribe to the bugs or developers lists. > The normal way to report a

Re: Moving \dim or \cresc

2023-10-29 Thread Jean Abou Samra
> When I was experimenting with moving the X and Y offsets of \dim and \cresc, I > found that X-offset doesn't seem to work with a tweak or an override. X-offset is rarely meaningful with spanners because they conceptually have two X positions, not one. You can adjust them independently with

<    2   3   4   5   6   7   8   9   10   11   >