missing space between text and a formula
Hi, I found the solution to my problem about missing space between text and a formula in MKII when using \indenting[next] (see http://archive.contextgarden.net/message/20080424.112935.a81d9346.en.html), however it seems to me that the proposed fix hasn't been applied to the ConTeXt distribution after that. Bostjan
On Tue, 11 Aug 2009, Bostjan Vesnicer wrote:
Hi,
I found the solution to my problem about missing space between text and a formula in MKII when using \indenting[next] (see http://archive.contextgarden.net/message/20080424.112935.a81d9346.en.html), however it seems to me that the proposed fix hasn't been applied to the ConTeXt distribution after that.
I do not completely understand what is happening here. Here is a modified example posted by Bostjan %%%%%%%%%%%%%%%%%%%%% \starttext \startbuffer Watch the space between this line and the formula. \startformula E = m c^2 \stopformula \stopbuffer \setupformulas[spacebefore=0pt] \getbuffer \setupformulas[spacebefore=big] \setupindenting [yes, next, big] \getbuffer \setupformulas[spacebefore=0pt] \getbuffer \stoptext %%%%%%%%%%%%%%%%%%%%% MKII is getting it completely wrong, especially in the last case: the formula overwrites the text! I do not know what is going on. Wolfgang had posted a patch (see attachment) that adds a \ifindentfirstparagraph check before removing the baseline skip in \startdisplaymath, but I do not know what side effects it can have. Can someone who understand MKII indentation model please check this? MKIV behaviour is (visually) correct. Aditya
participants (2)
-
Aditya Mahajan
-
Bostjan Vesnicer