deleting the \def\Mycolor line does not help - same result. best regards Bernhard
Am 05.06.2010 um 14:34 schrieb Taco Hoekwater: > Bernhard Rosensteiner wrote: >> Hello all, >> in the process of learning macro programming in context i encountered the >> following problem (minimal example is attached): >> When i have \setuphead[section][color={red}] the color key influences in a >> strange way my „novice macro“ (see the text which should be black but is >> red). Further more the \ruledhbox in my macro stops at some point the red >> color (with a normal \hbox all the text in the section is red). what i´m >> doing wrong here? I don’t expect such a behaviour > > Somewhere you should execute \Mycolor, you are only defining it. > > Best wishes, > Taco > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________