[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Importing the ToC into LaTeX

From: Stefan-W . Hahn
Subject: Re: Importing the ToC into LaTeX
Date: Thu, 26 May 2016 18:42:01 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

David Kastrup <dak <at> gnu.org> writes:

> Stefan-W. Hahn <stefan.hahn <at> s-hahn.de> writes:
> > Example of importing toc not working.
> > Getting following error:

> > (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)))
> > ! Undefined control sequence.
> > \AM <at> findfile <at> i ...docname \relax \AM <at> IfFileExists 
> >                                                   {#1.#2}{\edef \AM <at>
> > l.25 \includescore{test.toc}
> >                             
> >
> > Didn't found an help.
> > can anyone tell me what is wrong?
> No, since nobody knows how you defined \includescore, presumably in your
> own macros.sty.

Sorry, was a little in a hurry.

My original problem is, that I haven't found a way to print a book with
lilypond where I begin with a front page, an empty page on the left and the 
first page on the right. If switching on double sided page 1 should get an
extra amount of space on the left. But this is not working.

So I tried to use lilypond-book. With this I have the problem to get a
table of contents. After searching the internet I found:
(this is inside my macros.sty) together with a not
mentioned but necessary

Today I come a little further and found out that the problem is
the missing file. After adding a little debug the name I gave to the
macro was not right. The macro wants to read a "_name.toc".

With this there is another problem together with lilypond-book. The
toc file is generated with a not predictable name, because it is 
generated. But to test it I copied the generated toc file.

This leads me to the next problem. the content of the toc file is
not accepted by LaTeX. The toc file contains of lines such as:

1, section, 1, {(#<procedure line-markup (layout props args)> (Test
piece))}, toc80

I suspect, that LaTeX when reading the toc file is not recognizing
this #<procedure ...> part.

So I stuck again.

Is there anywhere an example for taking a lilypond.ly file and producing
a book with importing this into a LaTeX file to have the possibility
to build up the pages in an adequate form?

Thanks, and with kind regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]