Difference between revisions of "Command/startglobal"
< Command
Jump to navigation
Jump to search
(Create page) |
m (Taco moved page Environment/global to Command/startglobal over a redirect without leaving a redirect) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>startglobal</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 13: | Line 16: | ||
== 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 == |
Latest revision as of 09:40, 7 August 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: