summaryrefslogtreecommitdiff
path: root/tex/context/base/pack-rul.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/pack-rul.mkiv')
-rw-r--r--tex/context/base/pack-rul.mkiv11
1 files changed, 9 insertions, 2 deletions
diff --git a/tex/context/base/pack-rul.mkiv b/tex/context/base/pack-rul.mkiv
index 6bcc4da7f..7b040a400 100644
--- a/tex/context/base/pack-rul.mkiv
+++ b/tex/context/base/pack-rul.mkiv
@@ -1014,13 +1014,20 @@
\else
\d_framed_linewidth\zeropoint
\fi
-\forgetall
+ % 2013/03/12: a change of order (sizes before align
+ \ifx\localwidth\v!local
+ \setlocalhsize
+ \fi
+ %
+ \forgetall % should happen after \localwidth but before align
+ %
\ifx\localformat\empty
\setfalse\c_framed_has_format
\else
\settrue\c_framed_has_format
\dosetraggedcommand\localformat % not that fast
\fi
+ %
\csname\??framedoffsetalternative
\ifcsname\??framedoffsetalternative\localoffset\endcsname
\localoffset
@@ -1197,7 +1204,7 @@
\setvalue{\??framedwidthalternative\v!local}%
{\settrue\c_framed_has_width
- \setlocalhsize
+ %\setlocalhsize
\d_framed_width\localhsize}
\setvalue{\??framedwidthalternative\s!unknown}%