From df326f665e2cd0936dfe7a22533c4c518d2da959 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Apr 2018 21:36:53 +0000 Subject: reledmac (6apr18) git-svn-id: svn://tug.org/texlive/trunk@47335 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/reledmac/reledpar.dtx | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/source/latex/reledmac') diff --git a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx index 9990a9cdf4f..3b261f19620 100644 --- a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx +++ b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx @@ -327,7 +327,8 @@ % \changes{v2.21.2}{2018/01/08}{Fix bug with \protect\cs{Xpstart} and \protect\cs{edtextlater}} % \changes{v2.21.3}{2018/01/18}{Fix bug when using \protect\cs{numberpstarttrue} and alterning between manual \protect\cs{pstart} and automatic \protect\cs{pstart} produced by \protect\cs{autopar}} % \changes{v2.21.4}{2018/01/18}{Fix bug with using \protect\cs{eledsection} and related when alternate normal typesetting and parallel typesetting} -% \changes{v2.21.5}{2018/01/18}{Compatibility with reledmac v.~2.26.6} +% \changes{v2.21.5}{2018/02/28}{Compatibility with reledmac v.~2.26.6} +% \changes{v2.21.6}{2018/04/06}{Fix page number in footnote and endnotes when using \protect\option{sameparallelpagenumber} option} % ^^A PW added following as the definitions are at some unknown elsewhere % % \newcommand{\egstart}{% @@ -1373,7 +1374,7 @@ % \begin{macrocode} %<*code> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{reledpar}[2018/02/28 v2.21.5 reledmac extension for parallel texts]% +\ProvidesPackage{reledpar}[2018/04/06 v2.21.6 reledmac extension for parallel texts]% % \end{macrocode} % \subsection{Package's requirement} @@ -2993,7 +2994,13 @@ % line-list file, to mark the start of a new text line. % \begin{macrocode} \newcommand*{\new@lineL}{% - \write\linenum@out{\string\@nl[\the\c@page][\thepage]}} + \ifboolexpr{% + bool{sameparallelpagenumber}% + or bool{prevpgnotnumbered}% + }% + {\write\linenum@out{\string\@nl[\the\c@par@page][\thepar@page]}}% + {\write\linenum@out{\string\@nl[\the\c@page][\thepage]}}% +}% % \end{macrocode} % \end{macro} % \begin{macro}{\new@lineR} @@ -3001,7 +3008,13 @@ % line-list file, to mark the start of a new text line. % \begin{macrocode} \newcommand*{\new@lineR}{% - \write\linenum@outR{\string\@nl[\the\c@page][\thepage]}} + \ifboolexpr{% + bool{sameparallelpagenumber}% + or bool{prevpgnotnumbered}% + }% + {\write\linenum@outR{\string\@nl[\the\c@par@page][\thepar@page]}}% + {\write\linenum@outR{\string\@nl[\the\c@page][\thepage]}}% +}% % \end{macrocode} % \end{macro} % -- cgit v1.2.3