Difference between revisions of "Command/useURL"
< Command
Jump to navigation
Jump to search
(Create reference page) |
(cleanup) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
Line 31: | Line 24: | ||
== Description == | == Description == | ||
− | + | ''name'' = label; usage in <code>\from[name]</code>; | |
− | name = label; usage in \from[name] | + | |
− | text1 = URL | + | ''text1'' = URL; |
− | file = attached file URL | + | |
− | text2 = text | + | ''file'' = attached file URL; |
+ | |||
+ | ''text2'' = text. | ||
− | |||
== comment == | == comment == | ||
− | |||
Do not forget: | Do not forget: | ||
+ | <texcode> | ||
\setupinteraction [state=start] | \setupinteraction [state=start] | ||
− | also useful | + | </texcode> |
+ | also useful; | ||
+ | <texcode> | ||
\setupcolors [state=start] | \setupcolors [state=start] | ||
− | \setupurl [color=blue] | + | \setupurl [color=blue] |
− | + | </texcode> | |
− | </ | ||
− | |||
− | |||
== Example == | == Example == | ||
− | < | + | <texcode> |
\setupcolors | \setupcolors | ||
[state=start] | [state=start] | ||
Line 59: | Line 52: | ||
\useURL | \useURL | ||
[setposition] | [setposition] | ||
− | [http://source.contextgarden.net/ | + | [http://source.contextgarden.net/tex/context/base/anch-pos.mkiv?search=from] |
[] | [] | ||
[\tex{setposition}] | [\tex{setposition}] | ||
Line 65: | Line 58: | ||
\useURL | \useURL | ||
[setuppositioning] | [setuppositioning] | ||
− | [http:// | + | [http://wiki.contextgarden.net/Reference/en] |
− | [ | + | [setuppositioning] |
[\tex{setuppositioning}] | [\tex{setuppositioning}] | ||
Line 72: | Line 65: | ||
Lookup the source code of \from[setposition]! Or read about the syntax | Lookup the source code of \from[setposition]! Or read about the syntax | ||
of \from[setuppositioning]. | of \from[setuppositioning]. | ||
− | |||
\stoptext | \stoptext | ||
− | </ | + | </texcode> |
Revision as of 07:19, 15 April 2010
Contents
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