Is it possible for two LyX Styles (defined in .layout file) to share a counter? I have a special "section" style that adds a few things in the latex .cls file, and its counter cooperates fully with the normal section type in the dvi. But it'd be much nicer to see the real section numbers on the LyX screen too, and so far, I haven't been able to convince LyX to do it for me. Adding a "Counter... End" section to the Style definition in the .layout file didn't seem to help, at least with all the various Names and Withins I tried.
The normal section counters display and increment as though the "mysections" aren't there at all. The "mysection" headers display the LyX LabelString, but no counter. What I've got in the .layout file is: Style Section Margin Dynamic LatexType Command LatexName section ... LabelType Counter_Section LabelString "Chapter" ... End Style MySection CopyStyle Section LatexName mysection End Using LyX 1.3.2, Qt, on SuSE Linux 7.3. TIA, Jim