Am Freitag, 8. Oktober 2010, um 23:24:27 schrieben Sie: > On 10/8/10 8:02 AM, "Reinhold Kainhofer" <reinh...@kainhofer.com> wrote: > > But in real life, in scores with multiple movements, the headers are > > numbered sequentially. Ideally, LilyPond should be able to do that > > automatically... As that example shows, one has to hardcode the movement > > number (which becomes a mess if in a huge oratorio you decide to split > > one piece into two...). > > This is an appropriate feature request -- an automatic means of numbering > headers. > > Making the clever hack (that is not a part of the LilyPond distribution) > keep working is not necessarily the best way to handle this enhancement > request, IMO.
Actually, I don't think there is a cleaner way than providing a means to include a counter directly into the title markup. First, there are various different ways to number the titles (all of these are really used in published scores by well-known publishers): Nr. 1 Title No. 1 Title № 1 Title (That's the textnumero sign № as XML entity) №. 1 Title №. 1. Title 1. Title 1 Title 1 -- Title Further complicating is the fact that every now and then a header does not get a new number, e.g. in Oratorios when a piece consists of a short recitativo and then a choral. In some editions, such a piece gets a piece title of "9. Recitativo and Choral" and right before the begin of the Choral (two lines later) "Choral" without any new number. Cheers, Reinhold -- ------------------------------------------------------------------ Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond