Am 03.01.2012 um 13:58 schrieb Otared Kavian: > On 3 janv. 2012, at 08:38, Wolfgang Schuster wrote: > >> […] >> You need a command after “align=middle” because you assign “middle ” (with a >> space) to the align key. > > Hi Wolfgang, > > I didn't get exactly what you mean, but saying either of the following: > > \setuphead[chapter][header=high,align=middle] > or > \setuphead[chapter][align=middle,header=high] > or > \setuphead[chapter][align=middle, > header=high] > or > \setuphead[chapter][header=high, > align=middle > ] > > results in an error. While > > \setuphead[chapter][align=middle, > header=high > ] > > works fine…
It’s a typo in the core, see Adityas mail but in the last case you need a comma after the high otherwise you pass the value “high ” (with a space at the end) to context. Here is a simple example where you can that spaces matter: \definehighlight[one][color=red ] \definehighlight[two][color=blue] \starttext \one{Red} \two{Blue} \stoptext In the first definition i pass “red ” with a space at the end which is different from “red” (without a space). 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 ___________________________________________________________________________________