Hi Urs, I don't know either how to extract the toc from the PDF. But it should 
be easy to write the toc into some text file. Recently I did something similar 
to provide that info to those who compiled a book in inDesign.
I will extract it later, when I am back at my Workstation.

Jan-Peter 

Am 19. April 2018 16:19:49 MESZ schrieb Urs Liska <li...@openlilylib.org>:
>Hi all,
>
>I'm preparing an automated edition process using LuaLaTeX, Pandoc and 
>LilyPond.
>
>After some experimentation I have come to the conclusion that I'll have
>
>to insert the multi-movement score as a single PDF created by LilyPond 
>(but through lyluatex to make use of caching and the layout mechanics).
>
>I first had used lyluatex's facility to include the score's system by 
>system and print all the titles with LaTeX, but this didn't work out - 
>for the first time I realized that lilypond-book-preamble.ly makes the 
>vertical staff-staff spacing as tight as possible, which often makes
>the 
>page layout pretty bad. Creating the movements separately is not an 
>option either because not all movements will start on a new page.
>
>So now I have included a multi-movement score in the LaTeX document and
>
>don't know how to add TOC entries (in LaTeX) for the movements. I can 
>see two possible ways, but don't know if they are really possible and
>if 
>so how to approach them:
>
>  * Is it possible to insert something in the PDF output that LaTeX can
>    pick up as TOC entries?
>    (actually I doubt this is possible, but since it would be the
>    easiest way I thought I'd ask anyway)
>  * Can I reliably retrieve the current page number of a given score's
>    title block?
>   With that information I could write them to a log file and read that
>    later in LaTeX.
>
>TIA
>Urs
>
>PS: I don't know if it matters but the file is produced using 
>ly:book-process etc.

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to