Difference between revisions of "Command/startglobal"

From Wiki
Jump to navigation Jump to search
(Remove stray note mark)
m (Taco moved page Environment/global to Command/startglobal over a redirect without leaving a redirect)
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>startglobal</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

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: