Uns Liska wrote
I can see the point and I'm ready to accept that approach. There is one
issue, however, that I'd like to discuss before making any decision.
\include "file-name.ily"
opens the door wide for name conflicts. The more the names are speaking
the more they will be likely to exist in other places too. Particularly
as much of the stuff we have (and will have) is of quite similar
characteristic as all the other files inside LilyPond which can be
included directly.
So I would suggest inserting a kind of namespace through the following:
- don't name the root directory "library" but "oll"
This is a good "prefix" as it is characteristic _and_ short
- let the user add the actual root directory instead of the "oll"
subdirectory to the include path
- let the files be included with
\include "oll/file-name.ily"
Good point, and I think that's a good solution to it as well. The only
drawback I see is that adding the root directory means you lose some of the
separation between the files that are to be included and those that are not.
Do you think it would be worth doing something like this to keep it?
root/library/oll/filename.ily
Users would add the library directory (limits access to just includable
files), and it only contains the oll directory (provides namespace).
Just an idea, not sure if the extra directory is worth it or not.