autonests question
Jürgen Spitzmüller
spitz at lyx.org
Thu Jun 25 08:09:48 UTC 2020
Am Mittwoch, den 24.06.2020, 15:24 -0400 schrieb Scott Kostyshak:
> I like the autonests layout feature, but don't know much about it. Is
> the following expected?
>
> 1. Open lib/examples/Presentations/Beamer.lyx.
> 2. Navigate to the frame "Purpose of this presentation".
> 3. Put the cursor before "For".
> 4. Press <Enter>.
> 5. Change the layout to one that Frame autonests, such as
> "enumerate".
>
> What happens is that the enumerate is not nested in the frame, while
> I expected it to be nested. I know the interaction of all these
> things is quite tricky so I'm not sure if what I expected was
> correct.
It is expected in the sense of a feature limitation. When checking for
autonest, we only check the layout of the previous paragraph. We do not
consider yet nested paragraphs and go further back to their parents.
If you feel like it, the relevant code is in Text3.cpp, line 1596ff.
Jürgen
>
> Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200625/4a355883/attachment.asc>
More information about the lyx-devel
mailing list