[NTG-context] interaction query

Wolfgang Schuster schuster.wolfgang at googlemail.com
Fri Feb 15 15:05:18 CET 2008


On Fri, Feb 15, 2008 at 2:35 PM, Alan Bowen <acbowen at princeton.edu> wrote:
> Thanks, Hans. That is good to know.
>
>  The cross-reference however is still in the wrong color. Is it a
>  problem just on my box?

What do you want is not supported but you define your own command
with a colored pagenumber.

\setupcolors[state=start]

\setupinteraction[state=start,contrastcolor=blue,color=blue,style=rm]

\definereferenceformat
  [givepage]
  [command=\at,
   left={\color[blue]}]

\definehead[LevelBHead][subject]
\setupsectionblock[LevelBHead][number=no,page=right]
\setuphead[LevelBHead][style={\tf\rm},interaction=yes]

\starttext
\dorecurse{2}{\input knuth\par}\reference[Reference]{}
\dorecurse{3}{\input knuth\par}

\LevelBHead{B{-}Header\hfill\givepage[Reference]}
\dorecurse{2}{\input knuth\par}
\stoptext

Wolfgang


More information about the ntg-context mailing list