Re: [oll-user] OLLib renaming
Resources for LilyPond and LaTeX users writing (about) music
Status: Alpha
Brought to you by:
u-li-1973
|
From: Urs L. <ul...@op...> - 2013-04-18 09:25:50
|
Update:
how to organize the directory structure?
We'll have one root directory, and part of the 'installation'
requirements is to make this root dir available to LilyPond.
I see two set-ups how to make the contents available to .ly documents:
(I'll write 'OLLIB' as a placeholder for a to-be-agreed-upon name)
\include "OLLIB.ily" for the full lib -> would be natural, but:
\include "tb/curvestoolbox.ily" is less expressive than
\include "OLLIB/curvestoolbox.ily". And
\include "includes/stylesheets/a4-lied.ily" is much less expressive than
\include "OLLIB/includes/stylesheets/a4-lied.ily"
So I propose to set up the root dir like:
- documentation
- examples
- templates
- OLLIB
|- includes
|- tb (see below)
|- curves (etc.)
|- full.ily
|- curves.ily (etc. for loading individual sublibraries)
full.ily loads the complete library (but not examples, templates and
includes)-
curves.ily etc. load partial libraries
tb/ contains the code for the partial libraries, i.e. there is one
subfolder of tb/ for each .ily file
So the user can write forexample:
\include "OLLIB/full.ily"
\include "OLLIB/curves.ily"
\include "OLLIB/includes/scoreblocks/piano4hd.ily"
Examples and templates are items that aren't usually included but opened
and/or copied directly, so they can remain at the root level.
Any comments, disapproval, better ideas?
Urs
Am Donnerstag, den 18.04.2013, 10:19 +0200 schrieb Urs Liska:
> Hi all,
>
> I'm busy reorganising the repos and making good progress, I think.
>
> When coming to the OLLib subdirectory I realized that we should
> reconsider the naming.
>
> Originally 'openLilyLib' was to be the name of the LilyPond library, but
> when I decided to connect my other projects (i.e. the LaTeX packages) to
> it it was clear that 'openLilyLib' would be the name of the complete
> project. (I think '...Lib' is a good name for the 'family of resources'
> I label it elsewhere.)
> Consequently I renamed the library subdirectory to 'OLLib' - intending
> to indicate that this is the actual library. But after some time I find
> this somewhat obscure, and although this part is probably the one that
> will be of most interest to you it actually is just one of several
> subprojects.
>
> So I ask for suggestions for a better name in the sense 'The XXX
> library, part of openLilyLib'.
> We need a 'label' name and a repo/directory name. They may be the same
> or different, at least the latter being lowercase.
>
> My suggestions (I always prepend the root folder):
> - openlilylib/oll-lib
> - openlilylib/lilylib
> - openlilylib/lib
> - openlilylib/llib
> - openlilylib/ollib (the same as the current, in lowercase)
>
> Any better ideas?
>
> Urs
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> openlilylib-user mailing list
> ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openlilylib-user
|