Re: [NTG-context] Section heading colors lost with \startbodymatter

2015-07-28 Thread Hans Hagen

On 7/28/2015 5:45 AM, Rik Kabel wrote:

 Actually, some color can come through, as in the following example. The

\setupmarginrules color remains even in bodymatter mode (the \setupbar
color does not).


It was a side effect of the fix for pablos bookmarks (deep down some 
argument got messed up in the lua-tex interface) ... fixed in beta.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

[NTG-context] Section heading colors lost with \startbodymatter

2015-07-27 Thread Rik Kabel
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
___
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
___

Re: [NTG-context] Section heading colors lost with \startbodymatter

2015-07-27 Thread Rik Kabel

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

--
Rik
___
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
___

Re: [NTG-context] Section heading colors lost with \startbodymatter

2015-07-27 Thread Rik Kabel

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
___
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
___