Counter feature: should counter name be the LaTeX name?

Scott Kostyshak skostysh at lyx.org
Fri Dec 4 21:14:50 UTC 2020


See the attached .lyx file. It gives an error, whose cause is easily seen from the LaTeX:

  \begin{thm}
  Hello
  \end{thm}
  abc
  
  \setcounter{theorem}{0}
  \begin{thm}
  Again
  \end{thm}

LatexName of the style Theorem is set to "thm". Is that what should be used as the counter name? Do we currently use the layout name?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: counter-mwe.lyx
Type: application/x-lyx
Size: 2242 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201204/fa3438fa/attachment.lyx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201204/fa3438fa/attachment.asc>


More information about the lyx-devel mailing list