ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Two questions about a mysterious behavior of ConTeXt
@ 2010-05-14 11:59 Marius
  2010-05-14 13:09 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Marius @ 2010-05-14 11:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

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?

Thank you,
Marius

[-- Attachment #2: test.tex --]
[-- Type: application/x-tex, Size: 101 bytes --]

[-- Attachment #3: test-env.tex --]
[-- Type: application/x-tex, Size: 306 bytes --]

[-- Attachment #4: test2.tex --]
[-- Type: application/x-tex, Size: 336 bytes --]

[-- Attachment #5: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Two questions about a mysterious behavior of ConTeXt
  2010-05-14 11:59 Two questions about a mysterious behavior of ConTeXt Marius
@ 2010-05-14 13:09 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2010-05-14 13:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-14 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-14 11:59 Two questions about a mysterious behavior of ConTeXt Marius
2010-05-14 13:09 ` Wolfgang Schuster

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).