Difference between revisions of "Command/from"

From Wiki
Jump to navigation Jump to search
 
Line 44: Line 44:
 
<cd:wikipage originator="system" page="Category:References"></cd:wikipage>
 
<cd:wikipage originator="system" page="Category:References"></cd:wikipage>
 
<cd:commandref name="useURL">to define the reference</cd:commandref>
 
<cd:commandref name="useURL">to define the reference</cd:commandref>
<cd:commandref name="setupinteraction">to configure the visual style</cd:commandref></cd:seealso>
+
<cd:commandref name="setupinteraction">to configure the visual style</cd:commandref>
 +
<cd:commandref name="url">for a related command that typesets the actual URL</cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 17:35, 5 September 2020


\from

Summary

The command \from is used for links to URLs

Settings

\from[...]
[...]reference

Description

With \from you can use an external (URL) link just like a normal internal reference. This works in conjunction with \useURL to set up the link reference.

For setup use \setupinteraction.

Examples

Example 1

\setupinteraction[state=start]
\useURL
  [seefrom]
  [http://source.contextgarden.net/tex/context/base/anch-pos.mkiv?search=from]
  []
  [\tex{from}]

Also in \from[seefrom].

Example 2

\setupinteraction[state=start]
\useURL
  [seefrom]
  [http://source.contextgarden.net/tex/context/base/anch-pos.mkiv?search=from]
  []
  [source:from]

\setupinteraction[color=red,style=bolditalic]

Also in \from[seefrom].


Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: