lilypond-user
[Top][All Lists]
Advanced

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

Re: Including Lilypond files (Was: \partial only on first measure?)


From: Dmytro O. Redchuk
Subject: Re: Including Lilypond files (Was: \partial only on first measure?)
Date: Wed, 28 Sep 2011 14:15:31 +0300
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed 28 Sep 2011, 11:51 Alberto Simões wrote:
> >>Yes, I can also use -I, it seems. But defining an environment
> >>variable would make it a lot cleaner  :)
> >Can you make an alias?
> >
> >I guess it's possible in bash (don't know about your system):
> >alias lilypond='lilypond -Ifoo.lyi'
> >
> >However, i have prepared some "templates" for myself; every one contains
> >`\include "macro.lyi"` within. I'd say it's better that making an alias.
> Note that -I is for search path, for not a specific file.
Yes, sorry .)

> So, I can add, indeed,
> 
> alias lilypond='lilypond -I$HOME/lib/lilypond'
> 
> but I would still prefer,
> 
> export LILY_PATH=$HOME/lib/lilypond
> 
> :)
Yes, it's clear.

But since "lilypond" (in my system) is a script, i can easily edit it and add
as many -I<path> as i need.

And then i can include macro.lyi, which will be found somewhere.

Not sure that i understood your requirement right though.

-- 
  Dmytro O. Redchuk                        "Easy to use" is easy to say.
  Bug Squad                                             -- Jeff Garbers



reply via email to

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