Command/useexternaldocument

From Wiki
< Command
Revision as of 03:34, 14 March 2012 by Jannis (talk | contribs) (moved Reference/en/useexternaldocument to Command/useexternaldocument: Text replace - "Reference/en/" to "Command/")
Jump to navigation Jump to search

\useexternaldocument

Syntax

\useexternaldocument[...][...][...]
[...] name
[...] file
[...] text


Description

Example

Assuming that the file « intermezzo.pdf » is present in the same directory as the document you are typesetting, the following allows you to open the file upon clicking on the link

\setupinteraction[state=start]
\setupcolors[state=start]

\useexternaldocument[intermezzo.pdf]

\starttext
As one may see in the example \goto{ open the file intermezzo}[file(intermezzo.pdf)].

\stoptext

As a matter of fact many other file formats are recognized. It is also possible to give the path of the file to be opened.

See also