summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-08 22:19:31 +0000
committerKarl Berry <karl@freefriends.org>2018-01-08 22:19:31 +0000
commitbba9c6d277cca9273530cf68c37c9f184a9550fb (patch)
tree576e5a1e4470e9851730e5238bbb4f40d08a0306 /Master/texmf-dist/source
parentc75fbb3cd27c0c61bb4d93cedf51f4794edfa12d (diff)
reledmac (8jan18)
git-svn-id: svn://tug.org/texlive/trunk@46252 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/reledmac/reledpar.dtx14
1 files changed, 11 insertions, 3 deletions
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}.