From f7130f437c34b63b06179bca4412a18559b241a7 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 8 Jan 2019 21:55:39 +0000
Subject: reledmac (8jan19)

git-svn-id: svn://tug.org/texlive/trunk@49647 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/reledmac/reledpar.dtx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/source/latex/reledmac/reledpar.dtx')

diff --git a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
index ff901b00cdd..951b1e45917 100644
--- a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
+++ b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
@@ -335,6 +335,7 @@
 % \changes{v2.21.8}{2018/05/02}{Workaround with a bug of \protect\LaTeX 2018/04/01 patch level 3 to generate the .sty file from a .ins file}
 % \changes{v2.21.9}{2018/07/19}{Fix (little) bug when using \protect\package{calc} package.}
 % \changes{v2.22.0}{2018/09/13}{Compatibility with \protect\cs{doinsidethislinehook} macro.}
+% \changes{v2.22.1}{2019/01/08}{Really reset line number annotation at each line}
 % ^^A PW added following as the definitions are at some unknown elsewhere
 %
 % \newcommand{\egstart}{%
@@ -1383,7 +1384,7 @@
 %    \begin{macrocode}
 %<*code>
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2018/11/30 v2.22.0a reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2019/01/08 v2.22.1 reledmac extension for parallel texts]%
 
 %    \end{macrocode}
 % \subsection{Package's requirement}
@@ -2545,7 +2546,6 @@
 %    \begin{macrocode}
 \newcommand{\@nl@regR}{%
   \ifx\l@dchset@num\relax \else
-    \reset@current@annot%
     \advance\absline@numR \@ne
     \csgdef{l@dchset@num@R\the\absline@numR}{}%To remember this line have been marked by a \setlinenum
     \set@line@action
@@ -2553,6 +2553,7 @@
     \advance\absline@numR \m@ne
     \advance\line@numR \m@ne%   % do we need this?
   \fi
+  \reset@current@annot%
   \advance\absline@numR \@ne
   \ifx\next@page@numR\relax \else
     \page@action
-- 
cgit v1.2.3

