Difference between revisions of "Command/useURL"

From Wiki
Jump to navigation Jump to search
m (Category Interaction and other tiny fixes)
m (fix wrong syntax)
Line 29: Line 29:
  
 
== Description ==  
 
== Description ==  
''name'' = label; usage in {{cmd||from}}[name];
+
''name'' = label; usage in {{cmd|from}}[name];
  
 
''text1'' = URL;
 
''text1'' = URL;
Line 39: Line 39:
 
== comment ==
 
== comment ==
 
Do not forget:
 
Do not forget:
<texcode>
+
* {{cmd|setupinteraction}} [state=start]
  \setupinteraction [state=start]
 
</texcode>
 
 
also useful;
 
also useful;
<texcode>
+
* {{cmd|setupcolors}} [state=start]
  \setupcolors     [state=start]
+
* {{cmd|setupurl}} [color=blue]
  \setupurl         [color=blue]
 
</texcode>
 
  
 
== Example ==
 
== Example ==

Revision as of 10:21, 23 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:

also useful;

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/Category:Commands]                                                                             
  [setuppositioning]
  [\tex{setuppositioning}]

\starttext
Lookup the source code of \from[setposition]!

Or read about the syntax of \from[setuppositioning].  
\stoptext

yields

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: