diff options
author | Karl Berry <karl@freefriends.org> | 2023-08-14 20:20:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-08-14 20:20:47 +0000 |
commit | a630c126677af5ff62f794d8ac24daa43e0edb16 (patch) | |
tree | 5e41e6e5e3e7f8de2988a2ae3f03bfbd6467483f /Master/texmf-dist/tex | |
parent | b03174551e40b07325f238888b84b99d0bf9eebf (diff) |
reledmac (14aug23)
git-svn-id: svn://tug.org/texlive/trunk@67928 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/reledmac/reledmac.sty | 18 |
1 files changed, 12 insertions, 6 deletions
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{% |