> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> % \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