summaryrefslogtreecommitdiff
path: root/tex/context/base/anch-bck.mkvi
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-06-05 09:16:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-06-05 09:16:00 +0200
commit1cbef76ff4aa6cc1f7dc1d38c4b0514e94ad59a5 (patch)
treef825c9515b1d51e48dddd9a3bc0d0c51c6b407ed /tex/context/base/anch-bck.mkvi
parentc3efc6042c5a5a4d0f1a80bc3a097f0ae2963f7c (diff)
downloadcontext-1cbef76ff4aa6cc1f7dc1d38c4b0514e94ad59a5.tar.gz
beta 2012.06.05 09:16
Diffstat (limited to 'tex/context/base/anch-bck.mkvi')
-rw-r--r--tex/context/base/anch-bck.mkvi12
1 files changed, 10 insertions, 2 deletions
diff --git a/tex/context/base/anch-bck.mkvi b/tex/context/base/anch-bck.mkvi
index 8ec056468..8f22d8a6d 100644
--- a/tex/context/base/anch-bck.mkvi
+++ b/tex/context/base/anch-bck.mkvi
@@ -276,7 +276,7 @@
\kern\textbackgroundskip\nobreak
\fi \fi
\nobreak
- \vskip-\dimexpr\lineheight+\parskip\relax
+ \vskip-\dimexpr\lineheight+\parskip\relax % problem: we loose the hangindent
\nobreak
\endgroup
\begingroup
@@ -307,7 +307,7 @@
\setuptextbackground
[\c!mp=mpos:region:draw,
- \c!method=mpos:region,
+ \c!method=mpos:region, % mpos:regionshape
\c!state=\v!start,
\c!location=\v!text,
\c!leftoffset=\!!zeropoint, % 1em,
@@ -397,6 +397,14 @@
\includeMPgraphic{mpos:region:anchor} ;
\stopMPpositiongraphic
+\startMPpositiongraphic{mpos:regionshape}{fillcolor,filloffset,linecolor,gridcolor,linewidth,gridwidth,gridshift,lineradius,lineoffset}
+ \includeMPgraphic{mpos:region:setup} ;
+ \includeMPgraphic{mpos:region:extra} ;
+ \MPgetmultishapes{\MPvar{self}}{\MPanchorid} ;
+ \includeMPgraphic{\MPvar{mp}} ;
+ \includeMPgraphic{mpos:region:anchor} ;
+\stopMPpositiongraphic
+
\startMPpositionmethod{mpos:region}
\MPpositiongraphic{mpos:region}{}%
\stopMPpositionmethod