Am 09.12.2012 um 12:22 schrieb revic...@caesar.elte.hu: > Thanks. I only apply commands for certain headings, so is there a way to have > that working within the startsubject or is it not inheriting from setup heads?
You can use the optional second argument for \start… to set your own arguments. \define\SubectCommand {\doifsomething {\structureuservariable{text}} {\inmargin{\structureuservariable{text}}}} \setuphead[section][commandbefore=\SubectCommand] \starttext \startsubject[title=Ward] \input ward \stopsubject \startsubject[title=Knuth][text=XXX] \input knuth \stopsubject \startsubject[title=Tufte] \input tufte \stopsubject \stoptext 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 ___________________________________________________________________________________