Difference between revisions of "Command/startglobal"
< Command
Jump to navigation
Jump to search
(Create page) |
(Remove stray note mark) |
||
Line 13: | Line 13: | ||
== Description == | == Description == | ||
− | By design, \useexternalfigure works only in local scope. In order to globally declare a figure, one has to wrap it into a \startglobal environment, thereby rendering it accessible outside the current group. | + | By design, \useexternalfigure works only in local scope. In order to globally declare a figure, one has to wrap it into a \startglobal environment, thereby rendering it accessible outside the current group. |
== Example == | == Example == |
Revision as of 00:26, 21 July 2012
\startglobal
Syntax
\startglobal...\stopglobal |
Description
By design, \useexternalfigure works only in local scope. In order to globally declare a figure, one has to wrap it into a \startglobal environment, thereby rendering it accessible outside the current group.
Example
\starttext { \startglobal \useexternalfigure[kuh][cow.pdf] \stopglobal \placefigure[here]{first}{\externalfigure[kuh]} } \placefigure[here]{second}{\externalfigure[kuh]} \stoptext
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: