Re: Make TOC entries available to LaTeX

2018-05-25 Thread Federico Bruni
Il giorno ven 25 mag 2018 alle 18:32, Urs Liska ha scritto: Am 25. Mai 2018 18:18:13 MESZ schrieb Federico Bruni : Now everything works almost fine. The last problem left is that the toc items of the included lilypond file are treated as

Re: Make TOC entries available to LaTeX

2018-05-25 Thread Urs Liska
Am 25. Mai 2018 18:18:13 MESZ schrieb Federico Bruni : > > >Il giorno ven 25 mag 2018 alle 8:42, Urs Liska >ha scritto: >> [...] >> >> But I did some experiments, and I identified the problem but can't >> give you a solution. >> >> When you have

Re: Make TOC entries available to LaTeX

2018-05-25 Thread Federico Bruni
Il giorno ven 25 mag 2018 alle 8:42, Urs Liska ha scritto: [...] But I did some experiments, and I identified the problem but can't give you a solution. When you have separate bookparts it seems the "label tables" are separate, so you have two label tables with

Re: Make TOC entries available to LaTeX

2018-05-25 Thread Urs Liska
Am 25.05.2018 um 07:44 schrieb Federico Bruni: ... How do you use it all the above in combination with lyluatex?  I think this should be transparent. lyluatex will assign an arbitrary  first page number (i.e. the page it assumes the score will start),  then the above function will offset

Re: Make TOC entries available to LaTeX

2018-05-25 Thread Urs Liska
Hi Federico, Am 25.05.2018 um 08:28 schrieb Federico Bruni: Il giorno ven 25 mag 2018 alle 7:55, Urs Liska ha scritto: Am 25. Mai 2018 07:48:58 MESZ schrieb Federico Bruni : Il giorno gio 24 mag 2018 alle 9:09, Urs Liska

Re: Make TOC entries available to LaTeX

2018-05-25 Thread Federico Bruni
Il giorno ven 25 mag 2018 alle 7:55, Urs Liska ha scritto: Am 25. Mai 2018 07:48:58 MESZ schrieb Federico Bruni : Il giorno gio 24 mag 2018 alle 9:09, Urs Liska ha scritto: This is the function as it ended up in my

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Urs Liska
Am 25. Mai 2018 07:48:58 MESZ schrieb Federico Bruni : > > >Il giorno gio 24 mag 2018 alle 9:09, Urs Liska >ha scritto: >> >> This is the function as it ended up in my project files: >> >> % Print table of contents entries to .toc >> % Based on >> %

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Federico Bruni
Il giorno gio 24 mag 2018 alle 9:09, Urs Liska ha scritto: This is the function as it ended up in my project files: % Print table of contents entries to .toc % Based on % http://lilypond.org/doc/v2.19/Documentation/usage-big-page#sharing-the-table-of-contents %

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Federico Bruni
Il giorno gio 24 mag 2018 alle 18:22, Urs Liska ha scritto: Am 24. Mai 2018 14:55:37 MESZ schrieb Federico Bruni : Il giorno gio 24 mag 2018 alle 9:09, Urs Liska ha scritto: Am 24.05.2018 um 08:52 schrieb Federico

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Urs Liska
Am 24. Mai 2018 14:55:37 MESZ schrieb Federico Bruni : > > >Il giorno gio 24 mag 2018 alle 9:09, Urs Liska >ha scritto: >> >> >> Am 24.05.2018 um 08:52 schrieb Federico Bruni: >>> >>> >>> Il giorno gio 26 apr 2018 alle 8:48, Urs Liska >>>

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Federico Bruni
Il giorno gio 24 mag 2018 alle 9:09, Urs Liska ha scritto: Am 24.05.2018 um 08:52 schrieb Federico Bruni: Il giorno gio 26 apr 2018 alle 8:48, Urs Liska ha scritto: [...] 3) I think the inclusion in the TeX TOC can (now?) be done in a

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Urs Liska
Am 24.05.2018 um 08:52 schrieb Federico Bruni: Il giorno gio 26 apr 2018 alle 8:48, Urs Liska ha scritto: [...] 3) I think the inclusion in the TeX TOC can (now?) be done in a simpler way using the catchfile package: \documentclass{article}

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Federico Bruni
Il giorno gio 26 apr 2018 alle 8:48, Urs Liska ha scritto: [...] 3) I think the inclusion in the TeX TOC can (now?) be done in a simpler way using the catchfile package: \documentclass{article} \usepackage{pdfpages,catchfile} \newcommand\includelilypond[1]{%

Re: Make TOC entries available to LaTeX

2018-04-26 Thread Thomas Morley
2018-04-26 8:48 GMT+02:00 Urs Liska : > Hi Harm, > > thanks for looking into this. > > > Am 25.04.2018 um 23:13 schrieb Thomas Morley: >> >> 2018-04-25 16:00 GMT+02:00 Urs Liska : >> ... >>> >>> 2) >>> Assuming the TOC items are created using \tocItem

Re: Make TOC entries available to LaTeX

2018-04-26 Thread Thomas Morley
2018-04-25 23:13 GMT+02:00 Thomas Morley : >> There's only one issue: The TOC will create wrong entries when LilyPond's >> first page number is not 1. So there should actually be an offset in place. >> How can I read the value of the first-page-number variable to set up

Re: Make TOC entries available to LaTeX

2018-04-26 Thread Urs Liska
Hi Harm, thanks for looking into this. Am 25.04.2018 um 23:13 schrieb Thomas Morley: 2018-04-25 16:00 GMT+02:00 Urs Liska : ... 2) Assuming the TOC items are created using \tocItem then it should be guaranteed that there is the same label present as key in both

Re: Make TOC entries available to LaTeX

2018-04-25 Thread Thomas Morley
2018-04-25 16:00 GMT+02:00 Urs Liska : > Hi Harm > > > Am 19.04.2018 um 23:23 schrieb Thomas Morley: > > 2018-04-19 16:19 GMT+02:00 Urs Liska : > > Hi all, > > I'm preparing an automated edition process using LuaLaTeX, Pandoc and > LilyPond. > > After

Re: Make TOC entries available to LaTeX

2018-04-25 Thread Urs Liska
Hi Harm Am 19.04.2018 um 23:23 schrieb Thomas Morley: 2018-04-19 16:19 GMT+02:00 Urs Liska : 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

Re: Make TOC entries available to LaTeX

2018-04-20 Thread Jan-Peter Voigt
Hi Urs, the OLY way is the way to go, but for inspiration I share my little hack that was doing its job quite well on short notice. Jan-Peter Am 19.04.2018 um 23:23 schrieb Thomas Morley: 2018-04-19 16:19 GMT+02:00 Urs Liska : Hi all, I'm preparing an automated

Re: Make TOC entries available to LaTeX

2018-04-19 Thread Thomas Morley
2018-04-19 16:19 GMT+02:00 Urs Liska : > 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

Re: Make TOC entries available to LaTeX

2018-04-19 Thread Jan-Peter Voigt
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

Make TOC entries available to LaTeX

2018-04-19 Thread Urs Liska
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