summaryrefslogtreecommitdiff
path: root/tex/context/base/anch-pgr.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-01-11 12:20:16 +0200
committerMarius <mariausol@gmail.com>2012-01-11 12:20:16 +0200
commitee0d480c979cb344dc0bbeca2eda9166e062f2db (patch)
treeeb842149083c07be88d04385e4a80ec67b4d6a3d /tex/context/base/anch-pgr.mkiv
parentd44c3d2b9ac2a797c610b9b472527119c08bf206 (diff)
downloadcontext-ee0d480c979cb344dc0bbeca2eda9166e062f2db.tar.gz
beta 2012.01.11 10:58
Diffstat (limited to 'tex/context/base/anch-pgr.mkiv')
-rw-r--r--tex/context/base/anch-pgr.mkiv44
1 files changed, 22 insertions, 22 deletions
diff --git a/tex/context/base/anch-pgr.mkiv b/tex/context/base/anch-pgr.mkiv
index ebfbb7d1f..8c47581f3 100644
--- a/tex/context/base/anch-pgr.mkiv
+++ b/tex/context/base/anch-pgr.mkiv
@@ -375,14 +375,14 @@
\newbox\positiongraphicbox
\def\startMPpositiongraphic % id setups
- {\dodoublegroupempty\anch_positions_mp_graphic_start}
+ {\dodoublegroupempty\anch_positions_meta_graphic_start}
-\def\anch_positions_mp_graphic_start#1#2#3\stopMPpositiongraphic % tag list mpcode
- {\setgvalue{\??positiongraphic#1}{\anch_positions_mp_graphic_use{#1}{#2}{#3}}}
+\def\anch_positions_meta_graphic_start#1#2#3\stopMPpositiongraphic % tag list mpcode
+ {\setgvalue{\??positiongraphic#1}{\anch_positions_meta_graphic_use{#1}{#2}{#3}}}
\let\stopMPpositiongraphic\relax
-\def\anch_positions_mp_graphic_prepare
+\def\anch_positions_meta_graphic_prepare
{\ifcsname\??gv\currentmpvariableclass:self\endcsname \else
\letvalue{\??gv\currentmpvariableclass:self}\currentposition
\fi
@@ -390,51 +390,51 @@
\letvalue{\??gv\currentmpvariableclass:from}\currentposition
\fi}
-\def\anch_positions_mp_graphic_use#1#2#3%
+\def\anch_positions_meta_graphic_use#1#2#3%
{\begingroup
\meta_prepare_variables{#2}%
- \anch_positions_mp_graphic_prepare
+ \anch_positions_meta_graphic_prepare
\startMPcode#3\stopMPcode
\endgroup}
\def\MPpositiongraphic
- {\dodoublegroupempty\anch_positions_mp_graphic_direct}
+ {\dodoublegroupempty\anch_positions_meta_graphic_direct}
-\def\anch_positions_mp_graphic_direct#1% tag setups
+\def\anch_positions_meta_graphic_direct#1% tag setups
{\ifcsname\??positionmethod#1\endcsname % method
- \expandafter\anch_positions_mp_graphic_direct_indeed_method
+ \expandafter\anch_positions_meta_graphic_direct_indeed_method
\else\ifcsname\??positiongraphic#1\endcsname
- \doubleexpandafter\anch_positions_mp_graphic_direct_indeed_normal
+ \doubleexpandafter\anch_positions_meta_graphic_direct_indeed_normal
\else
- \doubleexpandafter\anch_positions_mp_graphic_direct_indeed_unknown
+ \doubleexpandafter\anch_positions_meta_graphic_direct_indeed_unknown
\fi\fi{#1}}
-\let\anch_positions_mp_graphic_direct_indeed_unknown\gobbletwoarguments
+\let\anch_positions_meta_graphic_direct_indeed_unknown\gobbletwoarguments
-\def\anch_positions_mp_graphic_direct_indeed_method
- {\anch_positions_mp_graphic_direct_indeed\??positionmethod}
+\def\anch_positions_meta_graphic_direct_indeed_method
+ {\anch_positions_meta_graphic_direct_indeed\??positionmethod}
-\def\anch_positions_mp_graphic_direct_indeed_normal
- {\anch_positions_mp_graphic_direct_indeed\??positiongraphic}
+\def\anch_positions_meta_graphic_direct_indeed_normal
+ {\anch_positions_meta_graphic_direct_indeed\??positiongraphic}
-\def\anch_positions_mp_graphic_direct_indeed#1#2#3% what tag setups
+\def\anch_positions_meta_graphic_direct_indeed#1#2#3% what tag setups
{\begingroup
\setupMPvariables[#2][#3]%
\edef\currentmpvariableclass{#2}%
- \anch_positions_mp_graphic_prepare
- \ignoreMPboxdepth
- \def\anch_positions_mp_graphic_direct{\anch_positions_mp_graphic_nested{#3}}% takes two extra arguments
+ \anch_positions_meta_graphic_prepare
+ \obeyMPboxorigin % do we also set the size ?
+ \def\anch_positions_meta_graphic_direct{\anch_positions_meta_graphic_nested{#3}}% takes two extra arguments
\setbox\positiongraphicbox\hbox
{\ignorespaces\csname#1#2\endcsname\removelastspace}%
\smashbox\positiongraphicbox
\box\positiongraphicbox
\endgroup}
-\def\anch_positions_mp_graphic_nested#1#2#3% nesting used in prikkels / pascal (might go away)
+\def\anch_positions_meta_graphic_nested#1#2#3% nesting used in prikkels / pascal (might go away)
{\begingroup
\setupMPvariables[#2][#1,#3]%
\edef\currentmpvariableclass{#2}%
- \anch_positions_mp_graphic_prepare
+ \anch_positions_meta_graphic_prepare
\getvalue{\??positiongraphic#2}%
\endgroup}%