Citerar Mats Bengtsson <[EMAIL PROTECTED]>: > Why not make a graphical illustration (or at least pseudo graphical > using indents and line breaks) of the hierarchy. > As input, you might find it easier to look at the file > ..../ly/engraver-init.ly of your LilyPond installation, instead > of browsing through the program reference.
It can also be worth noticing that though context "instances" (i.e. Staff=A, Voice=C etc) form a tree hierarchy, context "types" (i.e. Staff, Voice, Score etc as defined in engraver-init.ly) form a directed acyclic graph (aka "partial order"). Erik > On Sun, 5 Jun 2005, Graham Percival wrote: > > > > > On 5-Jun-05, at 4:21 AM, andrew Black wrote: > > > > > Something that I am beginning to understand better is how the various > > > contexts fit together.- for example "Staff can contain Voice", > > > I can only find this sort of information at a fairly deep level in the > > > manual - lilypond-internals/Staff.htm > > > > > > I would like to have a go at trying to write my understanding down and > > > post here for comment - with a view to including in the docs if it is > > > considered useful - I note Graham's request for help. > > > > > > Just checking this sort of thing doesn't exist in the manual at the > > > moment. > > > > It only exists in the internals (which you noted). The only possible > > downside of > > a doc page about this is that if the context relationships change at > > some point > > in the future, the doc would become out of date (whereas the internals > > would > > change to reflect it, since they're automatically generated). > > > > That said, I don't think that the context relationships will change > > much. If they > > do, the doc page can be updated easily. So please write such a page! > > I imagine > > that it would become section 9.1.7 (at the end of the Intreptation > > contexts section). > > > > Cheers, > > - Graham > > > > > > > > _______________________________________________ > > lilypond-user mailing list > > [email protected] > > http://lists.gnu.org/mailman/listinfo/lilypond-user > > > > > > _______________________________________________ > lilypond-user mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/lilypond-user > _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
