ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How it works \setupurl?
@ 2013-10-23  8:49 Jaroslav Hajtmar
  0 siblings, 0 replies; only message in thread
From: Jaroslav Hajtmar @ 2013-10-23  8:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello ConTeXist.

I have a question: Is there \setupurl independent on \setupinteraction?

Is there posibility get external references a different color than the 
other (default) links (to sections, figures etc) defined by 
\setupinteraction?

Thanx Jaroslav Hajtmar

Here is my minimal example:



\setupinteraction[state=start, style=normal, color=blue, contrastcolor=]
\setupurl[style=type, color=green]

\setupexternalfigures[location={local,default}]


\useURL [garden]
    [http://wiki.contextgarden.net/][]
    [http://wiki.contextgarden.net/]

\starttext

\section[sect]{Section}

This is testing Cow section.

\placefigure[here][cowfig]{Cow figure in Section.}
   {\externalfigure[cow][width=7cm]}

In \in {section}[sect] at \at {page}[sect] is \in {figure}[cowfig] 
(these links have the correct blue color).


But this external link to URL \from[garden] should be {\green green} and 
should be {\green\tt tt font}.

\stoptext

___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2013-10-23  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-23  8:49 How it works \setupurl? Jaroslav Hajtmar

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