Hi Hans,

Thanks for your attention which fixed most of the difficulties with vertical 
distances around math formulas.
However, after typesetting a long document, I noticed that there are still some 
incorrect behaviours. The following minimal example, extracted from that long 
document, shows what is wrong: please have a look at the second formula in the 
attached PDF. (The output with the older version from TeXLIve 2016 is correct).

%% begin vertical-space-bug.tex
\starttext

\input knuth.tex
\startformula
a \leq a_{n+1} \leq a_{n} \leq b_{n+1} \leq b_{n} \leq b, \qquad\mbox{et}\qquad 
0 \leq b_{n} - a_{n} \leq 2^{-n}(b_{0} - a_{0}).
\stopformula
\input ward.tex
\startformula
g(x_{*}) = \lim_{n\to\infty} g(a_{n}) \leq 0 \leq \lim_{n\to\infty} g(b_{n}) = 
g(x_{*}),
\stopformula
\input knuth.tex

\stoptext
%% end vertical-space-bug.tex

Attachment: vertical-space-bug-2017-01-17.pdf
Description: Adobe PDF document


> On 18 Jan 2017, at 19:15, Hans Hagen <pra...@wxs.nl> wrote:
> 
> On 1/18/2017 6:23 PM, Nicola wrote:
>> On 18/01/2017 17:53, Otared Kavian wrote:
>>> Hi Nicola,
>>> 
>>> In fact, if you are in a hurry and don’t use subtle things
>>> introduced  since May 2016, you can use the stable version of ConTeXt
>>> from TeXLive
>>> 2016 (the bug noticed by Mikael, and you, is absent from that version
>>> of ConTeXt).
>> 
>> Thanks, that's what I am doing now. Strangely enough, it fixes the
>> layout for all the slides, *except* the one I have posted before. But
>> that one I can easily fix.
> 
> the current (yesterdays) beta should be ok .. (the midpar flushing of a 
> formula)
> 
> a while ago i reimplemented spacing around display math and as a side effect 
> there might be slightly different spacing (in which case probably the old 
> situation was wrong
> 
> it relates to the fact that tex (traditionally) has some assumptions and does 
> some spacing that interferes with the way we want to control spacing (e.g. it 
> always forces baselineskips while we don't always want them) and it was close 
> to impossible to identify such cases robustly
> 
> (think of preceding lines with different depths)
> 
> recent luatex has ways to disable that so i could finally come up with 
> cleaner spacing models for display math
> 
> so, apart from bugs the current model is the one that will stay (or course 
> more control can be added)
> 
> Hans
> 
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to