refstyle and amsmath

Jürgen Spitzmüller jspitzm at gmail.com
Thu Feb 1 09:22:12 UTC 2024


Am Do., 1. Feb. 2024 um 08:20 Uhr schrieb Jürgen Spitzmüller <
jspitzm at gmail.com>:

> FYI version 0.6. of refstyle, now on CTAN and soon distributed via the
> package managers, will contain the fix of this issue.
>

The new version still does not completely work. I have reported it. Here is
the needed fix of the fix:

--- /usr/local/texlive/2019/texmf-dist/tex/latex/refstyle/refstyle.cfg
+++ /home/juergen/texmf/tex/latex/testen/refstyle.cfg
@@ -513,7 +513,7 @@
 \newcommand*{\RSeqrefform}[1]{\textup{(\ref{#1})}}
 \AddToHook{package/amsmath/after}%
     {\NewCommandCopy\AMSeqref\eqref
-     \RS at removedef{eqref}}%
+     \DeclareRobustCommand\eqref{\relax}}%
 \newref{eq}{%
    name      = \RSeqtxt,
    names     = \RSeqstxt,

Let's hope Danie takes care of this soon, as well.


>
> --
> Jürgen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20240201/6887dfe7/attachment.html>


More information about the lyx-users mailing list