Difference between revisions of "Command/useURL"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=useURL
 
|name=useURL
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>useURL</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 31: Line 32:
  
 
== Description ==  
 
== Description ==  
<pre>
+
''name'' = label; usage in {{cmd|from}}[name];
name = label; usage in \from[name]
+
 
text1 = URL
+
''text1'' = URL;
file = attached file URL
+
 
text2 = text
+
''file'' = attached file URL;
 +
 
 +
''text2'' = text.
  
</pre>
 
 
== comment ==
 
== comment ==
<pre>
 
 
Do not forget:
 
Do not forget:
  \setupinteraction [state=start]
+
* {{cmd|setupinteraction}} [state=start]
also useful
+
also useful;
  \setupcolors     [state=start]
+
* {{cmd|setupcolors}} [state=start]
  \setupurl [color=blue]
+
* {{cmd|setupurl}} [color=blue]
 
 
</pre>
 
  
 +
== Example ==
  
 +
<context source='yes' text='yields'>
 +
\setupinteraction [state=start]
  
== Example ==
+
\setupcolors      [state=start]
 +
\setupurl        [color=blue]
  
<pre class="example">
+
\setupinteraction [state=start,color=blue]
\setupcolors
 
  [state=start]
 
\setupinteraction
 
  [state=start,color=blue]
 
 
\useURL
 
\useURL
 
   [setposition]
 
   [setposition]
   [http://source.contextgarden.net/core-pos.tex#setpositions]
+
   [http://source.contextgarden.net/tex/context/base/anch-pos.mkiv?search=from]
 
   []
 
   []
 
   [\tex{setposition}]
 
   [\tex{setposition}]
Line 65: Line 64:
 
\useURL
 
\useURL
 
   [setuppositioning]
 
   [setuppositioning]
   [http://texshow.contextgarden.net]
+
   [http://wiki.contextgarden.net/Category:Commands]                                                                            
   [cmd=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
</pre>
+
</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: