Re: LilyPond: cadenza mode?

2025-07-04 Thread Kim Cascone
Lukas thanks so much for the scheme code! I'll poke at this and work it into my project yes, calculating scaleDurations was the other route but this seems more efficient %% I just learned how to update LilyPond via the Frescobaldi prefs - so I'm now on 2.25.26 :) KC On 7/4/25 05:48AM,

Re: LilyPond: cadenza mode?

2025-07-04 Thread Lukas-Fabian Moser
Hi Kim, Am 03.07.25 um 02:32 schrieb Kim Cascone: % not sure if cadenza mode can be used with polymetric? and if so, how that would work Yes, this should "just work". The price you have to pay for this to work is that you have to enter your bar lines manually, but maybe that's preferable t

Re: LilyPond: cadenza mode?

2025-07-02 Thread Kim Cascone
I just learned about polymetric mode % not sure if cadenza mode can be used with polymetric? and if so, how that would work but I still want to make a loosely structured score containing fragments for a drone improvisation the drone piece is conducted by the ensemble leader, each section is

Re: LilyPond: cadenza mode?

2025-07-02 Thread Lukas-Fabian Moser
Hi Kim, Am 02.07.25 um 06:38 schrieb Kim Cascone: Hello, need some pointers for a score I wrote out by hand in 2017 for a small ensemble performance the score is a collection of fragments on a single 17 x 11 inch page it is divided into three sections -- each section lasted around 6 minut

Re: LilyPond: cadenza mode?

2025-07-02 Thread William Rehwinkel via LilyPond user discussion
Dear Kim, It's hard to know for sure without a few pictures of examples of what you would like to make, but it sounds to me like this sort of project would be best-handled by creating any number of individual score fragments, exporting them as SVG files, and combining them onto a page using a

Re: Lilypond fonts

2025-06-15 Thread Steve Schow
Yea so I managed to get a number of fonts working with Lilypond…. Previously I was trying to do it with 2.25.x. But with 2.24.x stable version it’s all working. Here are the fonts I have gotten to work so far: Obviously emmentaler is built in and works. In addition to that I downloaded from G

Re: Lilypond fonts

2025-06-11 Thread Steve Schow
Tried esmuflily, couldn’t get it to run without errors. Sounds promising, but it’s above my pay grade to figure out why the example from bmusicfont doesn’t work. Guess I will try to work with the old ones from Abraham in lilypond format…but I sure hope lilypond will eventually support SMuFL di

Re: Lilypond fonts

2025-06-11 Thread Magnus Svenson
Lilypond music fonts have got sizes in the filenames. Like emmentaler-18.otf, emmentaler-20.otf, ...  And they also have the brace like emmentaler-brace.otf, though not all fonts have got the brace. Gonville is a lilypond font. The fonts from github made by Abraham are lilypond fonts, i don't be

Re: Lilypond fonts

2025-06-11 Thread Steve Schow
Thanks for that info about esmuflily, I will try that for SMuFL fonts, which I have a few and that sounds like it will be the way of the future. One thing that is not clear to me is what fonts are actually in the old school lilypond format. I get that there is the built in font set called emmen

Re: Lilypond fonts

2025-06-10 Thread Magnus Svenson
According to this page: https://github.com/dbenjaminmiller/bmusicfonts/tree/master you can use something called esmuflily and ekmelily so that any smufl font can be used in Lilypond. I have not personally tried this so i can't comment on how it works. I am not aware of what work is currently bei

Re: Lilypond DDSB Oboarding.

2025-04-15 Thread Valentin Petzel
Hi Rajapreet, > Thanks. Is there any privacy policy? There is not, as no data is collected. signature.asc Description: This is a digitally signed message part.

Re: Lilypond DDSB Oboarding.

2025-04-14 Thread Valentin Petzel
> Hi, > > I'm following up on my previous email to check if there have been any updates > regarding the questions I sent. > > Regards, > Rajatpreet Singh Hi Rajatpreet, > Our board is planning to onboard Lilypond for use by our staff and students. As > part of the process, we are conducting

Re: Lilypond DDSB Oboarding.

2025-04-14 Thread Carl Sorensen
Please see my answers below. Carl Sorensen -- > *From:* RAJATPREET SINGH > *Sent:* Thursday, March 27, 2025 2:30 PM > *To:* lilypond-user@gnu.org > *Subject:* Lilypond DDSB Oboarding. > > Hi, > > I am the Cybersecurity Analyst for the Durham District School Board in >

Re: LilyPond 2.25.25

2025-03-23 Thread Jonas Hahnfeld via LilyPond user discussion
On Sun, 2025-03-23 at 09:43 -0400, Kieren MacMillan wrote: > Hi again, > > Does this give the full list of issues fixed in 2.25.25? > https://gitlab.com/lilypond/lilypond/-/issues?milestone_title=2.25.25&state=closed Yes, unless we forgot to correctly tag one. The list of all merge requests can b

Re: LilyPond 2.25.25

2025-03-23 Thread Kieren MacMillan
Hi again, Does this give the full list of issues fixed in 2.25.25? https://gitlab.com/lilypond/lilypond/-/issues?milestone_title=2.25.25&state=closed Thanks, Kieren. __ My work day may look different than your work day. Please do not feel obligated

Re: LilyPond 2.25.25

2025-03-23 Thread Kieren MacMillan
Dear Jonas (and the rest of the dev team), First, a note of thanks for all your hard work on making Lilypond the best engraving software application ever! Second: I’m wondering if it’s *easy* for you to add a link in these announcement emails which would take an interested reader (like me) to a

Re: lilypond-user Digest, Vol 267, Issue 7

2025-02-03 Thread jeff
Archlinux with nvim-lilypond-suite Bien à vous Jeff On 03/02/2025 20:04, lilypond-user-requ...@gnu.org wrote: Send lilypond-user mailing list submissions to lilypond-user@gnu.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.gnu.org/mailman/listinfo/l

Re: LilyPond 2.25.23

2025-01-12 Thread David Kastrup
Michael Gerdau writes: >> We are happy to announce the release of LilyPond 2.25.23. 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.4, the current stable

Re: LilyPond 2.25.23

2025-01-12 Thread Michael Gerdau
We are happy to announce the release of LilyPond 2.25.23. 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.4, the current stable release. Please refer to the Instal

Re: Lilypond in Termux (Android)

2024-11-03 Thread Zvony Nagy
Thanks, Martin. I'll look into your suggestions. I can use Lilypond on laptop and desktop devices. I mainly looked into using Lilypond on an Android because I have a simple e-ink tablet (Boox Tab Ultra C Pro) to read music and books on. I wanted to see if I could expand the device's functionali

Re: Lilypond in Termux (Android)

2024-11-03 Thread Martin Tarenskeen
P.S. To view the resulting PDF I use the termux-share command, and then select a PDF viewer that I have installed on my Android tablet. Still looking for an easier way to do it, but it works for me for now ... MT Op zondag 3 november 2024 om 10:49:43 +01:00:00 schreef Martin Tarenskeen : Op

Re: Lilypond in Termux (Android)

2024-11-03 Thread Martin Tarenskeen
Op zaterdag 2 november 2024 om 09:44:09 -05:00:00 schreef Zvony Nagy : Since I only recently started experimenting with LIlypond on Android via Termux, do you know how to access and view the directory where myfile.ly is? Is there a way to work on the file using a text editor

Re: LilyPond repo down?

2024-09-21 Thread Hans Aikema
I’d like to correct my previous mail… you’re likely seeing the symptoms of a reported disruption due to extreme traffic at gitlab infra. https://status.gitlab.com/ Looks like they suffered from extremely high traffic (most logical explanation would be a DDoS attack, though their status page doe

Re: LilyPond repo down?

2024-09-21 Thread Hans Aikema
It’s more likely that you’re having intermittent issues somewhere on the connectivity from your computer via your internet service provider towards the Gitlab infrastructure. If Gitlab itself were to be really down that would be news all over the tech news channels. I’ve not yet spotted such ou

Re: LilyPond repo down?

2024-09-21 Thread Paolo Prete
(no, it's not yet... still having troubles) On Sat, Sep 21, 2024 at 3:23 PM Paolo Prete wrote: > > Now the server seems up and running again. Never mind. > > On Sat, Sep 21, 2024 at 3:13 PM Paolo Prete wrote: > > > > Hello, I can't access the GitLab LilyPond repo, right now. What's happening? >

Re: LilyPond repo down?

2024-09-21 Thread Paolo Prete
Now the server seems up and running again. Never mind. On Sat, Sep 21, 2024 at 3:13 PM Paolo Prete wrote: > > Hello, I can't access the GitLab LilyPond repo, right now. What's happening? > Thanks!

Re: lilypond-user Digest, Vol 262, # 12, question 2

2024-09-05 Thread Schlipf, John (schlipf)
David Kastrup wrote: > floating-markup = #(define-scheme-function (parser location x y obj) > (number? number? scheme?) > #{ > \markup \with-dimensions #'(0 . 0) #'(0 > . 0){ > \override #'(

Re: LilyPond 2.24.4 released!

2024-07-21 Thread Dr. Arne Babenhauserheide
Jonas Hahnfeld via Announcements and Requests for Help from the GNU project and the Free Software Foundation writes: > We are proud to announce the release of GNU LilyPond 2.24.4. LilyPond > is a music engraving program devoted to producing the highest-quality > sheet music possible. It brings t

Re: LilyPond 2.24.4 released!

2024-07-21 Thread Hajo Baess
Thank you for the good news! And of course another big Thank You to everyone who made this new version possible. Can't wait to test-drive it... Am Sonntag, dem 21.07.2024 um 22:31 +0200 schrieb Jonas Hahnfeld via LilyPond user discussion: > We are proud to announce the release of GNU LilyPond 2.2

Re: lilypond 2.24.0 looking for files outside local folder

2024-07-19 Thread Alberto Simões
On Fri, Jul 19, 2024 at 9:32 PM Jean Abou Samra wrote: > > > Sorry if this was already asked. > > I found this strange behavior: > > > * $ ls -l satb.ly *-rw-r--r-- 1 ambs ambs 6018 jul 19 > 20:52 satb.ly > *$ lilypond satb.ly * > GNU LilyPond 2.24.0 (running Gu

Re: lilypond 2.24.0 looking for files outside local folder

2024-07-19 Thread Jean Abou Samra
Sorry if this was already asked.I found this strange behavior: $  ls -l satb.ly-rw-r--r-- 1 ambs ambs 6018 jul 19 20:52 satb.ly$   lilypond satb.lyGNU LilyPond 2.24.0 (running Guile 2.2)Processing `/opt/local/share/lilypond/2.24.0/ly/satb.ly'Parsing...Even with something like ./satb.ly, lilypond st

Re: lilypond-user Digest, Vol 257, Issue 85

2024-04-25 Thread Schlipf, John (schlipf)
On question: On Wed 24 Apr 2024 at 19:13:47 (+0200), Johannes Roeßler wrote: > Hey David, > > it works - but I am running into an issue with short passages. > I would like to stretch the choir part to the right side, > but when I bring in "ragged-right = ##f" then it breaks: > > I assume you have a

Re: LilyPond 2.25.15

2024-04-21 Thread Ya Gloops
Great !!!Thanks for fixing the guile 3 bug on Windows... GillesLe samedi 20 avril 2024 à 18:18:24 UTC+2, Jonas Hahnfeld via LilyPond user discussion a écrit : We are happy to announce the release of LilyPond 2.25.15. This is termed a development release, but these are usually reliable f

Re: LilyPond 2.25.14

2024-03-26 Thread Michael Gerdau
Am 23.03.24 um 17:55 schrieb Karlin High: The attached zip folder is what I used in the previous post. It was derived from a post by Vaughan McAlley in 2016, updated via convert-ly to the version in question here. It looks like back in 2016, on the same computer I now have, LilyPond 2.19.46 w

Re: LilyPond 2.25.14

2024-03-25 Thread Mathieu Demange
Hello, Here are my results for MSDM.ly on a M2 Max MacBook Pro: real 12.11 user 11.02 sys 1.06 Thanks a lot! Mathieu

Re: LilyPond 2.25.14

2024-03-24 Thread Michael Käppler
Am 24.03.2024 um 11:50 schrieb Jonas Hahnfeld: Just out of interest, do we tweak the JIT_THRESHOLD somewhere or do we use the default value? I don't think we change it from LilyPond, so likely using the default value. I did a test with the opposite extremes. Again, 10 subsequent runs with the

Re: LilyPond 2.25.14

2024-03-24 Thread Aaron Hill
On 2024-03-24 3:45 am, Jonas Hahnfeld wrote: On Sun, 2024-03-24 at 03:20 -0700, Aaron Hill wrote: Based on the email thread you linked, perhaps I should nuke all my WSL distros at this point and start from scratch with the latest Ubuntu (22, I gather). Not sure if Alma is an option for WSL.

Re: LilyPond 2.25.14

2024-03-24 Thread Robert Garrigos
I did convert this Carver Mass to 2.25.13 and created the pdf with no error but the following warning: the property 'extra-X-extent' does not exist (perhaps a typing error) and warning: The MIDI channel is tuned around warning: module 16 will be remapped (actually, I got these last messages in

Re: LilyPond 2.25.14

2024-03-24 Thread Jonas Hahnfeld via LilyPond user discussion
On Sat, 2024-03-23 at 23:53 +0100, Hans Aikema wrote: > > Jonas, > > > > I ran this same file my Apple M1 MacBook Pro 2021 against > > > > MacPorts lilypond-devel (which is still at 2.25.13) aarch64 build > > aikebah@rajah MSDM % time (lilypond MSDM.ly 2> /dev/null ) > > ( lilypond MSDM.ly 2> /de

Re: LilyPond 2.25.14

2024-03-24 Thread Jonas Hahnfeld via LilyPond user discussion
On Sat, 2024-03-23 at 23:03 +0100, Michael Käppler wrote: > Hi Jonas, > thanks for working on this! > > > Windows build with Guile JIT: https://cloud.hahnjo.de/s/Ek5x9rybpiPNtoj > > This turns on just-in-time compilation that was added in Guile 3.0, but > > we had to keep disabled on Windows until

Re: LilyPond 2.25.14

2024-03-24 Thread Jonas Hahnfeld via LilyPond user discussion
On Sat, 2024-03-23 at 14:08 -0700, Kenneth Wolcott wrote: > Hi Jonas; > > I hope that the following information is useful: > > Lilypond performance stats for the engraving of one very small and one > medium sized pieces > > native = Apple Silicon build > foreign = x86_64 > other = MacPorts LP

Re: LilyPond 2.25.14

2024-03-24 Thread Jonas Hahnfeld via LilyPond user discussion
On Sat, 2024-03-23 at 14:24 -0500, Karlin High wrote: > On 3/23/2024 2:00 PM, Jonas Hahnfeld wrote: > > Would be interesting to see how this compares to the "vanilla" package > > I tried it, 3 runs. First one maybe unfair because font cache > initialization or something. > > real0m48.643s >

Re: LilyPond 2.25.14

2024-03-24 Thread Jonas Hahnfeld via LilyPond user discussion
On Sun, 2024-03-24 at 03:20 -0700, Aaron Hill wrote: > The error occurred from my WSL1 environment running Ubuntu 18.04. > Probably my own fault for keeping bionic around. Ah ok; yes, Ubuntu 18.04 is end-of-life since last year already, so I didn't check its versions. > I do have Ubuntu 20.04 u

Re: LilyPond 2.25.14

2024-03-24 Thread Aaron Hill
On 2024-03-24 1:23 am, Jonas Hahnfeld wrote: On Sat, 2024-03-23 at 18:18 -0700, Aaron Hill wrote: On 2024-03-23 6:25 am, Jonas Hahnfeld wrote: > We are happy to announce the release of LilyPond 2.25.14. This is > termed a development release, but these are usually reliable for > testing new feat

Re: LilyPond 2.25.14

2024-03-24 Thread Jonas Hahnfeld via LilyPond user discussion
On Sat, 2024-03-23 at 18:18 -0700, Aaron Hill wrote: > On 2024-03-23 6:25 am, Jonas Hahnfeld wrote: > > We are happy to announce the release of LilyPond 2.25.14. This is > > termed a development release, but these are usually reliable for > > testing new features and recent bug fixes. However, if y

Re: LilyPond 2.25.14

2024-03-23 Thread Aaron Hill
On 2024-03-23 6:25 am, Jonas Hahnfeld via Discussions on LilyPond development wrote: We are happy to announce the release of LilyPond 2.25.14. 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

Re: LilyPond 2.25.14

2024-03-23 Thread Hans Aikema
On 23 Mar 2024, at 17:55, Karlin High wrote:On 3/23/2024 11:39 AM, Robin Bannister wrote:I have nothing large.The attached zip folder is what I used in the previous post. It was derived from a post by Vaughan McAlley in 2016, updated via convert-ly to the version in question here.It looks like bac

Re: LilyPond 2.25.14

2024-03-23 Thread Michael Käppler
Hi Jonas, thanks for working on this! Windows build with Guile JIT: https://cloud.hahnjo.de/s/Ek5x9rybpiPNtoj This turns on just-in-time compilation that was added in Guile 3.0, but we had to keep disabled on Windows until now. Please test, especially on larger scores where this should provide a

Re: LilyPond 2.25.14

2024-03-23 Thread Kenneth Wolcott
Hi Jonas; I hope that the following information is useful: Lilypond performance stats for the engraving of one very small and one medium sized pieces native = Apple Silicon build foreign = x86_64 other = MacPorts LP 2.24.3 ~/Downloads/native_lilypond-2.25.14/bin/lilypond ./Danny_Boy_updated.l

Re: LilyPond 2.25.14

2024-03-23 Thread Karlin High
On 3/23/2024 2:00 PM, Jonas Hahnfeld wrote: Would be interesting to see how this compares to the "vanilla" package I tried it, 3 runs. First one maybe unfair because font cache initialization or something. real0m48.643s user0m0.000s sys 0m0.031s real0m31.457s user0m0.015

Re: LilyPond 2.25.14

2024-03-23 Thread Jonas Hahnfeld via LilyPond user discussion
On Sat, 2024-03-23 at 11:39 -0700, Kenneth Wolcott wrote: > Hi Jonas; > > I've tried engraving a couple of randomly chosen previous engravings > (using LP 2.24.x) using the new LP 2.25.14 version on my Mac (Apple > Silicon). > > Since none of my engravings are large, most of them are one to t

Re: LilyPond 2.25.14

2024-03-23 Thread Jonas Hahnfeld via LilyPond user discussion
On Sat, 2024-03-23 at 11:41 -0500, Karlin High wrote: > On 3/23/2024 10:02 AM, Jonas Hahnfeld via LilyPond user discussion wrote: > > Windows build with Guile JIT: https://cloud.hahnjo.de/s/Ek5x9rybpiPNtoj > > This turns on just-in-time compilation that was added in Guile 3.0, but > > we had to k

Re: LilyPond 2.25.14

2024-03-23 Thread Kenneth Wolcott
Hi Jonas; I've tried engraving a couple of randomly chosen previous engravings (using LP 2.24.x) using the new LP 2.25.14 version on my Mac (Apple Silicon). Since none of my engravings are large, most of them are one to two pages in length, I thought there would be no noticable decrease in en

Re: LilyPond 2.25.14

2024-03-23 Thread Karlin High
On 3/23/2024 11:39 AM, Robin Bannister wrote: I have nothing large. The attached zip folder is what I used in the previous post. It was derived from a post by Vaughan McAlley in 2016, updated via convert-ly to the version in question here. It looks like back in 2016, on the same computer I

Re: LilyPond 2.25.14

2024-03-23 Thread Robin Bannister
Jonas Hahnfeld via LilyPond user discussion wrote: Windows build with Guile JIT: https://cloud.hahnjo.de/s/Ek5x9rybpiPNtoj This turns on just-in-time compilation that was added in Guile 3.0, but we had to keep disabled on Windows until now. Please test, especially on larger scores where this sho

Re: LilyPond 2.25.14

2024-03-23 Thread Karlin High
On 3/23/2024 10:02 AM, Jonas Hahnfeld via LilyPond user discussion wrote: Windows build with Guile JIT: https://cloud.hahnjo.de/s/Ek5x9rybpiPNtoj This turns on just-in-time compilation that was added in Guile 3.0, but we had to keep disabled on Windows until now. Please test, especially on larg

Re: LilyPond 2.25.14

2024-03-23 Thread Kenneth Wolcott
WOW!!! Apple Silicon support!!! On Sat, Mar 23, 2024 at 8:03 AM Jonas Hahnfeld via LilyPond user discussion wrote: > > On Sat, 2024-03-23 at 14:25 +0100, Jonas Hahnfeld wrote: > > We are happy to announce the release of LilyPond 2.25.14. This is > > termed a development release, but these are usu

Re: LilyPond 2.25.14

2024-03-23 Thread Jonas Hahnfeld via LilyPond user discussion
On Sat, 2024-03-23 at 14:25 +0100, Jonas Hahnfeld wrote: > We are happy to announce the release of LilyPond 2.25.14. This is > termed a development release, but these are usually reliable for > testing new features and recent bug fixes. Following this release, I made two special builds with the ch

Re: LilyPond Swift Library

2024-03-22 Thread Karlin High
On 3/22/2024 10:15 AM, Sam Dimarcos wrote: the realm of iOS and Swift? So long as the Apple App Store is the only way to get apps onto iOS devices, for anything LilyPond-derived there would be a need to make peace between the App Store terms and the GNU General Public License. -- Karlin High

Re: Lilypond and digital readers

2024-02-29 Thread Laurie Savage
Likewise, my setup includes \paper{} and \layout{} for printing and screen display. Laurie Savage https://www.queensofthewest.com/ On Fri, 1 Mar 2024 at 00:18, Kevin Cole wrote: > This is similar to something I learned to do from this list. Thank you, > list wizards. > > I generate scores for b

Re: Lilypond and digital readers

2024-02-29 Thread Kevin Cole
This is similar to something I learned to do from this list. Thank you, list wizards. I generate scores for both printing (paginated PDFs) and displaying on a website generated by the Sphinx documentation system (unpaginated SVGs). Sometimes, I want to regenerate ALL the scores. So I have a Bash s

Re: Lilypond and digital readers

2024-02-29 Thread Robert Garrigos
Thanks, Laurie. I never thought of having an adapted PDF for my reader (a remarkable), but based on your example, here it is what I’m doing right now. This is a different approach because I want to have also a normal PDF for printing, I have two book entries on my lilypond file, something like t

Re: Lilypond and digital readers

2024-02-25 Thread Laurie Savage
Glad you liked it! Laurie Savage https://www.queensofthewest.com/ The Latest Queens of The West clips https://www.youtube.com/playlist?list=PLgkDbfgWIb8_tQgEZRKeRWVSukoM2xoC_ On Mon, 26 Feb 2024 at 05:16, Ernie Braganza wrote: > I love this. That hadn't occurred to me. > > On Fri, Feb 23, 2024

Re: Lilypond and digital readers

2024-02-25 Thread Ernie Braganza
I love this. That hadn't occurred to me. On Fri, Feb 23, 2024 at 7:52 PM Laurie Savage wrote: > Hi, > > I use a tablet for storing my lead sheets, most of which I prepare in > Lilypond. I have just stumbled on a trick I thought I'd share with you - > although it might be obvious to you, it wasn'

Re: Lilypond and digital readers

2024-02-23 Thread Colin Campbell
Shamelessly copying the tip for my own use! I also use MobileSheets Pro, and absolutely depend on it for my choral stuff. Your tip gives me some ideas for stuff I know I'll be singing: things like highlighting my bass part (NR 1.7.1ff), colouring key and time changes . . . Dude, I'm going to ha

Re: Lilypond on Fedora 38 "mostly broken"

2023-12-20 Thread Peter Mayes
I just saw that there was a lilypond update available for Fedora 38 (my main machine), and updating from 2.25.4 to 2.25.11 has fixed the problem. Same is true for Fedora 39. Just in case others are affected. On 17/12/2023 11:25, Jean Abou Samra wrote: This is not https://bugzilla.redhat.com/

Re: Lilypond on Fedora 38 "mostly broken"

2023-12-17 Thread Jean Abou Samra
This is not https://bugzilla.redhat.com/show_bug.cgi?id=2208744 but rather https://bugzilla.redhat.com/show_bug.cgi?id=2253842 , which is being fixed. The updates are in the "Testing" repositories. See https://bugzilla.redhat.com/show_bug.cgi?id=2253842#c3 for how to install the update on Fedor

Re: lilypond "preprocessor"?

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

Re: lilypond "preprocessor"?

2023-12-12 Thread Mats Bengtsson
On 2023-12-12 11:26, Werner LEMBERG wrote: One thing occurred to me.  If the original \score did not have a \midi block, would it be possible to ask lilypond to produce midi output without modifying the input file?

Re: lilypond "preprocessor"?

2023-12-12 Thread Stefano Antonelli
On Tue, 2023-12-12 at 12:40 -0800, Aaron Hill wrote: > Any better? > > > #(define (add-midi-to-score score) >(define (has-midi? score) > (any (lambda (x) (ly:output-def-lookup x 'is-midi)) > (ly:score-output-defs score))) >(if (has-midi? score) score > #{ \score {

Re: lilypond "preprocessor"?

2023-12-12 Thread David Kastrup
Aaron Hill writes: > On 2023-12-12 1:04 pm, David Kastrup wrote: >> Aaron Hill writes: >>> >>> #(define (add-midi-to-score score) >>> (define (has-midi? score) >>> (any (lambda (x) (ly:output-def-lookup x 'is-midi)) >> Wouldn't that need to be (ly:output-def-lookup x 'is-midi #f) ? >

Re: lilypond "preprocessor"?

2023-12-12 Thread Aaron Hill
On 2023-12-12 1:04 pm, David Kastrup wrote: Aaron Hill writes: #(define (add-midi-to-score score) (define (has-midi? score) (any (lambda (x) (ly:output-def-lookup x 'is-midi)) Wouldn't that need to be (ly:output-def-lookup x 'is-midi #f) ? The default is to return '() which I tho

Re: lilypond "preprocessor"?

2023-12-12 Thread David Kastrup
Aaron Hill writes: > On 2023-12-12 12:06 pm, Stefano Antonelli wrote: >> On Tue, 2023-12-12 at 02:31 -0800, Aaron Hill wrote: >>> Would this not work? >>> >>> #(define (add-midi-to-score score) >>>#{ \score { $score \midi {} } #}) >>> toplevel-score-handler = >>> #(lambda (score) >>>

Re: lilypond "preprocessor"?

2023-12-12 Thread Aaron Hill
On 2023-12-12 12:06 pm, Stefano Antonelli wrote: On Tue, 2023-12-12 at 02:31 -0800, Aaron Hill wrote: Would this not work? #(define (add-midi-to-score score) #{ \score { $score \midi {} } #}) toplevel-score-handler = #(lambda (score) (collect-scores-for-book (add-midi-to-score score

Re: lilypond "preprocessor"?

2023-12-12 Thread Stefano Antonelli
On Tue, 2023-12-12 at 02:31 -0800, Aaron Hill wrote: > Would this not work? > > > #(define (add-midi-to-score score) >#{ \score { $score \midi {} } #}) > > toplevel-score-handler = > #(lambda (score) >(collect-scores-for-book (add-midi-to-score score))) > Indeed it does! Witho

Re: lilypond "preprocessor"?

2023-12-12 Thread Stefano Antonelli
On Tue, 2023-12-12 at 11:00 +0100, Jean Abou Samra wrote: > > cat first.ly second.ly third.ly > out.ly > > lilypond out.ly > > But it's not portable. I'd have to do the equivalent in python if > > there's no way to do it with lilypond. > > Not sure I understand the need, why do you need to append

Re: lilypond "preprocessor"?

2023-12-12 Thread Aaron Hill
On 2023-12-12 2:01 am, Jean Abou Samra wrote: One thing occurred to me.  If the original \score did not have a \midi block, would it be possible to ask lilypond to produce midi output without modifying the input file? No, this is not currently possible, although it would be a nice addition.

Re: lilypond "preprocessor"?

2023-12-12 Thread Werner LEMBERG
>> One thing occurred to me.  If the original \score did not have a >> \midi block, would it be possible to ask lilypond to produce midi >> output without modifying the input file? > > No, this is not currently possible, although it would be a nice > addition. Stefano, please file an issue for t

Re: lilypond "preprocessor"?

2023-12-12 Thread Jean Abou Samra
> One thing occurred to me.  If the original \score did not have a \midi > block, would it be possible to ask lilypond to produce midi output > without modifying the input file? No, this is not currently possible, although it would be a nice addition. signature.asc Description: This is a dig

Re: lilypond "preprocessor"?

2023-12-12 Thread Jean Abou Samra
> If I can find a way to append to the input file, I can probably get rid > of that scraping/parsing code completely.  I came across -dread-file- > list.  If I understand I would need to create a file: > > ``` > $ cat list-of-files.txt > first.ly > song.ly > last.ly > ``` > > And then > > ``` > l

Re: lilypond "preprocessor"?

2023-12-11 Thread Stefano Antonelli
On Mon, 2023-12-11 at 17:22 +0100, Jean Abou Samra wrote: > ly2video or not, you need to unfold repeats as soon as you want > correct MIDI output. I agree that requiring to do it explicitly is > not very user-friendly, but auto-adding \unfoldRepeats sounds like > solving the problem at the wrong l

Re: lilypond "preprocessor"?

2023-12-11 Thread Stefano Antonelli
On Mon, 2023-12-11 at 19:41 +0100, Jean Abou Samra wrote: > Put > > break = {} > pageBreak = {} > in the -dinclude-settings file? Wow. That's deceptively simple! > You can put > > #(set! toplevel-music-functions (cons unfoldRepeats toplevel-music- > functions)) > in -dinclude-settings. This i

Re: lilypond "preprocessor"?

2023-12-11 Thread Jean Abou Samra
> There is a case where I want to create a narrower page for a narrower > screen.  I can easily append a /paper {} block to the original file to > do this.  However, any manual breaks will probably not work at this > newer width.  How would you recommend dealing with this? Put ``` break = {} pag

Re: lilypond "preprocessor"?

2023-12-11 Thread Stefano Antonelli
On Mon, 2023-12-11 at 17:22 +0100, Jean Abou Samra wrote: > > We need a copy so we can introduce the space time dumper code which > > boils down to a simple /include statement at the very top of the > > file. > > You can do that via the -dinclude-settings option instead. Good to know, thanks. >

Re: lilypond "preprocessor"?

2023-12-11 Thread Stefano Antonelli
On Mon, 2023-12-11 at 03:49 -0800, Aaron Hill wrote: > Why should ly2video need any such smarts at all? Since there are > myriad > ways an end user can structure their input files, let LilyPond do its > job and have ly2video ask it for all the information needed. It > sounds > like ly2video is al

Re: lilypond "preprocessor"?

2023-12-11 Thread Jean Abou Samra
> We need a copy so we can introduce the space time dumper code which > boils down to a simple /include statement at the very top of the file. You can do that via the `-dinclude-settings` option instead. > It looks like ly2video also removes any \break, \noBreak, and > \pageBreak it finds in t

Re: lilypond "preprocessor"?

2023-12-11 Thread Aaron Hill
On 2023-12-10 9:33 pm, Stefano Antonelli wrote: On Sun, 2023-12-10 at 08:46 -0500, Michael Werner wrote: I'm not at all familiar with ly2video, so I really have no idea if this'll be directly useful to you. But for getting the headers from an included file, this is how I do it with nearly all th

Re: lilypond "preprocessor"?

2023-12-10 Thread Stefano Antonelli
On Sun, 2023-12-10 at 08:46 -0500, Michael Werner wrote: > And then I would have anotherFile.ly containing something like: > > \include "song.ly" > > \book { > \myHeaders > \score { > \theMusic > } > } Thanks for the suggestion Michael. I like that idea, but it doesn't help with the p

Re: lilypond "preprocessor"?

2023-12-10 Thread Stefano Antonelli
On Sun, 2023-12-10 at 10:56 +0100, Jean Abou Samra wrote: > It would be better for ly2video not to modify the input file. Technically, it modifies a copy of the input file. The scraping is clunky and I don't like it though it seems necessary. The idea, I suppose, is to make it easy for the user

Re: lilypond "preprocessor"?

2023-12-10 Thread Michael Werner
Hi Stef, On Sat, Dec 9, 2023 at 11:07 PM Stefano Antonelli < santone...@algosolutions.com> wrote: > Any other options for getting the header block from an included file? > I don't know if this'll be directly usable in your use case, but I do something like this with most of the music I engrave.

Re: Lilypond on Linux/Fedora 39 error after system update.

2023-12-10 Thread Laurie Savage
Thanks, it worked. Here are the last three lines of the compilation! Converting to `Blue_Trane-2lines.pdf'... Success: compilation successfully completed Compilation finished at Sun Dec 10 22:53:43 Laurie Savage https://www.queensofthewest.com/ The Latest Queens of The West clips https://www.yo

Re: lilypond "preprocessor"?

2023-12-10 Thread Jean Abou Samra
> I know I can run lilypond on song.ly and it will implicitly wrap it in > a \score block, but is that contained in an intermediate file somewhere > I can get access to? No, there is no such file. The implicit wrapping happens at the level of LilyPond's data structures, it's not a textual macro e

Re: Lilypond on Linux/Fedora 39 error after system update.

2023-12-10 Thread Jean Abou Samra
Never mind, I can reproduce it after updating my own system. Filed as  [https://bugzilla.redhat.com/show_bug.cgi?id=2253842](https://bugzilla.redhat.com/show_bug.cgi?id=2253842) For now, please try `sudo dnf install ghostscript-10.01.2` signature.asc Description: This is a digitally signed messa

Re: Lilypond on Linux/Fedora 39 error after system update.

2023-12-10 Thread Jonas Hahnfeld via LilyPond user discussion
On Sun, 2023-12-10 at 14:09 +1100, Laurie Savage wrote: > Hi, > > I was editing a lead sheet for my combo and it compiled fine. I > closed Frescobaldi, accepted Fedora's nags to update and went to > bed. I opened Frescobaldi this morning and get this error message > on any file I try to compile. >

Re: Lilypond on Linux/Fedora 39 error after system update.

2023-12-10 Thread Jean Abou Samra
There must be some other error message before this one that is causing it. Please include it as well. signature.asc Description: This is a digitally signed message part

Re: Lilypond 2.24.3 / iMac Sonoma / GS -dNODISPLAY fatal error

2023-11-28 Thread Eric
Well, that worked. (I can now continue collating the parts of at least the first movement of Robert Fuchs' 4th string quartet (1916) into score past bar 195 where I left my project... ;) ) Thanks much!! On Tue, Nov 28, 2023 at 5:38 AM Eric wrote: > Well, that’s depressing, I thought I had. I’ll

Re: Lilypond 2.24.3 / iMac Sonoma / GS -dNODISPLAY fatal error

2023-11-28 Thread Eric
Well, that’s depressing, I thought I had. I’ll get on that- thanks! On Tue, Nov 28, 2023 at 01:51 Jonas Hahnfeld wrote: > On Tue, 2023-11-28 at 01:33 -0500, Eric wrote: > > Installed 2.24.3 -docs using Macports, used convert-ly on a couple of > > files I'd last worked on in June, and received th

Re: Lilypond 2.24.3 / iMac Sonoma / GS -dNODISPLAY fatal error

2023-11-27 Thread Jonas Hahnfeld via LilyPond user discussion
On Tue, 2023-11-28 at 01:33 -0500, Eric wrote: > Installed 2.24.3 -docs using Macports, used convert-ly on a couple of > files I'd last worked on in June, and received the following (see > attached text file) after trying lilypond on one of those files and > adding the -V flag. I know that several

Re: Lilypond 2.24.3 / iMac Sonoma / GS -dNODISPLAY fatal error

2023-11-27 Thread Werner LEMBERG
> Installed 2.24.3 -docs using Macports, No, you didn't. In the very first line of your log file I can see '2.24.2'. The problem vanishes if you *really* install version 2.24.3 – or if you fix up your system setup so that the correct LilyPond version gets found. Werner

Re: LilyPond 2.24.3 and Norton 360

2023-11-24 Thread Knute Snortum
On Fri, Nov 24, 2023 at 9:51 AM Karlin High wrote: > On 11/24/2023 9:38 AM, Knute Snortum wrote: > > My hope is this will help others in the same situation. > > To further that hope, Norton has a website for reporting false-positives. > > Hub page: > > < > https://support.norton.com/sp/en/us/home

  1   2   3   4   5   6   7   8   9   10   >