Help with patch to display frame number in LyX display

Scott Kostyshak skostysh at lyx.org
Sat Nov 26 14:30:30 UTC 2022


On Sat, Nov 26, 2022 at 11:30:35AM +0100, Jürgen Spitzmüller wrote:
> Am Samstag, dem 26.11.2022 um 08:58 +0100 schrieb Jürgen Spitzmüller:
> > In theory, this should also work via the layout by increasing the
> > layout's SecNumDepth value (to 4), but it doesn't work for me.
> 
> No, the layout's SecNumDepth only determines the default depth set in
> the class (this decides whether the \secnumdepth counter is changed in
> the LaTeX output). This shouldn't be changed.
> 
> IMO this shows that our counters are intricately bound to the LaTeX
> output. Beamer frames have no counter in the output, so if you want to
> have it counted in the LyX workarea, you have to live with these
> shortcomings currently (either adjust numbering in document settings or
> have the frames on a wrong hierarchy level).

Thanks, Jürgen. One of the weird things that happens if I change
TocLevel to 3 is that when I execute outline-in (e.g., clicking on the
button in the outliner) on a Section, it changes "Frame" to "AgainFrame"
for some reason.

Oh well, I guess if I do something hackish I have to accept the
consequences.

Thank you,
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221126/adf1805f/attachment.asc>


More information about the lyx-devel mailing list