Difference between revisions of "Command/startglobal"

From ConTeXt wiki
(Remove stray note mark)
 
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>startglobal</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 16:30, 11 November 2019

\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: