Changes

Jump to navigation Jump to search
1,742 bytes added ,  17:25, 5 September 2020
Created page with "Documentation for \from"
<cd:commandgroup name="from" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\from</tt> is used for links to URLs</cd:shortdesc>
<cd:variants>
<cd:command category="references" file="strc-ref.mkvi" interfacedate="2020-07-14T09:24" interfacefile="i-references.xml" level="document" name="from" variantnumber="1">
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:reference"></cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description>With {{cmd|from}} you can use an external (URL) link just like a normal internal reference. This works in conjunction with {{cmd|useURL}} to set up the link reference.

For setup use {{cmd|setupurl}}.</cd:description>
<cd:examples><cd:example title=""><context source="yes">
\setupinteraction[state=start]
\useURL
[seefrom]
[http://source.contextgarden.net/tex/context/base/anch-pos.mkiv?search=from]
[]
[\tex{from}]

Also in \from[seefrom].

</context></cd:example><cd:example title=""><context source="yes">
\setupinteraction[state=start]
\useURL
[seefrom]
[http://source.contextgarden.net/tex/context/base/anch-pos.mkiv?search=from]
[]
[source:from]

\setupurl[color=red,style=bolditalic]

Also in \from[seefrom].

</context>
{{todo|The \setupurl does not work. But I am not sure it is even supposed to, any more}}</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="strc-ref.mkvi" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:References"></cd:wikipage>
<cd:commandref name="useURL"></cd:commandref>
<cd:commandref name="setupurl"></cd:commandref></cd:seealso>
</cd:commandgroup>

Navigation menu