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/
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 -----------------------------------------------------------------
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/
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 -----------------------------------------------------------------
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
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
participants (3)
-
Hans Hagen
-
Peter Münster
-
Willi Egger