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
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
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' }
}