Am Montag, 19. Mai 2008 schrieben Sie:
> Le 19 mai 08 à 18:05, Reinhold Kainhofer a écrit :
> > How can I add a TOC entry from inside a markup (or from a markup
> > function)?
> > The reason I want this is that I automatically want all score titles
> > to appear in the TOC, without having to duplicate the titles and 
> > manually insert loads of tocItem calls.
>
> This cannot work for two reasons:

Yes, I was afraid this would be the case... Unfortunately, this means that 
Lilypond won't easily get a auto-TOC feature :(

Anyway, in OrchestralLily I'm generating the scores on the fly, so there it's 
easy to automatically add a top-level score with scheme, containing the 
page-mark. However, I was wondering if "simple" lilypond files with multiple 
scores could automatically get their piece titles added to the TOC. Seems 
like this will not be possible, at least not by only redefining the piece 
title markup.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to