Thanks Daniel. I never looked at the content of numreport.inc. Perhaps you have an idea for my problem I uploaded here before? (https://lists.lyx.org/pipermail/lyx-users/2022-August/004205.html)
Thanks very much Ehud ------- Original Message ------- On Sunday, August 28th, 2022 at 8:45 PM, Daniel <xraco...@gmx.de> wrote: > On 2022-08-28 20:30, tush via lyx-users wrote: > > > I am just wondering how lyx knows how to display the numbering of floats > > when the document class is book and according to what rule to change the > > numbering when the document class is changed to article, for example. > > > > Yes yes, LyX "doesn't know anything about latex", and it is actually > > latex that takes care of the numbering, but only in the output (pdf or > > dvi). My question is about the numbering inside the editor. > > > stdfloats.inc contains the basic definition of the float, e.g. > > > Float > Type table > GuiName Table > Placement tbp > Extension lot > NumberWithin none > Style plain > ListName "List of Tables" > IsPredefined true > UsesFloatPkg false > ListCommand listoftables > RefPrefix tab > End > > > numreport.inc switches the numbering for reports and books to be within > chapters, e.g. > > > Float > Type table > NumberWithin chapter > End > > > Best, > Daniel > > > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users