lilypond-devel
[Top][All Lists]
Advanced

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

Re: How to use LaTeX code from manual to include LilyPond-generated TOC?


From: Werner LEMBERG
Subject: Re: How to use LaTeX code from manual to include LilyPond-generated TOC?
Date: Fri, 11 Mar 2022 05:57:45 +0000 (UTC)

> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> % \includescore{PossibleExtension}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> [...]

Ouch, this is ugly LaTeX code.  Besides the formatting, it will
exhaust TeX's macro stack, AFAICS, since macro `\readfile@line` is
calling itself recursively, not using the TeX's `\loop` macro (or an
equivalent to it) to ensure proper tail recursion.  In other words,
very large TOCs would fail.

I'll try to cook something up that works decently.


    Werner



reply via email to

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