|
From: | Sebastien Richard |
Subject: | Re: include if exist |
Date: | Wed, 8 Mar 2023 15:42:58 +0000 |
Bonjour Ben
Exact çà fonctionne à présent
Un grand merci à toi
Cdt,
------
Filo
From: Ben <ben@eulogia.ch>
Sent: Wednesday, March 8, 2023 09:02 To: Sebastien Richard <richardsgjm@hotmail.com> Cc: lilypond-user-fr@gnu.org <lilypond-user-fr@gnu.org> Subject: Re: include if exist Bonjour Filo,
Chez moi, cela fonctionne:
\version "2.18.2"
includeIfExists =
#(define-void-function (parser location file)(string?)
(if (file-exists? file)
(ly:parser-include-string (format #f "\\include \"~A\"\n" file)))
)
\includeIfExists "/home/oneusername/lilypond/mydrums.ly"
Au plaisir,
Ben
|
[Prev in Thread] | Current Thread | [Next in Thread] |