summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-31 21:08:57 +0000
committerKarl Berry <karl@freefriends.org>2017-07-31 21:08:57 +0000
commit89ca7ced47afa7482445dfbb4fda99f93d1ce4b4 (patch)
tree4ebb5f5c70ebff40aaa2b7cffa7195a2fc5ba834 /Master/texmf-dist/source/latex/reledmac/reledpar.dtx
parentb1509e1635c5c6bd6968b7b25122342aad89edcb (diff)
reledmac (31jul17)
git-svn-id: svn://tug.org/texlive/trunk@44929 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/reledmac/reledpar.dtx')
-rw-r--r--Master/texmf-dist/source/latex/reledmac/reledpar.dtx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
index fb8284ee46e..1eb7cd45361 100644
--- a/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
+++ b/Master/texmf-dist/source/latex/reledmac/reledpar.dtx
@@ -309,6 +309,7 @@
% \changes{v2.19.2}{2017/07/07}{\protect\option{continuousnumberingwithcolumns} works also for pstart number.}
% \changes{v2.19.3}{2017/07/17}{Fix a bug with \protect\option{nopbinverse} when using consecutive \protect\cs{Pages}.}
% \changes{v2.19.3}{2017/07/17}{Do not print footnotes at the first run.}
+% \changes{v2.19.4}{2017/07/31}{Optimisation of the code to not print footnotes at the first run.}
% ^^A PW added following as the definitions are at some unknown elsewhere
%
% \newcommand{\egstart}{%
@@ -1286,7 +1287,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{reledpar}[2017/07/07 v2.19.2 reledmac extension for parallel texts]%
+\ProvidesPackage{reledpar}[2017/07/07 v2.19.4 reledmac extension for parallel texts]%
% \end{macrocode}
% \subsection{Package's requirement}
@@ -2807,13 +2808,15 @@
% \begin{macrocode}
\newcommand*{\line@list@stuffR}[1]{%
\global\newtoggle{notfirstrun@#1}%
+ \IfFileExists{\l@auxdir#1}%
+ {\global\toggletrue{notfirstrun@#1}}%
+ {\global\togglefalse{notfirstrun@#1}}%
\read@linelist{#1}%
\iffirst@linenum@out@R
\immediate\closeout\linenum@outR
\global\first@linenum@out@Rfalse
\immediate\openout\linenum@outR=\l@auxdir#1%
\immediate\write\linenum@outR{\string\line@list@version{\this@line@list@version}}%
- \immediate\write\linenum@outR{\string\global\string\toggletrue{notfirstrun@#1}}%
\ifl@dpaging%
\immediate\write\linenum@outR{\string\@par@sync@option{\@par@this@sync@option}}%
\fi%
@@ -2823,7 +2826,6 @@
\fi%
\closeout\linenum@outR%
\openout\linenum@outR=\l@auxdir#1%
- \protected@write\linenum@outR{}{\string\global\string\toggletrue{notfirstrun@#1}}%
\fi}
% \end{macrocode}