Richard Heck wrote: >>>>> Is this InsetCounter a good idea? Could this be based on InsetFlex? >>>>> >>>> i would use such kind of inset myself and have already been thinking >>>> how to add it ;) (maybe named counters for more counters in named >>>> document >>>> and master/child usage). >>>> >>>> >>> I think something along these lines is probably already possible, as >>> JMarc mentions. You just need to define some sort of layout that uses a >>> counter in the label string, or something of the sort. >>> >> >> i'm just a normal lyx user. >> > There's nothing normal about you, Pavel.
frankly i have no idea what is the trivial solution hinted by JMarc and my understanding of the module/layout stuff is very basic. if there is some solution which can provide the facility requested by Abdel by layouts which doesn't need more than adding some module in the dialog from the user POV then fine. >> how i do it in lyx? o we have some module? >> >> > It depends exactly what you need, but you can define counters like this: i want some inset, which i can put anywhere in the text which output single number which is incremented + 1 to previous inset. and i do not want to edit some preamble stuff to do this, just something from the insert menu, as any normal user would expect. pavel