* Section heading colors lost with \startbodymatter
@ 2015-07-27 23:28 Rik Kabel
2015-07-28 2:50 ` Rik Kabel
0 siblings, 1 reply; 4+ messages in thread
From: Rik Kabel @ 2015-07-27 23:28 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 837 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1318 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Section heading colors lost with \startbodymatter
2015-07-27 23:28 Section heading colors lost with \startbodymatter Rik Kabel
@ 2015-07-28 2:50 ` Rik Kabel
2015-07-28 3:45 ` Rik Kabel
0 siblings, 1 reply; 4+ messages in thread
From: Rik Kabel @ 2015-07-28 2:50 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1172 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2024 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Section heading colors lost with \startbodymatter
2015-07-28 2:50 ` Rik Kabel
@ 2015-07-28 3:45 ` Rik Kabel
2015-07-28 13:19 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Rik Kabel @ 2015-07-28 3:45 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 2120 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 3761 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Section heading colors lost with \startbodymatter
2015-07-28 3:45 ` Rik Kabel
@ 2015-07-28 13:19 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2015-07-28 13:19 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-28 13:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-27 23:28 Section heading colors lost with \startbodymatter Rik Kabel
2015-07-28 2:50 ` Rik Kabel
2015-07-28 3:45 ` Rik Kabel
2015-07-28 13:19 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).