Difference between revisions of "Command/startglobal"

From Wiki
Jump to navigation Jump to search
m (Taco moved page Environment/global to Command/startglobal over a redirect without leaving a redirect)
 
(4 intermediate revisions by the same user not shown)

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: