I don’t know, I never used it. If my test file works for you as well, then I would propose that you try out a similar file using KOMA book. If the behavior is different, you may have found a bug in the KOMA book module (or in KOMA book itself).
> On 6 Jul 2025, at 12:10, Bernt Lie <bernt....@usn.no> wrote: > > Could the behavior I observe be a result of using a KOMA book? I use the > latest v of LyX on Windows. > > Sent from Outlook for Android <https://aka.ms/AAb9ysg> > From: lyx-users <lyx-users-boun...@lists.lyx.org> on behalf of mkriele--- via > lyx-users <lyx-users@lists.lyx.org> > Sent: Sunday, July 6, 2025 12:06:46 PM > To: Scott Kostyshak <skost...@lyx.org>; Bernt Lie via lyx-users > <lyx-users@lists.lyx.org> > Cc: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> > Subject: Re: LyX: making sections conditional? > > Hi Scott an Bernt > > >> NOTE: I have not checked what happens if... > >> - there are sections and subsections, etc. in the selected chapter > >> - what happes if there are theorem-like units, program listing, lists, etc. > >> - if there are remarks, etc. > >> > >> If all of the above is "flattended" out, that would be a "major" downside > >> to using Branching to me. > > > > Good point. I don't know. > > I never noticed this behavior and just tested it (attached: plain article, > with sections and subsections, and standard theorem module): The structure > remains intact. However, within the deactivated Branch the numbering may > change (starting with 1, for instance). If you activate the branch again the > correct numbering is restored. > > > >> I notice that if I have a Branch and right-click and choose "Dissolve > >> inset", that also removes section assignment, etc., which again is a major > >> downside: if I finally am happy with the text I have in the Branch inset, > >> I want to be able to take the text "out" of the Branch without ruining the > >> strucgture. Thus, I think it would be much better if all these structural > >> elements are kept when "dissolve inset". > > > > Agreed. > This also does not happen for me. I use "dissolve inset" often and tested it > today again with a branch that contains a section and a subsection. Both the > section and the subsection headings remained section and subsection headings. > > I tested with LyX 2.4.4 on macOS > > Regards, Marcus > -- > lyx-users mailing list > lyx-users@lists.lyx.org > https://lists.lyx.org/mailman/listinfo/lyx-users
-- lyx-users mailing list lyx-users@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-users