diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/meta-fig.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/meta-fig.mkiv | 40 |
1 files changed, 6 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/context/base/meta-fig.mkiv b/Master/texmf-dist/tex/context/base/meta-fig.mkiv index adaad4647e0..bee88ffefa7 100644 --- a/Master/texmf-dist/tex/context/base/meta-fig.mkiv +++ b/Master/texmf-dist/tex/context/base/meta-fig.mkiv @@ -5,7 +5,7 @@ %D subtitle=Stand Alone Graphics, %D author=Hans Hagen, %D date=\currentdate, -%D copyright={PRAGMA / Hans Hagen \& Ton Otten}] +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for @@ -41,45 +41,17 @@ %D definitions with the text flow, since all settings are %D kept local. The page is clipped to the image size. -\presetlocalframed[\??mg] - -\unexpanded\def\setupMPpage - {\dodoubleargument\getparameters[\??mg]} - -% \def\startMPpage -% {\dodoubleempty\dostartMPpage} -% -% \long\def\dostartMPpage[#1][#2]#3\stopMPpage % second arg gobbles space -% {\dostartfittingpage[\??mg][#1]% -% \processMPgraphic{#3}% -% \dostopfittingpage} - -\def\startMPpage - {\dosingleempty\dostartMPpage} - -\long\def\dostartMPpage[#1]#2\stopMPpage - {\dostartfittingpage[\??mg][#1]% - \processMPgraphic{#2}% - \dostopfittingpage} - -\let\stopMPpage \relax % so that we can use it in \expanded - -\setupMPpage - [\c!scale=1000, - \c!pagestate=, - \c!strut=\v!no, - \c!align=, - \c!offset=\v!overlay, - \c!width=\v!fit, - \c!height=\v!fit, - \c!frame=\v!off] +\definefittingpage + [MPpage] + [\c!align=, + \c!command=\meta_process_graphic] %D \macros %D {MPfigure} %D %D A bit out of place, here but nevertheless: -\def\MPfigure#1#2% test for dup figure, can be replaced by a textext +\unexpanded\def\MPfigure#1#2% test for dup figure, can be replaced by a textext {\bgroup \getfiguredimensionsonly[#1]% [\c!object=\v!no] already set \startMPcode |