ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* strange color change
@ 2005-02-17 16:52 Peter Münster
  2005-02-17 17:28 ` Hans Hagen
  2005-02-17 19:20 ` Willi Egger
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Münster @ 2005-02-17 16:52 UTC (permalink / raw)


Hello,
could anybody explain, why the last 2 subsections have another color?

\setupinteraction[state=start]
\setupcolors[state=start]
\starttext
\placecontent
\dorecurse{6}{\section{a section}}
\dorecurse{6}{\subsection{a subsection}}
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange color change
  2005-02-17 16:52 strange color change Peter Münster
@ 2005-02-17 17:28 ` Hans Hagen
  2005-02-18 19:35   ` Peter Münster
  2005-02-17 19:20 ` Willi Egger
  1 sibling, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2005-02-17 17:28 UTC (permalink / raw)


Peter Münster wrote:
> Hello,
> could anybody explain, why the last 2 subsections have another color?
> 
> \setupinteraction[state=start]
> \setupcolors[state=start]
> \starttext
> \placecontent
> \dorecurse{6}{\section{a section}}
> \dorecurse{6}{\subsection{a subsection}}
> \stoptext

actually, it's the reverse, i guess you can find out why if you compare

\placecontent

with

\placecontent \page

(the magic is in setting color as well as contrastcolor)

Hans




-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange color change
  2005-02-17 16:52 strange color change Peter Münster
  2005-02-17 17:28 ` Hans Hagen
@ 2005-02-17 19:20 ` Willi Egger
  2005-02-17 19:36   ` Willi Egger
  1 sibling, 1 reply; 6+ messages in thread
From: Willi Egger @ 2005-02-17 19:20 UTC (permalink / raw)


Hi Peter,

your code does work here i.e. no colorchange in the last two subsections.

Using:
   TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
   pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3)
   ConTeXt  ver: 2005.01.26  fmt: 2005.1.26  int: english  mes: english

Willi

Peter Münster wrote:
> Hello,
> could anybody explain, why the last 2 subsections have another color?
> 
> \setupinteraction[state=start]
> \setupcolors[state=start]
> \starttext
> \placecontent
> \dorecurse{6}{\section{a section}}
> \dorecurse{6}{\subsection{a subsection}}
> \stoptext
> 
> Cheers, Peter
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange color change
  2005-02-17 19:20 ` Willi Egger
@ 2005-02-17 19:36   ` Willi Egger
  0 siblings, 0 replies; 6+ messages in thread
From: Willi Egger @ 2005-02-17 19:36 UTC (permalink / raw)


Oeps!

Sorry for this one. - One should look closer before answering, 
especially  I should know, that my red-green abilities are not 100% ;-]

Willi

Willi Egger wrote:
> Hi Peter,
> 
> your code does work here i.e. no colorchange in the last two subsections.
> 
> Using:
>   TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
>   pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2c 7.5.3)
>   ConTeXt  ver: 2005.01.26  fmt: 2005.1.26  int: english  mes: english
> 
> Willi
> 
> Peter Münster wrote:
> 
>> Hello,
>> could anybody explain, why the last 2 subsections have another color?
>>
>> \setupinteraction[state=start]
>> \setupcolors[state=start]
>> \starttext
>> \placecontent
>> \dorecurse{6}{\section{a section}}
>> \dorecurse{6}{\subsection{a subsection}}
>> \stoptext
>>
>> Cheers, Peter
>>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange color change
  2005-02-17 17:28 ` Hans Hagen
@ 2005-02-18 19:35   ` Peter Münster
  2005-02-21 12:02     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2005-02-18 19:35 UTC (permalink / raw)


On Thu, 17 Feb 2005, Hans Hagen wrote:

> Peter Münster wrote:
> > Hello,
> > could anybody explain, why the last 2 subsections have another color?
> > 
> > \setupinteraction[state=start]
> > \setupcolors[state=start]
> > \starttext
> > \placecontent
> > \dorecurse{6}{\section{a section}}
> > \dorecurse{6}{\subsection{a subsection}}
> > \stoptext
> 
> actually, it's the reverse, i guess you can find out why if you compare
> 
> \placecontent
> 
> with
> 
> \placecontent \page
> 
> (the magic is in setting color as well as contrastcolor)

I'm sorry, but I do not understand...
What should I do, if I don't want a pagebreak after \placecontent and only
one color in the table of contents?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: strange color change
  2005-02-18 19:35   ` Peter Münster
@ 2005-02-21 12:02     ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2005-02-21 12:02 UTC (permalink / raw)


Peter Münster wrote:
> On Thu, 17 Feb 2005, Hans Hagen wrote:
> 
> 
>>Peter Münster wrote:
>>
>>>Hello,
>>>could anybody explain, why the last 2 subsections have another color?
>>>
>>>\setupinteraction[state=start]
>>>\setupcolors[state=start]
>>>\starttext
>>>\placecontent
>>>\dorecurse{6}{\section{a section}}
>>>\dorecurse{6}{\subsection{a subsection}}
>>>\stoptext
>>
>>actually, it's the reverse, i guess you can find out why if you compare
>>
>>\placecontent
>>
>>with
>>
>>\placecontent \page
>>
>>(the magic is in setting color as well as contrastcolor)
> 
> 
> I'm sorry, but I do not understand...

links on the same page as the reference get a different color (indicating that 
there no real jump)

> What should I do, if I don't want a pagebreak after \placecontent and only
> one color in the table of contents?

\setupinteraction[color=green,contrastcolor=green]


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-02-21 12:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-17 16:52 strange color change Peter Münster
2005-02-17 17:28 ` Hans Hagen
2005-02-18 19:35   ` Peter Münster
2005-02-21 12:02     ` Hans Hagen
2005-02-17 19:20 ` Willi Egger
2005-02-17 19:36   ` Willi Egger

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).