Hi gang! I do not know why this does not work therefore the following: I have a document with several chapters. At the beginning an environment file is loaded. In the environment file there is a block defined as \defineblock[Impressum] and the block is immediately hidden with \hideblocks[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 No block "Impressum" is typeset. By the way I am using: ConTeXt ver: 2003.8.21 fmt: 2003.8.22 int: english mes: english How is this to be explained? Willi
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 load your environment inside or outside \starttext...\stoptext? Please provide a minimal but complete example if you still have problems. Patrick BTW: Hans, what is the suggested place to load an environment? I used to load it outside \starttext...\stoptext -- Silent is the goldfish in its bowl
Hi Pattrick,
From: "Patrick Gundlach"
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 load your environment inside or outside \starttext...\stoptext?
Ii do not know precisely. Ii have an environment file where the block resides. The environment file is loaded OUTSIDE the \starttext .. \stoptext. In the meantime I tested this and found out, that the definition of the block as well as the block itself must be placed within the \starttext ... \stoptext.
Please provide a minimal but complete example if you still have problems.
Thanks for your tips! Willi
participants (2)
-
Patrick Gundlach
-
Willi Egger