From 0396814223158484c2f424d382bcd670de158d82 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 29 Sep 2021 03:02:14 +0000
Subject: CTAN sync 202109290302

---
 macros/latex/contrib/reledmac/reledmac.dtx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'macros/latex/contrib/reledmac/reledmac.dtx')

diff --git a/macros/latex/contrib/reledmac/reledmac.dtx b/macros/latex/contrib/reledmac/reledmac.dtx
index dd6a6f39c0..996dc98008 100644
--- a/macros/latex/contrib/reledmac/reledmac.dtx
+++ b/macros/latex/contrib/reledmac/reledmac.dtx
@@ -586,6 +586,7 @@
 % \changes{v2.38.0}{2021/05/30}{Add hyperlinks between footnote and lemma when using abbreviated line range.}
 % \changes{v2.38.0}{2021/05/30}{Add \protect\cs{Xnopagenumberifcurrent} hook.}
 % \changes{v2.38.0}{2021/05/30}{Add \protect\cs{Xbeforepagenumber} hook.}
+% \changes{v2.38.1}{2021/09/27}{Fix incompatibility between \protect\parpackage's option \protect\option{continuousnumberingwithcolumns} and lineation by page.}
 %      Typeset scholarly editions with \LaTeX\thanks{This file (\dtxfilename)
 % has version number \fileversion, last revised \filedate.}}
 %
@@ -4475,7 +4476,7 @@
 %    \begin{macrocode}
 %<*code>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledmac}[2021/05/30 v2.38.0 typesetting critical editions]%
+\ProvidesPackage{reledmac}[2021/09/27 v2.38.1 typesetting critical editions]%
 %    \end{macrocode}
 %
 % \subsection{Package options}
@@ -6808,7 +6809,7 @@
       \ifbypage@R
         \ifx\l@dchset@num\relax%Not resetting if preceded by a \setlinenum
           \ifboolexpr{%
-            bool{resumenumberingR@start}%
+            (bool{continuousnumberingwithcolumns} or bool{resumenumberingR@start})%
             and test {\ifnumequal{\last@page@numR}{-10000}}%
           }%
           {}%
@@ -6821,7 +6822,7 @@
       \fi
       \page@numR=#1%
       \global\this@section@page@numR=#1%
-      \last@page@numR=#1%
+      \global\last@page@numR=#1%
       \global\this@section@last@page@numR=#1%
       \def\next@page@numR{#1}%
       \gdef\this@section@next@page@numR{#1}%
-- 
cgit v1.2.3

