Re: Including an EPS

2022-12-17 Thread Jean Abou Samra
Le 17/12/2022 à 21:30, Mike Kilmer a écrit : Thanks, Jean. With upgrade, compilation still failed, but it was in fact the eps file and/or its format that compiler was choking on. Here you can see the (truncated) diff btwn the (first) one that DID work (from my vector editor) and the one that

Re: indicating rhythmic equivalence

2022-12-17 Thread Jean Abou Samra
Le 17/12/2022 à 21:07, David Kastrup a écrit : I'll make a pitch at it. My original rationale is open for discussion, but there was one; see https://gitlab.com/lilypond/lilypond/-/merge_requests/1761#note_1213670108 OpenPGP_signature Description: OpenPGP digital signature

Re: Including an EPS

2022-12-18 Thread Jean Abou Samra
Le 18/12/2022 à 01:36, Mike Kilmer a écrit : Link was incomplete. Should be https://lsr.di.unimi.it/form.php?type=snippet;id=1153;rld=m_snippet It was complete, but I should have used a space before the question mark ending my sentence. I suspect your mail client interpreted it as part of th

Re: How to implement "f (second time p)" for midi?

2022-12-18 Thread Jean Abou Samra
Le 17/12/2022 à 04:10, Kenneth Wolcott a écrit : Thank you! I copied the right hand notes so that there would be a midi-specific version. That sounds like you want to learn about tags… See https://lilypond.org/doc/v2.24/Documentation/notation/different-editions-from-one-source#using-tags

Re: Installing 2.24.0 in Linux

2022-12-19 Thread Jean Abou Samra
Le 19/12/2022 à 23:17, Ralph Palmer a écrit : Greetings - I'm feeling stupid. I've installed new versions for years, and this time I'm totally floundering. I hope someone can give me some help. I've looked at the documentation online, Does that include this part? https://lilypond.org/doc/v

Re: Problems with musicxml2ly

2022-12-20 Thread Jean Abou Samra
Le 20/12/2022 à 09:36, Jacques Menu a écrit : Hello Mark, Unfortunately I do not know any way to produce a small xml  that will give this error. The file I wanted was "O holy night" by Adolphe Adam (translated into English) adapted by P. Le Bas. It came from this address: https://www.cpdl.

Re: Modify flat flag appearance like beamed notes

2022-12-20 Thread Jean Abou Samra
Le 20/12/2022 à 06:23, William Rehwinkel a écrit : Dear list, In the following tiny example, I override some variables to do with how beamed notes are rendered, and also configure to use the flat-flag stencil. I was wondering if it was possible to modify how the unbeamed flag stencil was rend

Re: Modify flat flag appearance like beamed notes

2022-12-20 Thread Jean Abou Samra
Le 20/12/2022 à 10:53, Jean Abou Samra a écrit : Le 20/12/2022 à 06:23, William Rehwinkel a écrit : Dear list, In the following tiny example, I override some variables to do with how beamed notes are rendered, and also configure to use the flat-flag stencil. I was wondering if it was

Re: Difficulty running convert-ly under Linux/Ubuntu

2022-12-20 Thread Jean Abou Samra
Le 20/12/2022 à 03:52, Ralph Palmer a écrit : Greetings - Jean Abou Samra kindly pointed me in the right direction for the installation of 2.24.0 in Linux with Frescobaldi. I was successful. Then I tried running convert-ly for all my .ly files, using find . -name '*.ly' -exec

Re: tremolo: 3/4 time, one dotted-half note chord, double-slash tremolo question

2022-12-20 Thread Jean Abou Samra
Le 20/12/2022 à 02:41, Kenneth Wolcott a écrit : I'm still do not understand the math (I'd like to generate a formula!) for tremolos. I also remained confused by this for a long time till I understood that the rules are pretty simple. The thing to keep in mind is that \repeat tremolo and :

Re: spacing before acciaccatura

2022-12-21 Thread Jean Abou Samra
Le 21/12/2022 à 10:33, Owen Le Blanc a écrit : I found a number of improvements using 2.24.0, but one irritant is still there: before acciaccatura marks such as caesura and key changes are spaced differently, and so don't align with those in other staffs. Here are two simple examples. This is

Re: Whiteout staff lines behind beams

2022-12-21 Thread Jean Abou Samra
Le 21/12/2022 à 01:26, Abraham Lee a écrit : Is there a way to turn the stencil into a composite of the original with a big block of whiteout that follows the entire group's outer skyline so it hides the staff lines? Would be a nice feature, IMO. I know the stems can be "frenched", but would be

Re: Whiteout staff lines behind beams

2022-12-21 Thread Jean Abou Samra
Le 21/12/2022 à 16:16, Kieren MacMillan a écrit : Agreed. I recently hired David Maslanka to critique my engravings and help me finalize a housestyle — the first thing he noticed and criticized were the beams, especially all the intersections and wedges. According to Wikipedia, David Maslanka

Re: Mimicking `\chords` mode within `\markup`

2022-12-21 Thread Jean Abou Samra
Le 21/12/2022 à 17:56, Joel C. Salomon a écrit : \version "2.24.0" \markup { Compare \sans\concat{F\char ##x266F °/C} to \sans\concat{F\sharp °/C} to \score{\chords{\chordmode{ fis:dim/c }}} } Looks like `\chords` is aligning the sharp symbol differently (and probably using SMUFL U+E870 r

Re: Whiteout staff lines behind beams

2022-12-21 Thread Jean Abou Samra
Le 21/12/2022 à 17:16, Kieren MacMillan a écrit : According to Wikipedia, David Maslanka is a composer who died in 2017... ? Oops! I meant Matthew, his son (who is still very much alive, and who was at the Salzburg conference with us). His father — whom I met several times — was a wonderful m

Re: Depriciated ?

2022-12-22 Thread Jean Abou Samra
> Le 22 déc. 2022 à 17:52, Karim Haddad a écrit : > > Dear list, > > Using the latest Lilypond version 2.24.0, in my \layout section, i have two > issues: > > 1) > > \context { >\RemoveEmptyStaffContext > \override VerticalAxisGroup.remove-first = ##t > } > > The \Rem

Re: How to get log only

2022-12-23 Thread Jean Abou Samra
Le 23/12/2022 à 10:35, Thomas Morley a écrit : Hi, while debugging some files I'm interested in the log only, thus I'd like to avoid creating any other output. $ lilypond -dlog-file=AAALOG --formats=#f -ddelete-intermediate-files file-1.ly file-2.ly still returns .ps-files. What's the correc

Re: Need help with usage of breve

2022-12-23 Thread Jean Abou Samra
Le 23/12/2022 à 16:50, Dave Seidel a écrit : fis1\breve This contains - fis : a pitch, - 1 : a duration, whole note, - \breve : another duration, breve. Therefore, the "fis" and "1" go together, as pitches and durations always do, and the "\breve" is alone without a pitch, which tells LilyP

Re: A matter of optional arguments

2022-12-23 Thread Jean Abou Samra
Le 23/12/2022 à 17:54, Rip _Mus a écrit : Hello everyone, I'm working on a function that prints a personal type of tremolo. This function has four arguments, the first and the last are optional. The first is actually optional, as you can see in the minimal exemple attached. The last, instead, is

Re: How to color dynamics

2022-12-23 Thread Jean Abou Samra
> Le 23 déc. 2022 à 20:56, Paul McKay a écrit : > >  > Hi > I'm making a setting of some music with repeated melodies. The dynamics on > the second repeat are slightly different in that some appear to have been > omitted from the first time. I'd like to use the same code, but to show the >

Re: Getting grob Y position (spacing error)

2022-12-27 Thread Jean Abou Samra
Le 26/12/2022 à 19:18, Gregory Evans a écrit : Hi Jean, I apologize for my delayed reply. I do not think I can use the VoiceFollower grob because I am not using staff changes. You can. A VoiceFollower won't be created automatically without a staff change, but you can create it yourself in y

Re: Custom gradual spanners

2022-12-27 Thread Jean Abou Samra
Le 26/12/2022 à 17:39, Rip _Mus a écrit : Hello, is there a way to modify a spanner to get a slow-fast trill (like the one in the picture)? Obviously with user-provided glyphs. Try \version "2.24.0" slowFastTrill = \tweak TrillSpanner.stencil #(lambda (grob)    (let* ((left (ly:spanner-bo

Re: A question about a scheme function with two input notes

2022-12-29 Thread Jean Abou Samra
Le 30/12/2022 à 00:12, Alasdair McAndrew a écrit : Hello, I am typesetting some late Renaissance, early Baroque music for which a double stop (= chord with two notes) on a stringed instrument would be notated with the stem of the top note up and the stem of the lower note down.  So instead of

Re: A question about a scheme function with two input notes

2022-12-30 Thread Jean Abou Samra
Le 30/12/2022 à 00:19, Alasdair McAndrew a écrit : Thank you SO very much! Such a simple thing ... (as is so often the case, certainly with my queries).  It now works perfectly. Well, as a matter of fact, you're not the first one tripped up by this. Makes me wonder if we should make it possib

Re: problems with release 2.24 on iMac M1 with Ventura 13.0.1

2022-12-30 Thread Jean Abou Samra
Le 30/12/2022 à 14:24, Mario Bolognani a écrit : Using LilyPond 2.24.0 with Frescobaldi 3.1.3 on iMac M1 Ventura 13.0.1, I discovered some incompatibilities: 1) convert.ly  not operating I think you're running into a Frescobaldi problem, not a LilyPond problem. See http

Re: A question about a scheme function with two input notes

2022-12-30 Thread Jean Abou Samra
Le 30/12/2022 à 13:51, David Kastrup a écrit : However, it doesn't work right now for local variables, like function parameters, in #{ ... #}. I think you may underestimate the cost of magic involved with making #/$ integrate into local Scheme scoping. If you want Scheme semantics, $ offers tho

Re: problems with release 2.24 on iMac M1 with Ventura 13.0.1

2022-12-30 Thread Jean Abou Samra
Le 30/12/2022 à 16:24, Mario Bolognani a écrit : Many thanks Jean, useful suggestions, but , possibly for my ignorance of technicalities, convert.ly is still not working. Hm. This is like going to a doctor and complaining 'I am feeling bad' without further information. If you don't tell m

Re: A question about a scheme function with two input notes

2022-12-30 Thread Jean Abou Samra
Le 30/12/2022 à 15:07, David Kastrup a écrit : Jean Abou Samra writes: Le 30/12/2022 à 13:51, David Kastrup a écrit : However, it doesn't work right now for local variables, like function parameters, in #{ ... #}. I think you may underestimate the cost of magic involved with m

Re: Extending Lilypond

2022-12-30 Thread Jean Abou Samra
Le 30/12/2022 à 13:27, Rip _Mus a écrit : Hello everyone, for three days I have been immersed in the documentation written by Mr. Samra, on how to define a new grob, a new event and a new engraver that takes care of engraving the new grob, following a specific command. Nice to hear :-) Att

Re: Strange font problem in 2.24.0

2022-12-31 Thread Jean Abou Samra
Le 31/12/2022 à 14:56, Sven Axelsson a écrit : Hi list, I have just updated my sheet music archive to LilyPond 2.24.0. It went well, but I am seeing a strange font encoding problem. I have installed LilyPond on a Mac M1 running MacOS 13.1 with Homebrew which builds from source using Guile 3.

Re: Strange font problem in 2.24.0

2022-12-31 Thread Jean Abou Samra
Le 31/12/2022 à 17:11, Sven Axelsson a écrit : On Sat, 31 Dec 2022 at 16:33, Jean Abou Samra wrote: Le 31/12/2022 à 14:56, Sven Axelsson a écrit : > Hi list, > > I have just updated my sheet music archive to LilyPond 2.24.0. It went > well, but I am seei

Re: Getting grob Y position (spacing error)

2023-01-01 Thread Jean Abou Samra
Le 31/12/2022 à 19:43, Gregory Evans a écrit : It appears to be the case that there is a limitation to how far to the right notes can be checked. Let’s call the starting note |A| and the stopping note |B|. It seems like the boundary is if the start-offset of |B| is further forward than the st

Re: Footnotes in Lyrics

2023-01-02 Thread Jean Abou Samra
Le 02/01/2023 à 11:31, Pierre Perol-Schneider a écrit : Hi Johannes, Here's a little hack: \markup \footnote \null "(1) footnote text" \score { <<   { a' b' c'' d'' c'' b' a' }   \addlyrics {      One two      \markup \concat { three \raise #.7 \teeny (1) }      four five six se -- ven   }   >>

Re: Strange font problem in 2.24.0

2023-01-02 Thread Jean Abou Samra
Le 31/12/2022 à 18:23, Sven Axelsson a écrit : I sent the font file to you privately. Thanks, I opened https://gitlab.com/lilypond/lilypond/-/issues/6508 OpenPGP_signature Description: OpenPGP digital signature

Re: Subdividing beams

2023-01-02 Thread Jean Abou Samra
Le 02/01/2023 à 14:44, Renato Biolcati Rinaldi a écrit : Hello and Happy New Years I am trying to engrave this piece as per attached, I am going crazy trying to figure out how to replicate the exact beaming of the image. When you don't manage to make LilyPond understand what beaming you wan

Re: Strange font problem in 2.24.0

2023-01-02 Thread Jean Abou Samra
Le 02/01/2023 à 14:31, Jean Abou Samra a écrit : Le 31/12/2022 à 18:23, Sven Axelsson a écrit : I sent the font file to you privately. Thanks, I opened https://gitlab.com/lilypond/lilypond/-/issues/6508 It was diagnosed as a bug in the font (!), not in LilyPond. OpenPGP_signature

Re: Extending Lilypond

2023-01-02 Thread Jean Abou Samra
Le 31/12/2022 à 16:43, Rip mus a écrit : May I ask if you have any advice to better understand how all the "pieces" that make up Lilypond work?I don't know exactly where I intend to get with this study, but I think it will be really useful for me. Well, my first reaction was point to https:

Re: flat symbol in text?

2023-01-03 Thread Jean Abou Samra
> Le 03/01/2023 15:45 CET, Matthew Pierce a écrit : > > > How might I display the text "Bb Major," but with the flat symbol instead of > a lower case "b"? You will find \flat in the index. https://lilypond.org/doc/v2.24/Documentation/notation/lilypond-index.html Best, Jean

Re: Allowing a collision

2023-01-04 Thread Jean Abou Samra
Le 04/01/2023 à 17:24, Paul Hodges a écrit : I have a score which has two staves, for unrelated instruments.  To reproduce the composer's notation, I occasionally need to join the stems of simultaneous notes on the two staves. In a piano staff this is catered for using the \crossStaff command.

Re: weird fonts in volta endings

2023-01-04 Thread Jean Abou Samra
Le 04/01/2023 à 22:42, Flaming Hakama by Elaine a écrit : Hi, I was hoping someone could help me figure out how to fix this font issue. For quite some number of years, I've been using this function that prints custom text for volta ending labels. But now it is producing strange results. T

Re: Frescobaldi & edition engraver

2023-01-04 Thread Jean Abou Samra
Hello, Le 05/01/2023 à 01:21, Michael Dietz a écrit : Hi, after a few years, I come back to LilyPond. I just installed the latest stable version 2.24. Thanks a lot for it. Working on Ubuntu 22.04, I now have two issues: - How to use Frescobaldi (I really enjoyed it but it crashes on startup

Re: Unexpected placement of accidental

2023-01-05 Thread Jean Abou Samra
Le 05/01/2023 à 07:26, Ahanu Banerjee a écrit : Hello, Please see the example below. I tried running it in 2.22 and 2.23 as well, and got the same result. Am I missing an obvious reason that the c-natural accidental is placed so far to the left? \version "2.24.0" \language "english" \relativ

Re: Frescobaldi & edition engraver

2023-01-05 Thread Jean Abou Samra
Le 05/01/2023 à 09:08, Michael Dietz a écrit : Thank you Jean, 1. I will try Flatpack 2. Here I was not precise enough: I am already up to date in this repo. git pull says that I am "Already up to date." I apparently forked it back then. The upstream is https://github.com/openlilylib/snippets.

Re: Tweaking the string number: no circle, and to the right?

2023-01-05 Thread Jean Abou Samra
Le 04/01/2023 à 01:43, Alasdair McAndrew a écrit : Many thanks indeed for that heads-up!  But I have another problem, in that I'm typesetting my chords as per the practice of the time, which was to have the stem of the upper note up, and the stem of the lower note(s) down.  I have done this usi

Re: Unexpected placement of accidental

2023-01-05 Thread Jean Abou Samra
Le 05/01/2023 à 10:17, Ahanu Banerjee a écrit : If I wanted to override the position of this single accidental, how might I do so? Use extra-offset. \version "2.24.0" \language "english" \relative {   \clef bass   \key a \major   <     \tweak Accidental.extra-offset #'(-0.35 . 0) f,     \twea

Re: Frescobaldi & edition engraver

2023-01-05 Thread Jean Abou Samra
Le 05/01/2023 à 17:20, Michael Dietz a écrit : I have three follow-up questions concerning Flatpak-Frescobaldi: The PDF next to the .ly files seems to be unchanged. Why doesn't it update? Most likely, you forgot to save the .ly file after changing it, so what you see is a temporary .pdf fil

Re: Frescobaldi & edition engraver

2023-01-05 Thread Jean Abou Samra
Le 06/01/2023 à 00:26, Michael Dietz a écrit : Thank you Laurie, I just upgraded to Ubuntu 22.04 and had Frescobaldi problems. Looking at your log it looks like qpageview is the culprit - it was with me too. You can install a working version by 1) pip install qpageview Unfortunately this d

Re: problems with release 2.24 on iMac M1 with Ventura 13.0.1

2023-01-06 Thread Jean Abou Samra
Le 30/12/2022 à 17:00, Mario Bolognani a écrit : Ok, I’ll try to explain what I have done for convert.ly: First, following your suggestion, I forced the use of the tools’ #! lines: Then in Frescobaldi after having used the command convert.ly, this was the result: And, after this Fatal P

Re: problems with release 2.24 on iMac M1 with Ventura 13.0.1

2023-01-06 Thread Jean Abou Samra
Le 06/01/2023 à 22:22, Mario Bolognani a écrit : Thanks a lot Jean, apparently with Terminal convert.ly operates correctly, but of course this is not a practical procedure for frequent use. If you start using the command line more, you will find that it is actually incredibly practical for m

Re: problems with release 2.24 on iMac M1 with Ventura 13.0.1

2023-01-06 Thread Jean Abou Samra
Le 07/01/2023 à 00:46, Jean Abou Samra a écrit : Le 06/01/2023 à 22:22, Mario Bolognani a écrit : Thanks a lot Jean, apparently with Terminal convert.ly operates correctly, but of course this is not a practical procedure for frequent use. If you start using the command line more, you

Re: Conflict between articulate.ly and \accacciatura in 2.24.0

2023-01-07 Thread Jean Abou Samra
> Le 7 janv. 2023 à 10:42, Lukas-Fabian Moser a écrit : > > Hi Gordon, > >> Am 07.01.23 um 10:00 schrieb Gordon Bower: >> >> When I tried to recompile a piece I had written in 2.22.1 with 2.24.0, I got >> a mysterious error message: >> "Exited with return code -1073741784." >> >> Commentin

Re: \stopStaff \startStaff bug

2023-01-07 Thread Jean Abou Samra
Le 06/01/2023 à 00:37, Lukas-Fabian Moser a écrit : The Staff_symbol_engraver is not really equipped to deal with multiple \startStaff / \stopStaff events at the same point of time. I would not call the current Staff_symbol_engraver behavior a bug, but a feature. You will see that your engra

Re: problems with release 2.24 on iMac M1 with Ventura 13.0.1

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 16:20, Mario Bolognani a écrit : Yes, you’re right Jean, using Scores in Desktop you can update all your files in batch mode. One more question: the updated files remain in Terminal and the files in Scores are not updated… Possibly another Terminal command is necessary? Thi

Re: \stopStaff \startStaff bug

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 16:48, Kieren MacMillan a écrit : Hi all, [ It sometimes makes me wonder if we need a concept of "infinitesimal time", to allow disambiguating ] Yes, the concept of 0-cycles, that can be allowed to execute in order for decisions to be made at the end of the timestep once all

Re: \stopStaff \startStaff bug

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 17:11, Kieren MacMillan a écrit : Could you explain this a bit more, please? This is a position I’ve never quite understood about Issue #34: I would love to see an input where I can’t determine the output with certainty just from the input. Just take the example I gave earlie

Re: \stopStaff \startStaff bug

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 17:17, David Kastrup a écrit : I disagree. We have grace fixups in sequential music that do this (zero-length events before grace music are executed before the grace) and the same reasonably could be done with simultaneous music. That's more complex, but not terribly so. Some o

Re: \stopStaff \startStaff bug

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 17:50, Kieren MacMillan a écrit : Hi Jean, That sounds like you want to make all zero-length events happen before the grace by default, but that is not always desirable, as \once \set/\override shows. I would say the exact opposite: by default, all zero-length events should ha

Re: \stopStaff \startStaff bug

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 17:58, David Kastrup a écrit : In that case, the NoteHead one has no effect, because \once applies to the next time step only, and the next time step is for a grace note another voice. The recovery action of \once should likely occur after the next _local_ timestep. OK, that

Re: \stopStaff \startStaff bug

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 18:32, Kieren MacMillan a écrit : David’s interpretation of my idea isn’t correct. I never suggested letting the second Staff start after the grace note, simply that decisions for that Staff should be made independently of the Staff that contains the grace music. Here’s a set o

Re: Custom engraver to modify bent grace notes

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 18:41, Nate Whetsell a écrit : Hi, I have a question about using a custom engraver to modify how grace notes appear when LilyPond’s new string bending is applied to them. This is the first custom engraver I’ve attempted to write, so I think I’ve overlooked something rather bas

Re: \stopStaff \startStaff bug

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 18:43, David Kastrup a écrit : Well, this was sort of saying that there may be no silver bullet, but we may have to pick between chrome and aluminum ones. Sometimes there is a solution that blends better into human expectations than strict logic. That's possible. In my opini

Re: \stopStaff \startStaff bug

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 19:16, Jean Abou Samra a écrit : "\dt + warning if not used" Come to think of it: For sure, we don't need a warning about \dt (or grace skips) not being used in the case where there are no zero-length events at that point. The grace note problem is extremely g

Re: N in markup command exported as I with an underlying dot

2023-01-07 Thread Jean Abou Samra
Le 07/01/2023 à 20:45, Xin Guo a écrit : Hi, I’m new to lily pond. Somehow when I try to export “N” in markup command. It’s shown up as an I with an underlying dot in the PDF. When I copy it and pasted in the browser, it’s shown up as “N”. Not sure what’s the issue here. Can someone help me?

Re: Fit to one/n pages

2023-01-07 Thread Jean Abou Samra
> Le 8 janv. 2023 à 06:02, Mark Probert a écrit : > > Hi. > > At the moment I’m doing quite a few lead sheets. The slightly unfortunate > thing is some of these tunes are a stave or two over a page in length. > > I thought I’d reach out and see if there is such a thing as a macro or music

Re: Resize \rhythm in mixed markup

2023-01-08 Thread Jean Abou Samra
Le 08/01/2023 à 11:13, Thomas Morley a écrit : Actually it works, if the \layout is placed toplevel. A bug? It's a limitation of \markup \score. \version "2.24.0" \layout {   \override Voice.NoteHead.color = "red" } \score {   \layout {     \override Voice.NoteHead.color = "blue"   }   { c

Re: Resize \rhythm in mixed markup

2023-01-08 Thread Jean Abou Samra
Le 08/01/2023 à 13:36, Thomas Morley a écrit : I aimed at a smaller size and all Beams and (flagged) Stems should end at the same height. Can this be achieved more easily? For the time being I would just use a music variable, e.g., \version "2.24.0" setup = {   \set fontSize = -5   \override

Re: Resize \rhythm in mixed markup

2023-01-08 Thread Jean Abou Samra
Apparently, top-level markups are interpreted with \paper, although grob-interpret-markup interprets with a real \layout? \version "2.24.0" #(define-markup-command (whats-layout layout props) ()    (interpret-markup layout props (symbol->string (ly:output-def-lookup layout 'output-def-kind

Re: Custom engraver to modify bent grace notes

2023-01-08 Thread Jean Abou Samra
Le 08/01/2023 à 14:58, Nate Whetsell a écrit : you can get the moment of the current time step in the engravers using (ly:context-current-moment context) Thanks, this is a huge help. Thank you also for putting together the Extending LilyPond  websit

Re: Fit to one/n pages

2023-01-08 Thread Jean Abou Samra
Le 08/01/2023 à 23:45, Mark Probert a écrit : Jean, Following on. If my understanding is correct, each \book has a single \page. Did you mean \paper? So if my score consists of multiple \bookparts and I adjust the \page block, that impacts all the \bookparts? Yes, it means each bookpar

Re: Fit to one/n pages

2023-01-08 Thread Jean Abou Samra
Le 09/01/2023 à 00:51, Mark Probert a écrit : [...] \song-one \song-two Make that \book {   \bookpart { \song-one }   \bookpart { \song-two } } Best, Jean OpenPGP_signature Description: OpenPGP digital signature

Re: Fit to one/n pages

2023-01-08 Thread Jean Abou Samra
Le 09/01/2023 à 01:08, Kieren MacMillan a écrit : Hi Mark, Okay. I did that and when I move the \paper (yes, my bad, I did write \page) into the \bookpart it generates a separate PDF for each \bookpart Hmmm… It should generate a page break between bookparts, but shouldn’t generate a new PDF!

Re: Missing end-of-stave barline?

2023-01-08 Thread Jean Abou Samra
> Le 9 janv. 2023 à 07:56, Mark Probert a écrit : > > Hi. > > When I run this snippet the barline at the end of first stave, which I think > should be a “||”, goes “missing” (there is no barline at all). > > Is there a correct way of setting the end of stave barline in this kind of > situ

Re: Question about custom articulation

2023-01-10 Thread Jean Abou Samra
Le 10/01/2023 à 08:12, Rip _Mus a écrit : Hello, I'm trying to define a new articulation, based on two stencils (above and below the staff), that I wrote. I succeeded in making two distinct articulations. However, the attempt to create a single articulation, which chooses the stencil based on

Re: Is there a simple way to test for command line options?

2023-01-10 Thread Jean Abou Samra
Le 10/01/2023 à 19:11, Timothy Lanfear a écrit : The function ly:command-line-options returns a string with all the -d options. The backend option is set to svg when when generating svg output and absent by default. \version "2.22.0" #(let* ((options (ly:command-line-options))     (svg   

New list admin

2023-01-10 Thread Jean Abou Samra
Hi, As per the discussion last October (https://lists.gnu.org/archive/html/lilypond-user/2022-10/msg00047.html) I have been made an admin for the lilypond-user, lilypond-devel and bug-lilypond mailing lists. (If you're wondering, there was some delay on the GNU side). I don't view this as holdin

Re: Image width issue

2023-01-10 Thread Jean Abou Samra
Le 10/01/2023 à 22:33, Rajesh Baskar a écrit : Hi, I have 2 staffs, one with the 3rd note hidden and another replacing the 3rd note with a red dot. But the 2 staffs are not having the same width. What do I need to do make the 2nd staff the same width as the 1st staff. Please see the image fo

Feedback request on image formats

2023-01-10 Thread Jean Abou Samra
Hi, This is a little call for feedback, especially from users of the \epsfile markup command. (To be clear, I'm not speaking "in the name of the development team", just in my name.) Over the past year and a half, LilyPond has gained a new output backend based on the Cairo graphics library. Whi

Re: Feedback request on image formats

2023-01-10 Thread Jean Abou Samra
Le 10/01/2023 à 23:35, Abraham Lee a écrit : If I had a vote, and if PDF really can be seamlessly converted Yes, it can. pdf2svg in.pdf out.svg (https://manpages.ubuntu.com/manpages/impish/man1/pdf2svg.1.html) In the opposite direction: rsvg-convert in.svg -f pdf -o out.pdf The only cavea

Re: Image width issue

2023-01-11 Thread Jean Abou Samra
Le 11/01/2023 à 01:38, Rajesh Baskar a écrit : Hi Jean, I don't know if I'm doing this wrong as suggested by you, but I'm still not getting the results. The main point is not using \tweak transparent ##t, but using the same drawing for the note heads in both cases so that they have the sa

Re: alteration-glyph-name-alist location?

2023-01-11 Thread Jean Abou Samra
Le 11/01/2023 à 00:10, leonardlthomp...@gmail.com a écrit : Hi. Does anyone know which file in the installation has the definition of the alteration-glyph-name-alist variable ? Or alterationGlyphs ?  I'm trying to access how triple sharps and triple flats get engraved. Thanks! Hello, For y

Re: Feedback request on image formats

2023-01-12 Thread Jean Abou Samra
Hello, Le 12/01/2023 à 20:01, NickS a écrit : Personally I certainly much prefer vector formats, as these scale much better in documents, are more editable if customisation is required, and they can easily be batch-converted into raster formats of the required resolution if needed. My main u

Re: Key Signature Bug in 2.24.0

2023-01-13 Thread Jean Abou Samra
Le 13/01/2023 à 09:34, nitra...@posteo.net a écrit : Hi all, I just discovered this huge bug in the recent release of 2.24.0 which wasn't in the previous version. What previous version did you test this with? For me, the output is the same in 2.22 and in 2.18.2. Best, Jean OpenPGP_signat

Re: Key Signature Bug in 2.24.0,Re: Key Signature Bug in 2.24.0

2023-01-13 Thread Jean Abou Samra
Le 13/01/2023 à 10:16, Werner LEMBERG a écrit : I just discovered this huge bug in the recent release of 2.24.0 which wasn't in the previous version. What previous version did you test this with? For me, the output is the same in 2.22 and in 2.18.2. Regardless of that, it is indeed a severe bug

Re: Image width issue

2023-01-13 Thread Jean Abou Samra
Le 12/01/2023 à 05:44, Rajesh Baskar a écrit : Hi Jean, Thanks for your help this works. But I have a question, this solution makes the 1st image match the width of the 2nd image by reducing it. Can the 2nd images width match the  1st images width by increasing it. Try \version "2.24.0"

Re: New list admin

2023-01-13 Thread Jean Abou Samra
Le 10/01/2023 à 22:17, Jean Abou Samra a écrit : In order to increase the bus factor, I would like to nominate one or two other regulars as admins. If you feel like it, please let me know. Thanks to Mark Knoop for accepting this task. He is now a co-admin. Best, Jean OpenPGP_signature

Re: Title font changed?

2023-01-13 Thread Jean Abou Samra
> Le 13 janv. 2023 à 20:19, b...@kummelweb.nl a écrit : > > Hi, > > Since I upgraded tot Lilypond 2.24, I noticed that the title font changed. It > looks much more like standard Times New Roman now, instead of the beautiful > Lilypond text font. (See the attached images: old.png is how it us

Re: how would one cross-reference two [or more] books?

2023-01-13 Thread Jean Abou Samra
> Turns out, ironically, that I am now having to add lots more bookparts so > that garbage doesn't build up to where it triggers a third-party GC bug on > Windows. Still waiting for that fix RSN (2.24.1++?) LilyPond 2.24.1 is planned for the end of January or early February. Whether it inc

Re: defineBarLine confusion

2023-01-13 Thread Jean Abou Samra
Le 13/01/2023 à 23:37, David Zelinsky a écrit : How should I best go about conveying this to the developers? See https://lilypond.org/bug-reports.html Thanks, Jean OpenPGP_signature Description: OpenPGP digital signature

Re: Key Signature Bug in 2.24.0,Re: Key Signature Bug in 2.24.0

2023-01-13 Thread Jean Abou Samra
Le 13/01/2023 à 10:16, Werner LEMBERG a écrit : Regardless of that, it is indeed a severe bug: No need to ever align key signatures vertically, AFAIK. Simply left-align them. I have opened an issue for this: https://gitlab.com/lilypond/lilypond/-/issues/6520 OpenPGP_signature Description:

Re: Image width issue

2023-01-13 Thread Jean Abou Samra
Le 14/01/2023 à 00:22, Rajesh Baskar a écrit : Hi Jean, I don't think I saw your response.Here is the question again - The solution that you gave makes the 1st image match the width of the 2nd image by reducing it. Can the 2nd images width match the 1st images width by increasing it. Wh

Re: Font change in 2.24.0 Figured bass "4"

2023-01-14 Thread Jean Abou Samra
Le 14/01/2023 à 18:27, Richard Shann a écrit : I didn't get a response to this email, ?? You got a reponse from Werner last Monday. While there can be distribution delays on this list, you were in the direct recipients of the email so it is a mystery if it didn't reach you. You can always r

Re: defineBarLine confusion

2023-01-14 Thread Jean Abou Samra
Le 14/01/2023 à 07:14, David Zelinsky a écrit : I have submitted a bug report, and I'm working on submitting a patch. Did you see that Harm has already submitted a patch for this? https://gitlab.com/lilypond/lilypond/-/merge_requests/1813 Best, Jean OpenPGP_signature Description: OpenPGP

Re: how would one cross-reference two [or more] books?

2023-01-14 Thread Jean Abou Samra
Le 14/01/2023 à 21:51, Jeff Olson a écrit : On 1/13/2023 1:27 PM, Jean Abou Samra wrote: LilyPond 2.24.1 is planned for the end of January or early February. Whether it includes this mostly depends on whether Ivan Maidanski has released BDWGC 8.2.3 by then. Thanks for the update, Jean

Re: Obscure error message from 2.25.0

2023-01-15 Thread Jean Abou Samra
Le 15/01/2023 à 20:20, Graham King a écrit : I've just run convert-ly on a 600+ line file and its \include files, from 2.19.40 to 2.25.0. Nothing seemed to change apart from the \version statement, but on trying to compile the file, I get: Processing `/tmp/ly' Parsing...ERROR: In procedur

Re: Obscure error message from 2.25.0

2023-01-15 Thread Jean Abou Samra
I forgot the second part of the question: Le 15/01/2023 à 20:20, Graham King a écrit : Before I start laboriously bisecting the file, is there a way to get an error message that points to one or more lines of code in the file? Try #(ly:set-option 'compile-scheme-code) (Caveat: not function

Re: Old scheme code not working in lilypond 2.25.0

2023-01-15 Thread Jean Abou Samra
Le 16/01/2023 à 00:21, Graham King a écrit : My first steps into recent versions of lilypond are ruthlessly exposing my ignorant copy-&-paste approach to scheme... I'm pretty sure that the following code worked fine under lilypond 2.18, but throws errors under 2.25.0: \version "2.25.0" %

Re: Unicode accidentals vs. Markup accidentals, Re: Unicode accidentals vs. Markup accidentals

2023-01-16 Thread Jean Abou Samra
> Le 16 janv. 2023 à 15:07, Mark Knoop a écrit : > >  > At 12:51 on 16 Jan 2023, Werner LEMBERG wrote: >>> \new Staff { >>> \override TextScript.before-line-breaking = >>> #(lambda (grob) >>> (ly:grob-set-property! grob 'text >>>(markup #:replace >>>

Re: Unicode accidentals vs. Markup accidentals,Re: Unicode accidentals vs. Markup accidentals

2023-01-16 Thread Jean Abou Samra
Le 16/01/2023 à 16:57, Kieren MacMillan a écrit : Hi all, In any case, please submit this to the LSR! I was *just* going to look at this to see if it could be improved viz-a-viz Jean’s suggestion that callbacks using after-line-breaking are often better done with grob-transformer. [Yes, I kn

Re: Making two functions into one

2023-01-16 Thread Jean Abou Samra
Le 16/01/2023 à 15:12, | || | | a écrit : So I thought about delete one nested (list) and try it: nd =  #(define-music-function (number) (integer?)   (make-music   'TimeSignatureMusic   'numerator   8   'denominator   8   'beat-structure   

Re: Making two functions into one

2023-01-16 Thread Jean Abou Samra
Le 16/01/2023 à 22:58, David Kastrup a écrit : From the Lilypond-Extending manual: 1.2.1 LilyPond Scheme syntax The Guile interpreter is part of LilyPond, which means that Scheme can be included in LilyPond input files. There are several methods for including Sche

<    9   10   11   12   13   14   15   16   17   18   >