On Sun, Nov 14, 2021 at 09:05:21AM +0100, Daniel wrote: > On 2021-11-11 15:24, Scott Kostyshak wrote: > > This works great. Thank you! I had to set 'InitialValue' to 2 since the > > title takes up a frame for me. > > I guess a more ideal solution would be to make the title also increase the > counter by one since sometimes one might have a title frame and sometimes > not (or a custom one consisting of a normal frame). However, I did not > manage to get the counter to step up with the Title style *without* adding a > label. For example, I tried > > > Style Title > LabelType Static > LabelString "" > LabelCounter frame > End
Good idea, that is a better approach. > But instead of an empty LabelString, LyX seems to treat it the same as if it > hadn't been defined and adds just the number in front. Maybe this is a bug? > Shouldn't there be a difference between an empty string and no string set? > In general, it would be good if one could let counters increase without > defining a special label which presupposes too much that one has understood > the inner workings of counters. Or at least there should be a better > documentation for how it does (and does not) work. I guess Scott having > failed is pretty good evidence that something is not great here. Things are definitely complex. A lot of it is that I just don't have much familiarity with layout tags. In any case, thanks for the help! Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel