|
From: | stefano franchi |
Subject: | Re: where (if anywhere) does lilypond look for locally shared files? |
Date: | Mon, 12 Apr 2021 23:00:53 -0500 |
On Mon, Apr 12 2021 at 15:45:26 -0500, stefano franchi <stefano.franchi@gmail.com> wrote:Where am I supposed to store my templates, functions, snippets, etc?Otherwise put, in (La)TeX terms is there a lilypond equivalent of ~/texmf ?There's no standard directory. Just use what you want and then use --include=/PATH/TO/DIR to let lilypond find your files.
On linux, there seems to be no equivalents, at least as far as I can tell. It thought~/.local/share/lilypond would be it, but it is not created at installation time. Is there an environment variable that could be set? The docs make reference toLILYPOND_DATADIR
, but that seems to indicate the global location, as far as I can tell from the following description:
LILYPOND_DATADIR
This specifies a directory where locale messages and data files are looked up by default, overriding locations defined either at compile-time or computed dynamically at run-time (see Relocation). The directory should contain subdirectories called ‘ly’, ‘ps’, ‘tex’, etc.
Or is "locale" a typo for "local"?I'm confusedLocale refers to localization, i.e. translation files (PO files).
On my current 2.23.0 installation from lilypond.org package, I see this:$ ls .local/lilypond/usr/share/lilypond/current/fonts ly ps python scm vimLocale files are in another directory:$ ls .local/lilypond/usr/share/bash-completion emacs fontconfig gdb ghostscript glib-2.0 guile lilypond locale xml$ ls .local/lilypond/usr/share/locale/af az bs de en@quot fa he is ko mk nds or ro sq te ug zh_CNam be ca dz en@shaw fi hi it ku ml ne pa ru sr tg uk zh_HKan be@latin ca@valencia el eo fr hr ja lt mn nl pl rw sr@ije th vi zh_TWar bg cs en@boldquot es ga hu ka lv mr nn ps si sr@latin tl waas bn cy en_CA et gl hy kk mai ms no pt sk sv tr xhast bn_IN da en_GB eu gu id kn mg nb oc pt_BR sl ta tt yi
[Prev in Thread] | Current Thread | [Next in Thread] |