On 07/05/2016 03:36 PM, Daniel wrote: > On 05.07.2016 16:22, Richard Heck wrote: >> On 07/04/2016 02:42 PM, racoon wrote: >>> On 04.07.2016 16:16, Jean-Marc Lasgouttes wrote: >>>> Le 04/07/2016 à 15:38, racoon a écrit : >>>>> Thanks. Still I am wondering a bit why anything special at all is >>>>> necessary. >>>> >>>> Well, I am glad I do not have dangling list items like Word gladly >>>> creates. >>> >>> Thanks. Not sure what you mean exactly by "dangling list items". Is >>> the worry that there could be a list item, say from a description, >>> that are easily overlooked? I guess list items and indentations are >>> more visible in LyX than in word. But still I see the point somewhat. >> >> Note that these sorts of things are customizable. If you really want to >> allow empty items, do: >> >> Style Itemize >> KeepEmpty 0 >> End >> >> Put that in local layout, or in a module you can reuse. > > Thanks Richard. Yes, I would like to test it in order to see what > suits me better. However, it seems not to work as expected. I have > added it to my local layout but empty items are still removed. > > And I guess it would not apply to other environments like quote, right?
Sorry, stupid typo. It should be: Style Itemize KeepEmpty 1 End I.e., 1 for true. And it should also work for quotations and any other environment, really. Just change the name of the style. (This needs to be LyX's name for it, not the translated name in the GUI, if you have that.) Richard