This is how openLilyLib is loaded. If you have oll-core stored so that
C:\openLilyLib\oll-core\package.ily
is a file and call LilyPond with
lilypond-windows.exe -I C:\openLilyLib
alleluja.ly
then
\include "oll-core/package.ily"
will find the file because the search path C:\openLilyLib plus the relative path given in the \include statement "oll-
1,
Using
the include: \include “C:\openLilyLib\oll-core\package.ily” in alleluja.ly
. Would lilypond- windows.exe alleluja.ly work?
2, If
not, why?
3,Before you stated “Then you need to add C:\openLilyLib
to LilyPond’s search path”; is this what you mean: lilypond-windows.exe
-I C:\openLilyLib alleluja.ly
Thank you, ƒg
HTH
Urs
15. Oktober 2019 17:16, "Freeman Gilmore" <
address@hidden> schrieb:
> On Tue, Oct 15, 2019 at 10:34 AM Urs Liska <
address@hidden> wrote:
>
>> 15. Oktober 2019 16:28, "Freeman Gilmore" <
address@hidden> schrieb:
>>
>>> On Tue, Oct 15, 2019 at 1:50 AM Urs Liska <
address@hidden> wrote:
>>>
>>>> ...
>>>>
>>>> So, for openLilyLib this means:
>>>>
>>>> * You need *one* root directory where all openLilyLib packages will be located *below*, say
>>>> C:\openLilyLib
>>>> * Within that you need to have (at least) the oll-core package, in C:\openLilyLib\oll-core (so
>>>> you'll have a file C:\openLilyLib\oll-core\package.ily)
>>>> * Then you need to add C:\openLilyLib to LilyPond's search path
>>> I have seen this in other places; were do I do this? Is this an Environment Variable setting, if
>> so
>>> how? How do i add C:\openLilyLib to LilyPond's search path? Else were most is explained but this
>>> but this step is left with no clue.
>>> Thank you, ƒg
>>>
>>
>> For example call LilyPond with (something like (adjust to the Windows environment)
>> lilypond-windows.exe -I C:\openLilyLib path\to\document.loy
>
> See if I have it: I run lilypond-windows.exe then i enter -I C:\openLilyLib path\to\document.loy .
> this adds the C:\openLilyLib directory to the file document.loy ?
>
> Now if I use the include with the path C:\openLilyLib , dose Lilypond search all the directories
> and subdirectories of openLilyLib or do i need an include ...\directory\file for each file I use?
>
> If this is getting to be to much to ask on basic let me know?
> Thank you, ƒg
>
>> When using Frescobaldi, go to Edit=>Preferences=>LilyPond Preferences and add the directory to the
>> "LilyPond include path:" section at the bottom of the page.