summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/reledmac/reledmac.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/reledmac/reledmac.dtx')
-rw-r--r--macros/latex/contrib/reledmac/reledmac.dtx20
1 files changed, 9 insertions, 11 deletions
diff --git a/macros/latex/contrib/reledmac/reledmac.dtx b/macros/latex/contrib/reledmac/reledmac.dtx
index 111de50ddd..8b305df326 100644
--- a/macros/latex/contrib/reledmac/reledmac.dtx
+++ b/macros/latex/contrib/reledmac/reledmac.dtx
@@ -598,6 +598,8 @@
% \changes{v2.39.4}{2023/07/20}{Fix bug with hyperlink when using \protect\cs{footnoteXmark} and \protect\cs{footnoteXtext}.}
% \changes{v2.39.5}{2023/07/21}{The fix in v2.39.4 did'nt work well in tabular environment.}
% \changes{v2.39.6}{2023/08/14}{Fix compatibility with memoir v3.8.}
+% \changes{v2.39.7}{2023/08/21}{Fix compatibility with \protect\cs{pagenumbering} of memoir v3.8.}
+% \changes{v2.39.7}{2023/08/21}{Again fix with hyperref, footnote and tabular environment}
% Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename)
% has version number \fileversion, last revised \filedate.}}
%
@@ -4510,7 +4512,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2023/08/15 v2.39.6 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2023/08/21 v2.39.7 typesetting critical editions]%
% \end{macrocode}
%
% \subsection{Package options}
@@ -14087,15 +14089,11 @@
\hyperlink%
{@footnotemark#1@\csuse{hr@thefnmark#1}}%
{\@nameuse{bodyfootmark#1}}%
- \ifcsundef{hr@bodyfootmark#1@\csuse{hr@thefnmark#1}}{%
- \Hy@raisedlink{%
- \hypertarget%
- {@bodyfootmark#1@\csuse{hr@thefnmark#1}}%
- {}%
- }%
- \csxdef{hr@bodyfootmark#1@\csuse{hr@thefnmark#1}}{}%Avoid duplicate body footmark
- }%
- {}%
+ \Hy@raisedlink{%
+ \hypertarget%
+ {@bodyfootmark#1@\csuse{hr@thefnmark#1}}%
+ {}%
+ }%
\else%
\@nameuse{bodyfootmark#1}%
\fi%
@@ -16676,7 +16674,7 @@
{\led@error@fail@patch@mempnum}%
}%
{%
- \apptocmd{\pagenumbering}%
+ \pretocmd{\pagenumbering}%
{\par@patch@pagenumbering}%
{}%
{\led@error@fail@patch@pagenumbering}%