David Arnold wrote:
\placeanswers\kern0pt
\stopcomponent
When we compile section1exercises.tex with texmfstart texexec --
mode=long section1exercises, all is well until the last page, where
the former header is used instead of the header defined in the
\placeanswers macro. But we
Taco et all,
From what I could deduce, our former macro for placeanswers was a
group.
\def\placeanswers{
\bgroup
\doifmodeelse{short}
{
\keepblocks[shortsubanswer,longsubanswer]
\answers{Answers}\vskip 1em\startcolumnset[answers]
Hans et all,
We have a project call book.tex, a product in that called
chapter1.tex, and a component in that called section1exercises.tex.
We have blocks that we save and then place at the end of
section1exercises.tex with a macro defined in our environment file:
\def\placeanswers{%