Re: [NTG-context] Vertical alignment of formulas

2003-09-18 Thread Hans Hagen
Hi, I fixed/extended some experimental code. See attached file. Of course you need to move the core file to base and regenerate the format. If you want autospacing, you need the \epar (this will trigger some line width calculations, somethign that needs to take place inside a par). You can

Re: [NTG-context] Vertical alignment of formulas

2003-09-18 Thread Hans Hagen
At 19:24 17/09/2003 +0200, you wrote: Hi one complication is that the last line width is not available outside math mode (which is a pain) If really needed one can use quite old plain macro which try to soften this pain... However for short paragraphs it needs some changes (\prevgraf can't be

Re[2]: [NTG-context] Vertical alignment of formulas

2003-09-18 Thread Giuseppe Bilotta
Thursday, September 18, 2003 Hans Hagen wrote: this 'using a fake formula' is more or less the way i determine the last line length, but keep in mind that this only works in situations like: some text \measline and not in some text \par (or empty line) \measline Hans, that is *not*

Re[2]: [NTG-context] Vertical alignment of formulas

2003-09-18 Thread Hans Hagen
At 10:47 18/09/2003 +0200, you wrote: Thursday, September 18, 2003 Hans Hagen wrote: this 'using a fake formula' is more or less the way i determine the last line length, but keep in mind that this only works in situations like: some text \measline and not in some text \par (or empty

Re[3]: [NTG-context] Vertical alignment of formulas

2003-09-18 Thread Hans Hagen
At 14:05 18/09/2003 +0200, you wrote: In the end it always end up on the totally different views on displayed material that you and TeX have. We discussed this for the autoindent stuff, remember? You always consider displays a separate entity from the surrounding text, whereas TeX allows it to be

Re[4]: [NTG-context] Vertical alignment of formulas

2003-09-18 Thread Hans Hagen
At 17:31 18/09/2003 +0200, Giuseppe Bilotta wrote: proposes something like \parfillskip = .5\hsize plus .092\hsize minus .5\hsize hm, we need a way to parametrize this, will think of it Another bad feature is that \abovedisplayshortskip will never be used, leading to excessive white space

Re[5]: [NTG-context] Vertical alignment of formulas

2003-09-18 Thread Giuseppe Bilotta
Thursday, September 18, 2003 Hans Hagen wrote: At 17:31 18/09/2003 +0200, Giuseppe Bilotta wrote: proposes something like \parfillskip = .5\hsize plus .092\hsize minus .5\hsize hm, we need a way to parametrize this, will think of it I was hoping you would :) Another bad feature is that

Re: [NTG-context] Vertical alignment of formulas

2003-09-17 Thread Giuseppe Bilotta
Tuesday, September 16, 2003 Emil Hedevang Lohse wrote: Hello, Suppose I have the following code: blah blah blah blah blah blah blah blah blah \startmpformula formula \stopmpformula and that it yields the following output blah blah blah blah blah blah blah blah blah

Re: [NTG-context] Vertical alignment of formulas

2003-09-17 Thread Hans Hagen
At 22:32 16/09/2003 +0200, you wrote: The question is now: How do I do that? i'll have a look at it, one complication is that the last line width is not available outside math mode (which is a pain) Hans -

Re: [NTG-context] Vertical alignment of formulas

2003-09-17 Thread Hans Hagen
At 17:59 17/09/2003 +0200, you wrote: You don't :\ Sadly, Hans decided that the difference between abovedisplayskip and abovedisplayshortskip was unnecessary. Hans? that's not true -) the problem is that it is quite hard to get the spacing ok in situations like text formula text this has to