From cc7fcf11d31b2db23ba3adca896507f9faf128cc Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 13 Oct 2021 17:23:54 +0200 Subject: 2021-10-13 16:58:00 --- tex/context/base/mkxl/spac-ver.mkxl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tex/context/base/mkxl/spac-ver.mkxl') diff --git a/tex/context/base/mkxl/spac-ver.mkxl b/tex/context/base/mkxl/spac-ver.mkxl index 30455bf2b..957bcea22 100644 --- a/tex/context/base/mkxl/spac-ver.mkxl +++ b/tex/context/base/mkxl/spac-ver.mkxl @@ -97,6 +97,7 @@ \edef\minimumlinedistance {\interlinespaceparameter\c!distance }% \edef\normallineheight {\interlinespaceparameter\c!line }% \edef\topskipfactor {\interlinespaceparameter\c!top }% + \edef\ntopskipfactor {\interlinespaceparameter\c!ntop }% \edef\maxdepthfactor {\interlinespaceparameter\c!bottom }% \edef\m_spac_vertical_baseline_stretch_factor{\interlinespaceparameter\c!stretch}% \edef\m_spac_vertical_baseline_shrink_factor {\interlinespaceparameter\c!shrink }% @@ -659,6 +660,7 @@ \mutable\def\baselinefactor {2.8} \mutable\def\topskipfactor {1.0} \mutable\def\maxdepthfactor {0.5} +\mutable\let\ntopskipfactor \minusone \mutable\def\minimumstrutheight {\zeropoint} \mutable\def\minimumstrutdepth {\zeropoint} @@ -699,7 +701,12 @@ \else \systemtopskipfactor\globalbodyfontsize \ifcase\bottomraggednessmode % ragged bottom - \s!plus5\globalbodyfontsize + \s!plus + \ifnum\ntopskipfactor<\zerocount + 5\globalbodyfontsize % old hard coded value + \else + \ntopskipfactor\openlineheight + \fi \fi \fi %\relax -- cgit v1.2.3