summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/eledmac/eledpar.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-08-21 22:08:05 +0000
committerKarl Berry <karl@freefriends.org>2013-08-21 22:08:05 +0000
commitc3c661426b38899deda17ccef1b1494d440b297c (patch)
tree510f133c6df248dcf8d11e9799e1c79079dab937 /Master/texmf-dist/source/latex/eledmac/eledpar.dtx
parent60db445b187defd29b9b812162d897c90425b092 (diff)
eledmac (21aug13)
git-svn-id: svn://tug.org/texlive/trunk@31488 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/eledmac/eledpar.dtx')
-rw-r--r--Master/texmf-dist/source/latex/eledmac/eledpar.dtx19
1 files changed, 15 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/eledmac/eledpar.dtx b/Master/texmf-dist/source/latex/eledmac/eledpar.dtx
index 7b0549f374b..91f4b656b5c 100644
--- a/Master/texmf-dist/source/latex/eledmac/eledpar.dtx
+++ b/Master/texmf-dist/source/latex/eledmac/eledpar.dtx
@@ -51,7 +51,7 @@
%
% \fi
%
-% \CheckSum{3987}
+% \CheckSum{4005}
%
% \makeatletter
% \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters
@@ -719,7 +719,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledpar}[2013/08/16 v1.4.1 eledmac extension for parallel texts]
+\ProvidesPackage{eledpar}[2013/08/21 v1.4.2 eledmac extension for parallel texts]
% \end{macrocode}
% With the option `shiftedpstarts' a long pstart one the left side (or in the right side) don't make a blank on the corresponding pstart, but the blank is put on the bottom of the page. Consequently, the pstarts on the parallel pages are shifted, but the shifted stop at every end of pages.
@@ -1882,6 +1882,7 @@
% macro. It is called by \cs{beginnumberingR} and performs
% all the line-list operations needed at the start of a section.
% Its argument is the name of the line-list file.
+% \changes{v1.4.2}{2013/08/25}{Open / close immediatly the line-list file when in minipage, except if the minipage is a ledgroup.}
% \begin{macrocode}
\newcommand*{\line@list@stuffR}[1]{%
\read@linelist{#1}%
@@ -1890,8 +1891,18 @@
\global\first@linenum@out@Rfalse
\immediate\openout\linenum@outR=#1
\else
- \closeout\linenum@outR
- \openout\linenum@outR=#1
+ \if@minipage%
+ \if@ledgroup%
+ \closeout\linenum@outR
+ \openout\linenum@outR=#1
+ \else
+ \immediate\closeout\linenum@outR
+ \immediate\openout\linenum@outR=#1\relax
+ \fi
+ \else
+ \closeout\linenum@outR%
+ \openout\linenum@outR=#1\relax%
+ \fi
\fi}
% \end{macrocode}