>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Jean-Marc, I believe that this is the code that generates the
Angus> latex (paragraph.C, line 1605):

Angus>         if (style->isEnvironment()) { os << "\\end{" <<
Angus> style->latexname() << "}\n"; texrow.newline();
Angus>         }

Angus> Does it not need an extra '\n'?

It is a matter of choice. When one writes

  text text text text

  \begin{itemize}
  \item item
  \item item
  \item item
  \end{itemize}

  text text text text

there are three paragraphs (which is well suited if the first line is
a complete sentence. But in some cases, one might want to get only one
paragraph, if the enumeration is somehow inlined. If we did use an
insetlist, then it would be possible to decide where the paragraph
breaks are, like we can do with displayed maths.

But if the one paragraph use is much less common that the three
paragraph version, then we could add the additional \n (which will
change the vertical spacing, BTW).

Ideally, we should allow both.

JMarc

Reply via email to