* Struggles with \useblocks
@ 2003-09-15 15:40 Willi Egger
2003-09-21 22:39 ` Patrick Gundlach
0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2003-09-15 15:40 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Struggles with \useblocks
2003-09-15 15:40 Struggles with \useblocks Willi Egger
@ 2003-09-21 22:39 ` Patrick Gundlach
2003-09-22 15:15 ` Willi Egger
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Gundlach @ 2003-09-21 22:39 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: Struggles with \useblocks
2003-09-21 22:39 ` Patrick Gundlach
@ 2003-09-22 15:15 ` Willi Egger
0 siblings, 0 replies; 3+ messages in thread
From: Willi Egger @ 2003-09-22 15:15 UTC (permalink / raw)
Hi Pattrick,
From: "Patrick Gundlach" <pg@levana.de>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-22 15:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-15 15:40 Struggles with \useblocks Willi Egger
2003-09-21 22:39 ` Patrick Gundlach
2003-09-22 15:15 ` Willi Egger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).