Difference between revisions of "Command/useURL"

From Wiki
Jump to navigation Jump to search
(put refrerence template back in)
Line 50: Line 50:
 
== Example ==
 
== Example ==
  
<texcode>
+
<context source='yes' text='yields'>
 
\setupcolors
 
\setupcolors
 
   [state=start]
 
   [state=start]
Line 71: Line 71:
 
of \from[setuppositioning].   
 
of \from[setuppositioning].   
 
\stoptext
 
\stoptext
</texcode>
+
</context>
 
 
  
 
== See also ==
 
== See also ==

Revision as of 18:27, 3 December 2010

\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

\setupcolors
  [state=start]
\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