Displaying LilyPond's data directory: Difference between revisions
Appearance
m Add categories |
Print it to stderr |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
In [[Frescobaldi]], you can install LilyPond while editing the Settings options. | In [[Frescobaldi]], you can install LilyPond while editing the Settings options. However, it is not always clear what directory LilyPond is installed in. | ||
Using the following code will display LilyPond’s data directory in the LilyPond log. | |||
<pre> | <pre> | ||
\version "2.24 | \version "2.24" | ||
#( | |||
#(ly:message "The LilyPond data directory is located at: ~a" (ly:get-option 'datadir)) | |||
</pre> | </pre> | ||
(Thanks to Mark Knoop for this code.) | (Thanks to Mark Knoop for this code.) | ||
[[Category:Snippet]] [[Category:Scheme]] | [[Category:Snippet]] | ||
[[Category:Scheme]] | |||
Latest revision as of 15:10, 19 February 2026
In Frescobaldi, you can install LilyPond while editing the Settings options. However, it is not always clear what directory LilyPond is installed in.
Using the following code will display LilyPond’s data directory in the LilyPond log.
\version "2.24" #(ly:message "The LilyPond data directory is located at: ~a" (ly:get-option 'datadir))
(Thanks to Mark Knoop for this code.)