Am 25.02.2014 um 17:03 schrieb Andrea Valle
OK, I think I tracked it down
this works:
\setuphead[chapter] [style=\ss\tfc, before={\blank[1cm]\startframedtext[width=local, foregroundcolor=black, background=color, backgroundcolor=bgGrey1, framecolor=bgGrey2,offset=0.25cm, rulethickness=0.05cm, frame=off, topframe=on, bottomframe=on]\crlf},after={\stopframedtext\blank[4cm]}]
but these two raises the error:
\setuphead[section][style=\ss\tfb, before={\startframedtext[frame=off]\color[cirmaGrey]}, after={\color[cirmaBlue]\textrule \color[fontColor]\stopframedtext}]
\setuphead[subsection][style=\ss\tfb,before={\startframedtext[frame=off]\color[cirmaGrey]}, after={\color[cirmaOrange]\textrule\color[fontColor]\stopframedtext}]
In MkIV Hans has made changes on the \color command which does no expect a argument and only \color[<colorname>]{<text>} is valid but you use \color without the text. To fill the missing argument context uses now the following command after \color or in some cases internal macros. Another thing which doesn’t work in MkIV are these lines: \definetypeface[tSCIRMA][rm][Xserif][Palatino] \definetypeface[tSCIRMA][tt][Xmono][LM Typewriter Regular] \definetypeface[tSCIRMA][ss][Xsans][Optima] The problem here are the Xserif etc. typescript which work only with XeTeX but MkIV provides its own commands to select system fonts. Wolfgang