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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________