From bba9c6d277cca9273530cf68c37c9f184a9550fb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 8 Jan 2018 22:19:31 +0000 Subject: reledmac (8jan18) git-svn-id: svn://tug.org/texlive/trunk@46252 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/reledmac/reledpar.dtx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx index 5f07a566670..0984d5eff88 100644 --- a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx +++ b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx @@ -324,6 +324,7 @@ % \changes{v2.20.2}{2017/08/31}{Fix bugs with \protect\option{continuousnumberingwithcolumns} when going to a new page} % \changes{v2.21.0}{2017/11/11}{Add compatibility with new features of \protect\reledmac 2.26.0} % \changes{v2.21.1}{2017/11/22}{Fix bug with \protect\cs{linenumberannotation}} +% \changes{v2.21.2}{2018/01/08}{Fix bug with \protect\cs{Xpstart} and \protect\cs{edtextlater}} % ^^A PW added following as the definitions are at some unknown elsewhere % % \newcommand{\egstart}{% @@ -1369,7 +1370,7 @@ % \begin{macrocode} %<*code> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledpar}[2017/12/22 v2.21.1 reledmac extension for parallel texts]% +\ProvidesPackage{reledpar}[2018/01/08 v2.21.2 reledmac extension for parallel texts]% % \end{macrocode} % \subsection{Package's requirement} @@ -4972,16 +4973,23 @@ \unexpanded{% \lemma{\no@expands #1}% }% - \noexpand\xxref{start:edtext:later:\the\edtext@later}{end:edtext:later:\the\edtext@later}% + \noexpand\xxref{start:edtext:later:\the\edtext@later}{end:edtext:later:\the\edtext@later}% \noexpand\linenum{||||||\edfont@info}% \unexpanded{\def\sw@inthisedtext}{\expandonce{\sw@inthisedtext}}% % \end{macrocode} -% As the \cs{edtextnow} is generally called on the other side than the corresponding \cs{edtextlater}, we need to store the side for a proper formatting of the footnote. +% As the \cs{edtextnow} is generally called on the other side than the corresponding \cs{edtextlater}, we need to store the side for a proper formatting of the footnote. We also need to store the pstartL / pstartR counter. % \begin{macrocode} \ifledRcol% \unexpanded{\appto\@beforeinsertofthisedtext{\ledRcol@true}}% + {% + \noexpand\setcounter{pstartR}{\noexpand\xpstartref{start:edtext:later:\the\edtext@later}}% + }% \else% \unexpanded{\appto\@beforeinsertofthisedtext{\ledRcol@false}}% + \unexpanded{\appto\@beforeinsertofthisedtext}% + {% + \noexpand\setcounter{pstartL}{\noexpand\xpstartref{start:edtext:later:\the\edtext@later}}% + }% \fi% % \end{macrocode} % And the footnote command of this \cs{edtextlater}. -- cgit v1.2.3