On 2015-07-27 22:50, Rik Kabel wrote:
On 2015-07-27 19:28, Rik Kabel wrote:
This worked (the numbers were darkgray and there was a red dot separator) until the last beta or two. With the new betas, those colors disappear in the bodymatter mode and in appendices mode
% When start/stop bodymatter is enabled, the number color and % separator colors are lost. When they are disabled, all is % as expected % \defineseparatorset[reddot][][{\color[red]{·}}] \setuphead[chapter][sectionseparatorset=reddot,numbercolor=darkgray] \setuphead[section][sectionseparatorset=reddot,numbercolor=darkgray] \starttext % \startbodymatter % enable and lose colors \startchapter[title={Chapter}] \startsection[title={Section}] \stopsection \stopchapter % \stopbodymatter % enable and lose colors \stoptext
-- Rik Duh! All color is gone, not just section heads. New MWE:
\starttext %\startbodymatter % enable and lose colors Some text \color[red]{and some red text}. %\stopbodymatter % enable and lose colors \stoptext
Actually, some color can come through, as in the following example. The \setupmarginrules color remains even in bodymatter mode (the \setupbar color does not). \setupmarginrules[rulethickness=1pt] \setupmarginrules[1][rulecolor=red] \setupbar [overstrike][color=red] \define[1]\RR {\startmarginrule[1]\RRR#1\stopmarginrule} \definehighlight [RRR][style={\setbar[overstrike]}] \starttext % \startbodymatter % enable and lose colors Some text \color[red]{and some red text}.\par Here is some text that shows all color is not gone. \RR{Here is some text that shows all color is not gone. Here is some text that shows all color is not gone.} Here is some text that shows all color is not gone.\par % \stopbodymatter % enable and lose colors \stoptext -- RIk