summaryrefslogtreecommitdiff
path: root/tex/context/base/pack-fen.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-11-21 19:40:15 +0200
committerMarius <mariausol@gmail.com>2011-11-21 19:40:15 +0200
commit411958915524daa27f2ef8cd6299b31191d88572 (patch)
tree38a8d7efa7a757c8afdd92bbb17af4d72d9e8d4e /tex/context/base/pack-fen.mkiv
parented9ce64970b8efbaf358d7383eb4b65277201756 (diff)
downloadcontext-411958915524daa27f2ef8cd6299b31191d88572.tar.gz
beta 2011.11.21 18:27
Diffstat (limited to 'tex/context/base/pack-fen.mkiv')
-rw-r--r--tex/context/base/pack-fen.mkiv20
1 files changed, 17 insertions, 3 deletions
diff --git a/tex/context/base/pack-fen.mkiv b/tex/context/base/pack-fen.mkiv
index ad25e130e..63c5659e4 100644
--- a/tex/context/base/pack-fen.mkiv
+++ b/tex/context/base/pack-fen.mkiv
@@ -13,7 +13,17 @@
\writestatus{loading}{ConTeXt Packaging Macros / Fences for Ruled Content}
-% we can move the main fences here too
+%D \startbuffer
+%D \useMPlibrary[meta-imp-hooks.mkiv]
+%D
+%D \framed[frame=off,bottomframe=righthook]{Bottom right hook}
+%D \stopbuffer
+%D
+%D \typebuffer
+%D
+%D \startlinecorrection
+%D \getbuffer
+%D \stoplinecorrection
\unprotect
@@ -34,8 +44,12 @@
\expandafter\let\csname b\@@frame@@\v!off#1\expandafter\endcsname\csname b\@@frame@@\v!on#1\endcsname}
\def\setinstalledframedimensions
- {\edef\overlayheight{\the\dimexpr\frameddimenht+\frameddimendp}%
- \edef\overlaywidth {\the\frameddimenwd}}
+ {\edef\overlaywidth {\the\frameddimenwd\space}%
+ \edef\overlayheight{\the\dimexpr\frameddimenht+\frameddimendp\relax\space}%
+ \edef\overlaydepth {\the\frameddimendp\space}%
+ \edef\overlaycolor {\framedparameter\c!backgroundcolor}%
+ \edef\overlaylinecolor{\framedparameter\c!framecolor}%
+ \edef\overlaylinewidth{\the\ruledlinewidth}}
\newbox\specialframebox