Re: TOC entries listed in order of \include

2022-09-28 Thread Brent Annable
Valentin, You're quite right. Sorry about my previous response, I read it after a long and frustrating night of typesetting with a deadline close at hand, and was just frustrated that there was no ready-made solution that my non-programmer mind could instantly grasp. But I got a good night's slee

Re: TOC entries listed in order of \include

2022-09-25 Thread Valentin Petzel
Hi Brent, this is exactly what my suggestion does. There are of course multiple ways of achieving things. You could give the toc Items labels and then order them by these labels. But my suggestion simply delays interpretation of \tocItem to the point where you need it, by using a function (cod

Re: TOC entries listed in order of \include

2022-09-24 Thread Valentin Petzel
Hi Brent, you could simply delay the execution of your code until the point where you need it like this: bpI = #(define-scheme-function (parser location) ()     #{     \bookpart {     \tocItem "toc1" "a"     { c' }     }