Difference between revisions of "Command/useexternaldocument"
< Command
Jump to navigation
Jump to search
m (cleanup) |
|||
Line 30: | Line 30: | ||
== Example == | == Example == | ||
<!-- Please fill in an example if you can --> | <!-- Please fill in an example if you can --> | ||
+ | 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 | ||
+ | |||
+ | <tex> | ||
+ | \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 | ||
+ | |||
+ | </tex> | ||
+ | As a matter of fact many other file formats are recognized. | ||
== See also == | == See also == |
Revision as of 14:54, 5 February 2011
\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
<tex> \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
</tex> As a matter of fact many other file formats are recognized.