Dear all,
When selecting multiple blocks: \useblocks[someblock,otherblock],
the blocks are selected but the before and after statements are not
processed.
Is the expected behaviour?
Tia, Bernard
Example:
\defineblock[someblock]
\defineblock[otherblock]
\setupblock[someblock]
[before
David Arnold wrote:
Hans, that worked. Code below. Is this something you will fix in one
of the core files?
sure, for the moment put the patch in cont-new.tex
(i'll post an update as soon as we have the french interface integrated;
needs some synchronization)
Hans
David Arnold wrote:
All,
This doesn't seem to work as expected. Replacing the \useblocks with
\selectblocks also produces an unexpected result. What am I doing
wrong? I am trying to have only the answers from the chapter show up.
ah, old code, something got lost when i added parameter
\endquestion
\beginanswer
\startanswer
3
\stopanswer
\endanswer
\section{Answers}
\selectblocks[answer][criterium=chapter]
\stoptext
On Dec 21, 2005, at 1:29 AM, Hans Hagen wrote:
David Arnold wrote:
All,
This doesn't seem to work as expected. Replacing the \useblocks
All,
This doesn't seem to work as expected. Replacing the \useblocks with
\selectblocks also produces an unexpected result. What am I doing
wrong? I am trying to have only the answers from the chapter show up.
%output=pdf
\defineenumeration[question][location=serried,text=Question
Hi Pattrick,
From: Patrick Gundlach [EMAIL PROTECTED]
Hello Willi,
In the environment file there is a block defined as
\defineblock[Impressum]
and the block is immediately hidden with \hideblocks[Impressum]
It looks as if you can only define blocks within
\starttext...\stoptext. Do you
[Impressum]
At the end of the document there is the chapter Colofoon
\Chapter{Colofoon}
\useblocks[Impressum]
So far so good. But after compilation with texexec --final of the document
there is the following statement in the log file.
chapter: 14 Colofoon
textblocks : second pass needed