From a630c126677af5ff62f794d8ac24daa43e0edb16 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 14 Aug 2023 20:20:47 +0000 Subject: reledmac (14aug23) git-svn-id: svn://tug.org/texlive/trunk@67928 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/reledmac/reledmac.sty | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty index e8f752cb4c7..ceb8d9704ad 100644 --- a/Master/texmf-dist/tex/latex/reledmac/reledmac.sty +++ b/Master/texmf-dist/tex/latex/reledmac/reledmac.sty @@ -37,7 +37,7 @@ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledmac}[2023/07/21 v2.39.5 typesetting critical editions]% +\ProvidesPackage{reledmac}[2023/08/15 v2.39.6 typesetting critical editions]% \RequirePackage{xkeyval} \newif\ifparledgroup \newif\ifsameparallelpagenumber% @@ -352,6 +352,9 @@ \newcommand{\led@error@fail@patch@stepcounter}{% \reledmac@error{Failed to patch the \string\stepcounter\space command}{\@ehc}% }% +\newcommand{\led@error@fail@patch@mempnum}{% + \reledmac@error{Fail to patch \string\@mempnum\space command}{\@ehc}% +}% \newcommand{\led@warn@edinde@outsidenumbering}{% \reledmac@warning{\string\edindex\space called outside of \string\beginnumbering\space ...\space \string\endnumbering. \MessageBreak Automatically switched to \string\index.}% }% @@ -6489,18 +6492,21 @@ \par@patch@thepage% }% -\ifl@dmemoir% +\ifboolexpr{% + bool {l@dmemoir}% + and test {\ifdef{\@mempnum}}%Only with memoir < 3.8 +}{% \apptocmd{\@mempnum}% {\par@patch@pagenumbering}% {}%% - {\led@error@fail@patch@@mempnum}% - -\else% + {\led@error@fail@patch@mempnum}% + }% + {% \apptocmd{\pagenumbering}% {\par@patch@pagenumbering}% {}% {\led@error@fail@patch@pagenumbering}% -\fi% + }% \AtBeginDocument{\par@patch@thepage}% \AtBeginDocument{% -- cgit v1.2.3