Am 09.12.2012 um 15:46 schrieb Wolfgang Schuster <wolfgang.schus...@gmail.com>:
> > 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] Should be: \define\SubjectCommand {\doifsomething {\structureuservariable{text}} {\inmargin{\structureuservariable{text}}}} \setuphead[subject][commandbefore=\SubjectCommand] 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 ___________________________________________________________________________________