Hi Wolfgang,
On Wed, 19 Sep 2007 23:30:26 +0800
"Zhichu Chen" <zhichu.chen@gmail.com> wrote:
> \usemodule[units]
>
> \setupindenting[big]
> \indenting[always,next]
> % no, not, yes, always, never, first, next
>
> % \setupformulas[spacebefore=5em]
>
> \starttext
>
> Blah,
> blah, blah, blah, blah, blah, blah, blah, blah,
> blah, blah, blah, blah, blah, blah, blah, blah,
> blah, blah, blah, blah, blah, blah, blah, blah,
> blah, blah, blah, blah, blah, blah, blah, blah,
> I love the following formula:
> \placeformula[-]
> \startformula
> 6.670 \times 10^{-11} \Newton \Times \Square \Meter \Per \Square \Kilo
> \Gram
> \stopformula
> which is very cool.
> which is very cool.
> which is very cool.
> which is very cool.
> which is very cool.
>
> % \showmathcharacters
>
> \stoptext
Hi Chen,
I can't give a real solution but only a workaround, the problem lies in
the macro \beforedisplayspace which calls \docomplexdoblank which calls
itself \presetindentation and this macro causes your real problem.
You solve this now by placing \let\presetindentation\relax at the begin
in your document or remove the next key for \setupindenting.
This is all what I can do for you in a few minutes, the rest is up to
Hans to make a extra test in \beforedisplay or somewhere else to
disable \preetindentation before a display formula.
Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________