Difference between revisions of "Command/from"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \from")
(No difference)

Revision as of 17:25, 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 \setupurl.

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]

\setupurl[color=red,style=bolditalic]

Also in \from[seefrom].


TODO: The \setupurl does not work. But I am not sure it is even supposed to, any more (See: To-Do List)


Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: