Re: [NTG-context] Two questions about a mysterious behavior of ConTeXt

Am 14.05.10 13:59, schrieb Marius:

Hello,

I encountered two mysterious behaviours of ConTeXt mkvi and can't
resolve them by my self. So.

The first one is: why does ConTeXt behaves differently then I use
environment ant then I don't.
There are two versions of the same code in the attached files. The
test.tex uses environment test-env and test2.tex does not. Then why
test.tex compiles while test2.tex does not?

The second question is: why in the test-env.tex file ver2 of code
compiles while ver1 does not?


In a environment code is always treated is it would have been written
in unprotected mode, i.e. your code is written as

\unprotect

\def\setupdissertation{...}

...

\protect

Wolfgang

___________________________________________________________________________________