Difference between revisions of "Command/useURL"
< Command
Jump to navigation
Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}") |
m (Category Interaction and other tiny fixes) |
||
Line 29: | Line 29: | ||
== Description == | == Description == | ||
− | ''name'' = label; usage in | + | ''name'' = label; usage in {{cmd||from}}[name]; |
''text1'' = URL; | ''text1'' = URL; | ||
Line 65: | Line 65: | ||
\useURL | \useURL | ||
[setuppositioning] | [setuppositioning] | ||
− | [http://wiki.contextgarden.net/ | + | [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> | ||
Line 82: | Line 83: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Interaction|useURL]] |
Revision as of 10:18, 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:
\setupinteraction [state=start]
also useful;
\setupcolors [state=start] \setupurl [color=blue]
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: