Difference between revisions of "Command/startglobal"
< Command
Jump to navigation
Jump to search
m (Taco moved page Command/startglobal to Environment/global) |
m (Text replacement - "<syntax>start" to "<syntax type=“environment”>") |
||
Line 5: | Line 5: | ||
== [[Help:Reference|Syntax]] (autogenerated) == | == [[Help:Reference|Syntax]] (autogenerated) == | ||
− | <syntax> | + | <syntax type=“environment”>global</syntax> |
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == |
Revision as of 19:43, 24 July 2020
\startglobal
Syntax (autogenerated)
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: