![](https://secure.gravatar.com/avatar/27c34cb91f1e92bd850fe60b3d9ef336.jpg?s=120&d=mm&r=g)
9 Dec
2012
9 Dec
'12
7:46 a.m.
Am 09.12.2012 um 12:22 schrieb reviczky@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