>>>>> "Alejandro" == Alejandro Aguilar Sierra <[EMAIL PROTECTED]> writes:

Alejandro> On Tue, 12 Jan 1999, Jean-Marc Lasgouttes wrote:
>> Here is the code I used and just committed. AFAIK, this is
>> foolproof and adds newlines only when needed. I think this approach
>> is cleaner that the % used previously. Here is a snippet from the
>> code. Please tell me if you see design flaws there.

Alejandro> Just that this should be in a block including both cases
Alejandro> LM_EN_DISPLAY and not LM_EN_DISPLAY. Hmm... what if the
Alejandro> equation is the very first object in the document?

I think I got it right here. But of course, you are welcome to check
it out.

The idea of the patch is that, whenever we want to break a line for
aestetics, we should check whether we are already at a beginning of
line. In this case we should do nothing, since it will create a new
paragraph. I think this should be generalized in 1.1 in the LaTeX
writer, I think. This is a case where writing to a string rather than
a file is a big win.

Alejandro> BTW did you committed it? I don't see it.

It is in math_write.C/mathed_write().

JMarc

Reply via email to