Difference between revisions of "Command/useURL"

From Wiki
Jump to navigation Jump to search
m (Text replace - "Reference/en|" to "Commands|")
 
(13 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>useURL</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 29: Line 32:
  
 
== Description ==  
 
== Description ==  
''name'' = label; usage in <code>\from[name]</code>;
+
''name'' = label; usage in {{cmd|from}}[name];
  
 
''text1'' = URL;
 
''text1'' = URL;
Line 39: Line 42:
 
== 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 ==
Line 65: Line 64:
 
\useURL
 
\useURL
 
   [setuppositioning]
 
   [setuppositioning]
   [http://wiki.contextgarden.net/Reference/en]                                                                             
+
   [http://wiki.contextgarden.net/Category:Commands]                                                                             
 
   [setuppositioning]
 
   [setuppositioning]
 
   [\tex{setuppositioning}]
 
   [\tex{setuppositioning}]
  
 
\starttext
 
\starttext
Lookup the source code of \from[setposition]! Or read about the syntax
+
Lookup the source code of \from[setposition]!
of \from[setuppositioning].   
+
 
 +
Or read about the syntax of \from[setuppositioning].   
 
\stoptext
 
\stoptext
 
</context>
 
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{cmd|from}}
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|useurl]]
+
[[Category:Command/Interaction|useURL]]

Latest revision as of 16:14, 11 November 2019

\useURL

Syntax (autogenerated)

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


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: