diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-04-15 20:34:40 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-04-15 20:34:40 +0200 |
commit | b155eafa1e2d73692eed08ecabeb5ad589ac11dc (patch) | |
tree | ec352f240efa570d5e06db368ce3dd99e792545a /tex/context/base/mkxl/supp-box.mkxl | |
parent | 1e69816bbbeebedafd52684fc4182ce977d92a8a (diff) | |
download | context-b155eafa1e2d73692eed08ecabeb5ad589ac11dc.tar.gz |
2022-04-15 20:15:00
Diffstat (limited to 'tex/context/base/mkxl/supp-box.mkxl')
-rw-r--r-- | tex/context/base/mkxl/supp-box.mkxl | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/tex/context/base/mkxl/supp-box.mkxl b/tex/context/base/mkxl/supp-box.mkxl index deb2699d7..ed5668ce3 100644 --- a/tex/context/base/mkxl/supp-box.mkxl +++ b/tex/context/base/mkxl/supp-box.mkxl @@ -1604,31 +1604,33 @@ % since in practice we also use this macro for % funny lineheights and border cases \setbox0=\box\rigidcolumnbox - \doloop - {\setbox\rigidcolumnbox=\copy0 - \setbox\scratchbox\hpack to \rigidhsize - {\dorecurse\rigidcolumns - {\setbox\scratchbox\vsplit\rigidcolumnbox to \scratchdimen - \dp\scratchbox\openstrutdepth - \setbox\scratchbox\vtop - \ifalignrigidcolumns to - \ifstretchrigidcolumns\vsize\else\scratchdimen\fi - \fi - {\unvbox\scratchbox}% - \wd\scratchbox\hsize - \box\scratchbox - \hfill}% - \hfillneg}% - \ifvoid\rigidcolumnbox\exitloop\else\advance\scratchdimen\lineheight\fi}% - \iftightrigidcolumns - \setbox\scratchbox\hpack{\raise\dp\scratchbox\box\scratchbox}% - \else - \advance\scratchdimen -\openstrutdepth - \setbox\scratchbox\hpack{\raise\scratchdimen\box\scratchbox}% - \dp\scratchbox\openstrutdepth - \ht\scratchbox\scratchdimen - \fi - \box\scratchbox}% + \ifvoid0\else + \doloop + {\setbox\rigidcolumnbox=\copy0 + \setbox\scratchbox\hpack to \rigidhsize + {\dorecurse\rigidcolumns + {\setbox\scratchbox\vsplit\rigidcolumnbox to \scratchdimen + \dp\scratchbox\openstrutdepth + \setbox\scratchbox\vtop + \ifalignrigidcolumns to + \ifstretchrigidcolumns\vsize\else\scratchdimen\fi + \fi + {\unvbox\scratchbox}% + \wd\scratchbox\hsize + \box\scratchbox + \hfill}% + \hfillneg}% + \ifvoid\rigidcolumnbox\exitloop\else\advance\scratchdimen\lineheight\fi}% + \iftightrigidcolumns + \setbox\scratchbox\hpack{\raise\dp\scratchbox\box\scratchbox}% + \else + \advance\scratchdimen -\openstrutdepth + \setbox\scratchbox\hpack{\raise\scratchdimen\box\scratchbox}% + \dp\scratchbox\openstrutdepth + \ht\scratchbox\scratchdimen + \fi + \box\scratchbox + \fi}% \fi} %D \macros |