Le 12/09/2019 à 12:53, Daniel a écrit :
I suspect that as well now. With 2.3, if I typeset my example, I get an
empty document. This is because the section layout is a starred one.
That's cheating :) You have a section that takes vertical space, but you
do not see it.
Do you mean, that I get a bold 1 if I change the section layout to the
non-starred version and typeset?
Try it!
In case you talk about the latter, I don't see a reason why the one with
the 1 does not sense. Maybe I intentionally wanted to get only the 1
typeset. This is possible in LyX by adding a note. And there are a
couple of cases where it has been recommended in the past (maybe
unfortunately?) that one should insert empty notes to keep layouts
without contents when nesting one layout into another without adding any
content to the outer one, e.g. to create a quote that only contains a
numbered list.
The behavior that I implemented only trigeers when
1/ one selects the whole paragraph
2/ an inset is inserted over this selection.
3/ the inset is able to contains layouts different from Plain Layout
(i.e. it is not a CharStyle type of inset)
So inserting an empty note in an empty paragraph does not count
And even when the layout has been reset, one can set it back, the
Thought Police is not threatening you for non-LyXian behavior.
It is just suppose to help, not to force anything.
I am not saying that this is the way to go. I am only saying that it is
far from obvious to me that this is the way and it wasn't my original
concern.
So you tell me that when you sent your original message, it was clear
for you that the Paragraph that contains the note was still in Section*
layout?
I think it is a good idea that one can set an inset to not inherit the
font.
However, my latest compromise suggestion was that only the first
paragraph enherits the font of the enclosing text. It will then reflect
the format that the text will take if the note gets dissolved.
I think this is too complicated.
JMarc