diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-12-15 19:13:44 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-12-15 19:13:44 +0100 |
commit | 8f472c629a996f1c08281198210354a253d7f56b (patch) | |
tree | 26f5fa0bda520d7ea9e87947df6978b9085a7d58 /tex/context/base/mkxl/anch-box.mkxl | |
parent | 3bdc9b9072bba774cd5c604fe185d39ddbdc911e (diff) | |
download | context-8f472c629a996f1c08281198210354a253d7f56b.tar.gz |
2022-12-15 17:52:00
Diffstat (limited to 'tex/context/base/mkxl/anch-box.mkxl')
-rw-r--r-- | tex/context/base/mkxl/anch-box.mkxl | 40 |
1 files changed, 31 insertions, 9 deletions
diff --git a/tex/context/base/mkxl/anch-box.mkxl b/tex/context/base/mkxl/anch-box.mkxl index 02cdf5fb8..9885123c2 100644 --- a/tex/context/base/mkxl/anch-box.mkxl +++ b/tex/context/base/mkxl/anch-box.mkxl @@ -42,7 +42,6 @@ % linecolor=\namedboxanchorcontentparameter{#1}{\c!rulecolor}}% % \stoppositionoverlay % \endgroup} - \tolerant\permanent\protected\def\connectboxanchors[#1]#*[#2]#*[#3]#*[#4]#*#:#5#6% {\begingroup % @@ -70,17 +69,40 @@ \setMPpositiongraphic {\boxanchorposone}% {\namedboxanchorcontentparameter{#1}\c!mp}% - {from=\boxanchorposone,% + {span=no, + from=\boxanchorposone,% to=\boxanchorpostwo,% - distance={\namedboxanchorcontentparameter{#1}\c!distance},% + % distance={\namedboxanchorcontentparameter{#1}\c!distance},% dashtype={\namedboxanchorcontentparameter{#1}\c!dash},% - arrow={\namedboxanchorcontentparameter{#1}\c!arrow},% - alternative={\namedboxanchorcontentparameter{#1}\c!alternative},% - text={\namedboxanchorcontentparameter{#1}\c!text},% - rulethickness={\namedboxanchorcontentparameter{#1}\c!rulethickness},% - linecolor=\namedboxanchorcontentparameter{#1}{\c!rulecolor}}% + % arrow={\namedboxanchorcontentparameter{#1}\c!arrow},% + % alternative={\namedboxanchorcontentparameter{#1}\c!alternative},% + % text={\namedboxanchorcontentparameter{#1}\c!text},% + % rulethickness={\namedboxanchorcontentparameter{#1}\c!rulethickness},% + linecolor=\namedboxanchorcontentparameter{#1}{\c!rulecolor}, + #3}% + % \stoppositionoverlay }% + \ifcstok{\namedboxanchorcontentparameter{#1}\c!page}\v!yes + \normalexpanded{% + \startpositionoverlay{text+1}% will become configurable region + \setMPpositiongraphic + {\boxanchorpostwo}% + {\namedboxanchorcontentparameter{#1}\c!mp}% + {span=yes, + from=\boxanchorposone,% + to=\boxanchorpostwo,% + % distance={\namedboxanchorcontentparameter{#1}\c!distance},% + dashtype={\namedboxanchorcontentparameter{#1}\c!dash},% + % arrow={\namedboxanchorcontentparameter{#1}\c!arrow},% + % alternative={\namedboxanchorcontentparameter{#1}\c!alternative},% + % text={\namedboxanchorcontentparameter{#1}\c!text},% + % rulethickness={\namedboxanchorcontentparameter{#1}\c!rulethickness},% + linecolor=\namedboxanchorcontentparameter{#1}{\c!rulecolor}% + #3}% + \stoppositionoverlay + }% + \fi \endgroup} % dedicated or not @@ -120,7 +142,7 @@ \stoppositionoverlay \endgroup} -\let\m_anch_matrix_list\empty +\lettonothing\m_anch_matrix_list \tolerant\permanent\protected\def\startmatrixanchors {\glet\m_anch_matrix_list\empty |