On Fri, 19 Sep 2008, Holzminister wrote:
Hi!
Can perhaps anyone explain to me why the example works in one case, but not in the other?
Grouping. For a simpler example {\def\moretest{More test}} \moretest will not work. What you need to do is {\gdef\moretest{More test}} \moretest. Aditya
\enableregime[utf-8] \mainlanguage [de]
% \def\werte#1{\em [#1]} % +++ works \def\werte#1{{\em [#1]}} % --- doesn't work
\def\moretest{}
\def\test% { Testtext \def\moretest% { More Testtext } }
\starttext
\werte{\test}
\moretest
\stoptext
Thanks in advance, Eyke ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________