Le 27/04/2016 21:35, Richard Heck a écrit :
On 04/27/2016 11:36 AM, Kemal Ilgar Eroglu wrote:
Hi all,
I'm using LyX version 2.1.4. My problem is as follows:
When creating a nested list environment, LyX inserts a blank line
before the \begin{enumerate} of the sublist. It creates code like:
\begin{enumerate}
\item One
\item Two
\begin{enumerate}
\item Three\end{enumerate}
\end{enumerate}
That blank line causes some extra space which doesn't look very nice
(my intention is to use a reduced itemsep value to create compact
lists, and that extra bit of space really stands out in that case). Is
there was to prevent the creation of this blank line?
It is somewhat against LyX's own conventions, too, because LyX
normally doesn't insert a blank line before \begin{environment}
commands. I wonder why it does so when it comes to sublists.
This seems like a bug to me. Let's see if anyone on devel has an idea.
It seems to me that this has always been a shortcoming of lyx, which is
now fixed in 2.2 thanks to the contributions of Enrico (see
<http://wiki.lyx.org/LyX/NewInLyX22#parbreak>)