Difference between revisions of "Command/useURL"

From Wiki
Jump to navigation Jump to search
m (moved Reference/en/useURL to Command/useURL: Text replace - "Reference/en/" to "Command/")
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|")
Line 77: Line 77:
 
== See also ==
 
== See also ==
 
<!-- something like [[cmd:goto|\goto]] -->
 
<!-- something like [[cmd:goto|\goto]] -->
 +
 +
== ConTeXt-Forum ==
 +
{{Forum|{{SUBPAGENAME}}}}
  
 
[[Category:Commands|useurl]]
 
[[Category:Commands|useurl]]

Revision as of 00:01, 15 March 2012

\useURL

Syntax

\useURL[...][...][...][...]
[...] name
[...] text
[...] file
[...] text


Description

name = label; usage in \from[name];

text1 = URL;

file = attached file URL;

text2 = text.

comment

Do not forget:

  \setupinteraction [state=start]

also useful;

  \setupcolors      [state=start]
  \setupurl         [color=blue]

Example

\setupinteraction [state=start]

\setupcolors      [state=start]
\setupurl         [color=blue]

\setupinteraction [state=start,color=blue]
\useURL
  [setposition]
  [http://source.contextgarden.net/tex/context/base/anch-pos.mkiv?search=from]
  []
  [\tex{setposition}]

\useURL
  [setuppositioning]
  [http://wiki.contextgarden.net/Reference/en]                                                                             
  [setuppositioning]
  [\tex{setuppositioning}]

\starttext
Lookup the source code of \from[setposition]! Or read about the syntax
of \from[setuppositioning].  
\stoptext

yields

See also

ConTeXt-Forum