Re: Four bar percent repeat mark?

2023-09-22 Thread Jean Abou Samra
> Le 22 sept. 2023 à 15:51, Dr. Thomas Tensi a écrit : > > Any ideas whether this shall be put on the official lilypond > "change request" list? It's already there. See https://gitlab.com/lilypond/lilypond/-/issues/3146

Re: Array variables and loops (for lyrics)

2023-09-20 Thread Jean Abou Samra
Le mercredi 20 septembre 2023 à 20:37 +0200, Mauro Levra a écrit : > Without the empty '() in the else branch, when the if condition is false  > nothing is returned to the #@ operator. Well, that “nothing” actually is something — it's *unspecified* , a special value used in Guile when a value is

Re: Problems with tempo in 15/8 time

2023-09-19 Thread Jean Abou Samra
> So the first question is how do I get the two notes closer.  I've attached the > LilyPond source and a screenshot of my attempts. You can do \rhythm { \override Score.SpacingSpanner.spacing-increment = 0.5 4.~ 4 } > Secondly, what's the best way to get the MIDI to play at the correct tempo? 

Re: Lilypond Terminates on Start-Up

2023-09-19 Thread Jean Abou Samra
> Maybe there are other issues that I’m not aware of, The Frescobaldi issue tracker is here: https://github.com/frescobaldi/frescobaldi/issues and you can filter them by the macOS label: https://github.com/frescobaldi/frescobaldi/issues?q=is%3Aopen+is%3Aissue+label%3AmacOS That gives a good

Re: Lilypond Terminates on Start-Up

2023-09-19 Thread Jean Abou Samra
Le lundi 18 septembre 2023 à 18:13 +, Zone Dremik a écrit : > Hello, > > This is a follow-up concerning Frescobaldi start-up problems on Mac Ventura > 13.5 (I should clarify that this is an issue that only occurs when I first > start Frescobaldi after having powered-on the computer). > > I

Re: auto-first-page-number add extra blank page

2023-09-18 Thread Jean Abou Samra
My mail client inserted unwanted line breaks, sigh. \version "2.25.8" #(use-modules (lily page)) auto-add-first-page-breaking = #(lambda (paper-book) (let ((default-pages (ly:page-turn-breaking paper-book))) (match default-pages (() '()) ((first-page . _) (let

Re: auto-first-page-number add extra blank page

2023-09-18 Thread Jean Abou Samra
\version "2.25.8" #(use-modules (lily page)) auto-add-first-page-breaking = #(lambda (paper-book) (let ((default-pages (ly:page-turn-breaking paper-book))) (match default-pages (() '()) ((first-page . _) (let ((first-page-number (page-property first-page

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: 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: 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: 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: 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: 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: 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: 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: 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: 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 à 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 à 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: \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 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: 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: 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: Automatic annotation of slide positions/fingerings for brass instruments.

2023-08-28 Thread Jean Abou Samra
Hi, I'm not sure I understand your problem. If I infer your goal from the ChatGPT output, you're trying to add a fingering to each note based on its pitch. Is that right? ``` \version "2.24.2" #(use-modules (srfi srfi-2)) autoFingerings = #(define-music-function (spec music) (ly:music?

Re: Font problem on Mac

2023-08-28 Thread Jean Abou Samra
> Le 28 août 2023 à 08:45, Jean Abou Samra a écrit : > >  > >> You might try to copy the affected font from macOS 14 to macOS 13 and >> check whether it works. > > > This bug has already been fixed in Homebrew. Please just uninstall and > reinstall Lil

Re: Font problem on Mac

2023-08-28 Thread Jean Abou Samra
> You might try to copy the affected font from macOS 14 to macOS 13 and > check whether it works. This bug has already been fixed in Homebrew. Please just uninstall and reinstall LilyPond and it should go away. Jean

Re: Change font in different languages

2023-08-27 Thread Jean Abou Samra
> Le 27 août 2023 à 17:39, 嚴皓煒 a écrit : > >  > I'm a Chinese speaker, so I often write a score in Chinese. > To make Chinese in different fonts, I will set the \sans font to my Chinese > font, > and use \markup \sans "Chinese text" Why use a sans font specifically? Why not just set the

Re: Voice leading (subject changed here as a demo)

2023-08-27 Thread Jean Abou Samra
> Le 27 août 2023 à 16:32, Knute Snortum a écrit : > > I think for the emails to thread, the subject lines must be the same (after > Re:). This is not required. Each message contains an identifier (the Message-Id field, if you look at the raw email source), and if it's a reply, the

Re: Adding phonetic pronunciation to a staff?

2023-08-26 Thread Jean Abou Samra
Hi, I'd do it like this: \version "2.24.1" << \new Voice = "mus" { \repeat unfold 64 { c'8 } } \new Lyrics \lyricsto "mus" { \repeat unfold 64 foo } \new Lyrics << \after 1*4 \lyricmode { aah } <> \after 1*5 \after 2. \lyricmode { haa } <> <> >> \new Lyrics \lyricsto "mus" {

Re: Beam slope across break

2023-08-26 Thread Jean Abou Samra
> In short, is there a way to control the slope of the beam after the break, or > some other way to deal with the situation?   \alterBroken positions #'((-6.5 . -3.5) (-3.5 . -1)) Beam signature.asc Description: This is a digitally signed message part

Re: Using a custom bitmap as a character?

2023-08-23 Thread Jean Abou Samra
Le mercredi 23 août 2023 à 13:57 +0200, Jean Abou Samra a écrit : > > The tool looks quite impressive. OTOH, in 2.25, there's \image to use > a PNG file, so you don't necessarily need to convert the bitmap to a > vector graphics form. (And EPS can contain bitmaps too.) s

Re: Using a custom bitmap as a character?

2023-08-23 Thread Jean Abou Samra
Le mercredi 23 août 2023 à 11:40 +, Werner LEMBERG a écrit : > > I am slowly creating a font to be used for tablature ... so far I > > have bitmaps of a couple of characters.  I'd like to try them out > > and get an idea how they look.  Is there any way I can replace a > > character with a

Re: Where did the \header number go?

2023-08-20 Thread Jean Abou Samra
Le dimanche 20 août 2023 à 10:54 -0400, Rik Kabel a écrit : > > Hello list, > > I have a few pieces that have been engraved for my choir with 2.18.10 that > include catalog numbers entered as > > > > > \header { > >   ... > >   number = \markup { \fontsize #4 \sans \ellipse 11B } > >   ...

Re: Can't find font in LilyJazz when using 2.24's ly:font-config-add-directory

2023-08-18 Thread Jean Abou Samra
Oh, and one last thing: Abraham is right that it should be "lilyjazz" in lowercase letters, because LilyPond's own search just looks for the exact file name (though Fontconfig would accept "LilyJAZZ"). signature.asc Description: This is a digitally signed message part

Re: Can't find font in LilyJazz when using 2.24's ly:font-config-add-directory

2023-08-18 Thread Jean Abou Samra
Le vendredi 18 août 2023 à 13:11 -0700, Knute Snortum a écrit : > 1) Download a fresh LillyJazz. > 2) Convert to 2.24 (AllOfMe.ly, jazzchords.ily, lilyjazz.ily, jazzextras.ily) > 3) Add the ly:font-config-add-directory function to AllOfMe.ly: > 4) Make sure lilyjazz.ily uses the correct font name:

Re: Changing the size of the TabStaff clef

2023-08-18 Thread Jean Abou Samra
> I am not sure there is a reasonable fix for this since \with does double > duty for passing named arguments to functions.  You may want to argue > that \override/\revert should not be used in that fashion, but > assignments/\set have sort of the same problem (though admittedly > different syntax

Re: Changing the size of the TabStaff clef

2023-08-18 Thread Jean Abou Samra
Le vendredi 18 août 2023 à 16:34 +0100, Richard Shann a écrit : > Is it possible to reduce the size of the TabStaff clef? > this doesn't work: > \version "2.24.1" > << >   \new TabStaff \with { >    \override TabStaff.Clef.font-size = #-1 ^ You should remove this, you're

Re: Can Frescobaldi autosave?

2023-08-18 Thread Jean Abou Samra
Le vendredi 18 août 2023 à 15:42 +0100, Viktor Mastoridis a écrit : > Hello, > > I know this is a Lilypond forum, but if your know the answer, please let me > know. > > The search engine doesn't give any meaningful answers. I don't think there is a feature to save periodically as you type the

Re: Print brace, clef and key signature at start of Coda separated by blank space

2023-08-18 Thread Jean Abou Samra
the only one misspelling or misunderstanding my name on the Internet or in real life, I've had Abou Sarra, Abou Sanra, Abou Samba, etc. etc. People also think I'm "Jean-Abou Samra" or "Jean A. Samra" instead of "Jean" "Abou Samra", which is understandable given cultu

Re: Print brace, clef and key signature at start of Coda separated by blank space

2023-08-18 Thread Jean Abou Samra
> Le 18 août 2023 à 12:59, Alex Voice via LilyPond user discussion > a écrit : > > There is a way that was devised by Jean About Samoa earlier this year Jean Abou Samra would like to say hi :)

Re: How to change coda mark symbol in \repeat segno structure?

2023-08-18 Thread Jean Abou Samra
This should do the trick: \version "2.24.2" { \repeat segno 2 { c'1 \alternative { \volta 1 { \once \set Score.codaMarkFormatter = #(lambda args #{ \markup "foo bar" #}) c'1 } \volta 2 \volta #'() { \section \sectionLabel Coda }

Re: arranger.ly with lilypond 2.25 : intlog2 fatal error

2023-08-17 Thread Jean Abou Samra
https://github.com/gilles-th/arranger.ly/pull/2/files signature.asc Description: This is a digitally signed message part

Re: s-curve slurs across staves?

2023-08-17 Thread Jean Abou Samra
Le jeudi 17 août 2023 à 12:38 -0400, Jin Choi a écrit : > and also discussion of being able to do it in Frescobaldi under Layout Control > Mode, which appears to have moved to Tools/Viewers/Layout Control Options but > now has no option for displaying control points. The reason it was removed is

Re: "Slash" in figured bass

2023-08-17 Thread Jean Abou Samra
Le jeudi 17 août 2023 à 12:28 +0200, Lukas-Fabian Moser a écrit : > (The even friendlier syntax variant would require changing the > lexer/parser, I think.) Why don't you just do <"/"> ? Obviously, you can customize it with \version "2.25.7" slashMarkup = \markup \beam #0.5 #2.0 #0.3

Re: Is there a better way to have a boxed part letter at the beginning of an arbitrary line?

2023-08-16 Thread Jean Abou Samra
Le mercredi 16 août 2023 à 14:50 -0400, Kevin Cole a écrit : > While this is also good to know about, and I thank you, it turns out > that the \sectionLabel is more of what I'm looking for. In your > example, the boxed text is too far to the right, whereas the > \sectionLabel put the label right

Re: s-curve slurs across staves?

2023-08-16 Thread Jean Abou Samra
> Le 16 août 2023 à 18:52, Jin Choi a écrit : > > I came across a PDF describing updates to \shape that let you use head > centered coordinates and polar coordinates that would make this easier. But > my 2.24.0 version of lilypond doesn’t seem to include \shapeII. What is the > status of

Re: Fonts for tablature?

2023-08-15 Thread Jean Abou Samra
> Le 16 août 2023 à 01:50, Alasdair McAndrew a écrit : > >  > If you look at > https://musescore.org/sites/musescore.org/files/2020-05/lute-tab-bug.png > (don't worry about the colours) there's a font which I like. A similar font > is used in abctab2ps (it's called "frFrancisque" there),

Re: RepeatSlash size is changed when StaffSymbol.staff-space is overriden in 2.24

2023-08-15 Thread Jean Abou Samra
Le mardi 15 août 2023 à 01:37 +0100, Viktor Mastoridis a écrit : > The previous code (shrink =...) doesn't work for tabs... It works here: \version "2.24.2" shrink = \propertyTweak stencil #(grob-transformer 'stencil (lambda (grob orig) (ly:stencil-scale orig 0.7 0.7))) \etc \layout {

Re: RepeatSlash size is changed when StaffSymbol.staff-space is overriden in 2.24

2023-08-14 Thread Jean Abou Samra
Le lundi 14 août 2023 à 17:22 +0100, Viktor Mastoridis a écrit : > Hello again, > > I need more space between the 5 lines (for primary school age). > In 2.22 I used  > \override StaffSymbol.staff-space = #1.5 (with additional commands for stem > length etc). > > Now in 2.24, the same command 

Re: Changing font-name in \easyHeadsOn renders strange stem positions (and initiates warnings)

2023-08-14 Thread Jean Abou Samra
Le lundi 14 août 2023 à 15:49 +0100, Viktor Mastoridis a écrit : > Hello, > > I recently upgraded to 2.24. > > I need to change the note names (font) of  \easyHeads to make them bigger & > clearer (for primary school kids).  > > As the title says, if I change the font, the stems are positioned

Re: LilyPond 2.24.2 and convert-ly

2023-08-13 Thread Jean Abou Samra
Le dimanche 13 août 2023 à 16:37 -0700, Ralph Palmer a écrit : > I installed Lilypond in home/lilypond, and I aimed Frescobaldi 3.2 to  > /home/rpalmer/lilypond/lilypond-2.24.2/bin/lilypond > When I run Frescobaldi on an .ly file, it seems to work correctly. > > When I open Terminal and type in >

Re: Removing barlines temporarily

2023-08-10 Thread Jean Abou Samra
Le jeudi 10 août 2023 à 11:36 -0400, Jin Choi a écrit : > I have a section of a score where all the barlines are absent. How do I > temporarily turn off automatic bar lines? Search for \cadenzaOn. signature.asc Description: This is a digitally signed message part

Re: One-page page-turning

2023-08-09 Thread Jean Abou Samra
Le mercredi 09 août 2023 à 09:47 -0400, Pierre-Luc Gauthier a écrit : > I see tablets proliferating in orchestras. And I rather like it > because updates to the charts are trivial for those not needing a > printer. So, rather than the traditional "two-side" page arrangement, > is there a way to

Re: A query about tablature

2023-08-08 Thread Jean Abou Samra
Le mardi 08 août 2023 à 20:26 +0200, David Kastrup a écrit : > Given that ly:music-deep-copy is written in C++, I doubt better > efficiency. Well, most of the case it probably won't matter, but I could imagine using it to turn a quadratic algorithm into a linear one in advanced cases. (Or just

Re: A query about tablature

2023-08-08 Thread Jean Abou Samra
Le mardi 08 août 2023 à 19:53 +0200, Lukas-Fabian Moser a écrit : > Yes, sure, that's what I did in my code for Alasdair. But I was more  > wondering whether or not RhythmicStaves (RhythmicStaff's?) should do > this automatically. > > By the way, I didn't know about music-clone. What's its

Re: Need help displaying note names in 2.22

2023-08-07 Thread Jean Abou Samra
Le lundi 07 août 2023 à 19:00 +0100, Viktor Mastoridis a écrit : > How do I upgrade to Lilypond 2.24 on Mint 21 (Ubuntu LTS 22.4) without braking > the system? Just follow the tutorial, it will not interfere with the system in any way.

Re: Need help displaying note names in 2.22

2023-08-06 Thread Jean Abou Samra
Oops, except that this is not going to work in 2.22, since \with-string- transformer is new in 2.24. However, 2.22 is not supported anymore, I would recommend upgrading to 2.24 anyway. signature.asc Description: This is a digitally signed message part

Re: Need help displaying note names in 2.22

2023-08-06 Thread Jean Abou Samra
Le dimanche 06 août 2023 à 18:36 +0200, Robin Bannister a écrit : > David Kastrup wrote: > > > > Note names have changed to use ♯ and ♭ characters, so you need to look > > up "c♯" instead of "cis". > > > I got no hits that way. That's because the sharp sign is printed with \markup

Re: How to center note names horizontally

2023-08-06 Thread Jean Abou Samra
Le dimanche 06 août 2023 à 18:21 +0200, Gerardo Ballabio a écrit : > Hello, is there a way to center note names horizontally around the > corresponding note? > Since I'm using Italian note names they have different lengths, I > believe that centering them would look better. > Example below. The

Re: A query about tablature

2023-08-06 Thread Jean Abou Samra
> Given that a normal instrument music definition includes information both > about pitch and about duration - suitable for printing on a standard staff - > why cannot that same input be used to create all the tablature and its rhythm > together? Of course it can. Please give your current code

LilyPond 2.25.7

2023-07-30 Thread Jean Abou Samra
We are happy to announce the release of LilyPond 2.25.7. This is termed a development release, but these are usually reliable for testing new features and recent bug fixes. However, if you require stability, we recommend using version 2.24.1, the current stable release. Downloads are available

Re: Highlight specific pitch(es)

2023-07-28 Thread Jean Abou Samra
Le vendredi 28 juillet 2023 à 16:46 +0200, Stephan Schöll a écrit : > Hi all > > In order to ease pitch orientation for novice score readers I'd like to > highlight the fundamental / key note (tonika) and perhaps the 5th > throughout an entire piece. The most obvious marking might be by >

Re: Nested tuplet ratio notation

2023-07-28 Thread Jean Abou Samra
Le vendredi 28 juillet 2023 à 10:57 +0300, Lib Lists a écrit : > The solution was to build the tuplet number text as a markup. > I wonder if there is a way to specify the alignment of the tuplet > number with the tuplet bracket instead of specifying paddings and > offsets as I did. This already

Re: Tweaking completion ties

2023-07-26 Thread Jean Abou Samra
> It didn’t work in the \alterBroken command (perhaps because it’s accessed > before line breaking?) \alterBroken does not support subproperties yet. Best, Jean signature.asc Description: This is a digitally signed message part

Re: embed lilypond into godot application

2023-07-25 Thread Jean Abou Samra
Le mercredi 26 juillet 2023 à 01:54 +1000, Andrew Bernard a écrit : > > What is godot, if I may ask? Presumably this thing? https://godotengine.org/ https://en.wikipedia.org/wiki/Godot_(game_engine) signature.asc Description: This is a digitally signed message part

Re: System delimiters for middle of stave

2023-07-24 Thread Jean Abou Samra
Le lundi 24 juillet 2023 à 22:23 +0100, Alex Voice a écrit : > > > I tried replacing the replicate-stil code with your version, but the whole > code does not now seem to compile, giving the message  > > “Guile signaled an error for the expression beginning here > > #(let ((book-handler (if

Re: Tweaking completion ties

2023-07-24 Thread Jean Abou Samra
Hi, If you just want to tweak both parts of the broken tie that extends over the line break, you should simply put the override before the note where it starts, like this: \version "2.24.1" \relative c' { 1~ 1~ 1~ 1~ \override Tie.direction = #UP 1~ \break 1 R1*3 } If you want to

Re: Suggestion: Hooks for formatting titling fields

2023-07-24 Thread Jean Abou Samra
Le dimanche 23 juillet 2023 à 23:23 +0200, Valentin Petzel a écrit : > But I feel that this is a bigger issue. Generally the issue here is that > systems-per-page only cares about systems of music and not about anything > else > that may be placed on the page, as one can see here: > > \paper

Re: embed lilypond into godot application

2023-07-24 Thread Jean Abou Samra
Le lundi 24 juillet 2023 à 10:09 +0200, Stjepan Horvat a écrit : > Hi guys, > I'm trying to embed lilypond score into simple godot application which would > follow music. > One idea that comes to mind would be to have a single svg/png image and have > positions (pixels) of each bar. > Another idea

Re: Suggestion: Hooks for formatting titling fields

2023-07-23 Thread Jean Abou Samra
Le dimanche 23 juillet 2023 à 14:36 -0400, Kieren MacMillan a écrit : > While we‘re talking about this… :) How difficult would it be to separate > titling from systems in the spacing engine? I would love it — and I know > others would, too! — if Lily could easily/automagically put [e.g.] score

Re: Suggestion: Hooks for formatting titling fields

2023-07-23 Thread Jean Abou Samra
Le dimanche 23 juillet 2023 à 16:55 +0200, Valentin Petzel a écrit : > Hello Pondmates, > > I’ve just stumbled upon a music SE question regarding the formatting of page > numbers. Currectly we do not have any hooks to change formatting of such > things, rather the general approach to this is

Re: Are hyphens no longer required to prefix postevent tweaks?

2023-07-22 Thread Jean Abou Samra
Le vendredi 21 juillet 2023 à 23:38 +0200, David Kastrup a écrit : > > As of 2.25.6, the difference between the two forms of \tweak no longer > > appears necessary: globally replacing thousands of "- \tweak ..." with > > just "\tweak ..." now seems to work perfectly. > > Don't. If the syntax

Re: Cropped output

2023-07-20 Thread Jean Abou Samra
Le jeudi 20 juillet 2023 à 17:52 +0200, Henrik Frisk a écrit : > None at all, but maybe I'm misunderstanding the command. Here's what I do: > > $ lilypond --pdf -dcrop='#t' test6.ly > GNU LilyPond 2.24.1 (running Guile 3.0) > Processing `test6.ly' > Parsing... > Interpreting music... >

Re: Cropped output

2023-07-20 Thread Jean Abou Samra
Le jeudi 20 juillet 2023 à 15:55 +0200, Henrik Frisk a écrit : > Hi, > > I know that this is an old question but I'm seeing some strange behavior. On > Mac OS none of the suggested alternatives appear to work though it did on > Linux. The only way I can seem to get a cropped output is to output

Re: How to return markup conditionally?

2023-07-19 Thread Jean Abou Samra
Le jeudi 20 juillet 2023 à 00:06 +0200, Jean Abou Samra a écrit : > There is definitely a point in having this rule that constants > are read-only. What I don't find fine is Guile segfaulting on > a simple set-car! call. I mean, either doing it silently or > checking and raising an exc

Re: How to return markup conditionally?

2023-07-19 Thread Jean Abou Samra
> I debugged for half an eternity on a failed assertion because the failed > assertion pinpointed a call site that was not actually being used other > than some unrelated code jumping to its abort () call in order to save a > byte of instruction. Wow, thank you for sharing that anecdote. It is

Re: How to return markup conditionally?

2023-07-19 Thread Jean Abou Samra
Le mercredi 19 juillet 2023 à 21:57 +0200, Jean Abou Samra a écrit : > (In recent Guile versions, it can even lead to true "nasal demons" undefined > behavior ­— when you enable byte-compilation and optimizations, (set-car! '(1 > . 2) 3) outright segfaults. The time I l

Re: How to return markup conditionally?

2023-07-19 Thread Jean Abou Samra
Le mercredi 19 juillet 2023 à 22:11 +0200, Valentin Petzel a écrit : > Good point, I didn’t think of that! Also I know that using a callback on > bound-details would work as well, but I’m not sure if this is the best way to > replace a single value in an alist (what if you want to change other

Re: How to return markup conditionally?

2023-07-19 Thread Jean Abou Samra
> ``` >        (let* ((bound-details (ly:grob-property grob 'bound-details)) >   (left (assoc-get 'left bound-details)) >   (left (assoc-set! > left > ``` If you add another red text spanner, you will see that it gets the text "foo" in spite of \once.

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