Difference between revisions of "Command/useURL"

From Wiki
Jump to navigation Jump to search
(cleanup)
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{Reference
 +
|name=useURL
 +
|attributes=
 +
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>useURL</syntax>
 +
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
Line 24: Line 32:
  
 
== Description ==  
 
== Description ==  
''name'' = label; usage in <code>\from[name]</code>;
+
''name'' = label; usage in {{cmd|from}}[name];
  
 
''text1'' = URL;
 
''text1'' = URL;
Line 34: 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 ==
  
<texcode>
+
<context source='yes' text='yields'>
\setupcolors
+
\setupinteraction [state=start]
  [state=start]
+
 
\setupinteraction
+
\setupcolors     [state=start]
  [state=start,color=blue]
+
\setupurl        [color=blue]
 +
 
 +
\setupinteraction [state=start,color=blue]
 
\useURL
 
\useURL
 
   [setposition]
 
   [setposition]
Line 58: 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
</texcode>
+
</context>
  
 +
== See also ==
 +
* {{cmd|from}}
  
== See also ==
+
== Help from ConTeXt-Mailinglist/Forum ==
<!-- something like [[cmd:goto|\goto]] -->
+
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|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: