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/reledpar.dtx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

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

diff --git a/macros/latex/contrib/reledmac/reledpar.dtx b/macros/latex/contrib/reledmac/reledpar.dtx
index 4fe935f799..55d7ea094b 100644
--- a/macros/latex/contrib/reledmac/reledpar.dtx
+++ b/macros/latex/contrib/reledmac/reledpar.dtx
@@ -349,6 +349,7 @@
 % \changes{v2.24.3}{2020/11/08}{Fix bug with hanging verse in parallel typesetting.}
 % \changes{v2.25.0}{2020/11/29}{Add compatibility with \protect\cs{linenumannotationothersidetrue} of \protect\macpackage.}.
 % \changes{v2.25.1}{2021/01/21}{\protect\cs{ifsublines@R} migrated to \protect\macpackage}
+% \changes{v2.25.2}{2021/09/27}{Fix incompatibility with \protect\package{babel} v.3.61}
 % ^^A PW added following as the definitions are at some unknown elsewhere
 %
 % \newcommand{\egstart}{%
@@ -1405,7 +1406,7 @@
 %    \begin{macrocode}
 %<*code>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2021/03/08 v2.25.1a reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2021/09/27 v2.25.2 reledmac extension for parallel texts]%
 
 %    \end{macrocode}
 % \subsection{Package's requirement}
@@ -5617,7 +5618,10 @@
 % that \protect\cs{theledlanguageL} and \protect\cs{theledlanguageR} are unaltered.
 %    \begin{macrocode}
     \renewcommand*{\l@duselanguage}[1]{%
-      \expandafter\l@doldselectlanguage\expandafter{#1}}
+      \let\bbl@savelastskip\relax% Babel 3.61, which provokes spurious vertical space
+      \let\bbl@restorelastskip\relax%% Babel 3.61, which provokes spurious vertical space
+      \expandafter\l@doldselectlanguage\expandafter{#1}%
+    }%
 %    \end{macrocode}
 % Lastly, initialise the left and right languages to the current \protect\package{babel}
 % one.
-- 
cgit v1.2.3

