lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDF file gets "-1" appended


From: Knute Snortum
Subject: Re: PDF file gets "-1" appended
Date: Fri, 30 Jun 2023 13:25:10 -0700

On Fri, Jun 30, 2023 at 1:16 PM Jean Abou Samra <jean@abou-samra.fr> wrote:
Le mardi 27 juin 2023 à 21:17 +0200, Valentin Petzel a écrit :
Hello Knute,

so you are using books to allow specification of the midi filename. This is
probably a fine usecase, but it still seems like a bit of an abuse of the book
mechanic to me. Rather I’d adapt the midi output name logic itself.

This code adapts the internal function responsible for writing out the midi
performances (scm/midi.scm:write-performances-midis) in such a way that


#(set-current-module (resolve-module '(lily))) is true lock picking :-) I mean, sometimes you really can't avoid monkeypatching internals, but I'd reserve it for desperate cases.

Thanks for the insight.  Is there a better way to do this?

--
Knute Snortum
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]