Command/startglobal

From Wiki
< Command
Revision as of 09:20, 7 August 2020 by Taco (talk | contribs) (Text replacement - "<syntax type="environment">" to "<syntax>start")
Jump to navigation Jump to search

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