[NTG-context] Why does 0.0001pt make such a big difference?

Hans Hagen pragma at wxs.nl
Thu Mar 24 11:38:52 CET 2016


On 3/24/2016 8:58 AM, Peter Münster wrote:
> Hi,
>
> Please compare \setupwhitespace[0.0001pt plus 2ex] with
> \setupwhitespace[0pt plus 2ex] here:
>
> \showframe
> \setuphead[section][style={\switchtobodyfont[72pt]}]
> \setupalign[height]
> \setupwhitespace[0.0001pt plus 2ex]  % desired result
> %\setupwhitespace[0pt plus 2ex]      % "plus 2ex" is unused
> \starttext
> \dorecurse{5}{\dorecurse{150}{bla }\par}
> \section{test}
> bla
> \stoptext
>
> Why is there such a difference please?

because the zero glue is discarded (in context) due to another one 
taking precedence; i'll be a bit more tolerant but i'm not sure of side 
effects

(for now using 1sp plus 2ex is quite ok)

Hans




-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list