On 2022-08-29 00:32, tush via lyx-users wrote:
I am trying to define a margin figure in my document.
The tufte book document class makes use of this environment.
In the file tufte-book.layout the following is defined:
[...]
But margin figure and figure have two separate numberings. Figure is
counted within chapters (2.3 for the 3rd figure in chapter 2) but margin
figure has its own counter (margin figure 1, margin figure 2, margin
figure 3 without any relation to chapters or the other figures).
Am I missing something? Does it work the same in your installation?
It doesn't work here either, i.e. the numbering of figures and margin
figures are disconnected (Figure 1, [Margin] Figure 1, etc.) within the
work area of LyX while in the output they are connected (Figure 1,
[Margin] Figure 2, etc.).
The problem seems to be that LyX
1) automatically assigns a counter to a float based on its name;
2) counters cannot be increases when other counters are increased (only
reset with others)
Resolving either 1 or 2 would fix the problem, I guess. But if I see it
correctly LyX has no support for it currently.
Daniel
--
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users