summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eledmac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-30 21:39:04 +0000
committerKarl Berry <karl@freefriends.org>2014-08-30 21:39:04 +0000
commit30819b8aa56e702e34aaaa8d288e4a246b1b5c0c (patch)
tree9fa3188d98674f9d54e38056cf4144f811c81228 /Master/texmf-dist/tex/latex/eledmac
parent631b827fbf17858ff45c9196d046898773fd57e9 (diff)
eledmac (30aug14)
git-svn-id: svn://tug.org/texlive/trunk@35070 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/eledmac')
-rw-r--r--Master/texmf-dist/tex/latex/eledmac/eledmac.sty16
-rw-r--r--Master/texmf-dist/tex/latex/eledmac/eledpar.sty26
2 files changed, 27 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
index 596ee036f8c..8907ca41b2c 100644
--- a/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
+++ b/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
@@ -25,7 +25,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledmac}[2014/08/28 v1.12.5 LaTeX port of EDMAC]%
+\ProvidesPackage{eledmac}[2014/08/31 v1.12.6 LaTeX port of EDMAC]%
\newif\ifledfinal
\newif\ifparapparatus@
\newif\ifnoquotation@
@@ -216,9 +216,11 @@
\begingroup
\initnumbering@sectcmd
\fi
- \gdef\eled@sections@@{}
- \makeatletter\InputIfFileExists{\jobname.eledsec\the\section@num}{}{}\makeatother
- \immediate\openout\eled@sectioning@out=\jobname.eledsec\the\section@num\relax
+ \gdef\eled@sections@@{}%
+ \if@noeled@sec\else%
+ \makeatletter\InputIfFileExists{\jobname.eledsec\the\section@num}{}{}\makeatother%
+ \immediate\openout\eled@sectioning@out=\jobname.eledsec\the\section@num\relax%
+ \fi%
}
\newcommand*{\initnumbering@reg}{%
\global\pst@rtedLfalse
@@ -259,7 +261,9 @@
\led@err@NumberingNotStarted
\fi
\autoparfalse
- \immediate\closeout\eled@sectioning@out
+ \if@noeled@sec\else%
+ \immediate\closeout\eled@sectioning@out%
+ \fi%
\ifl@dpairing\else
\endgroup
\fi
@@ -4718,6 +4722,8 @@
}%
\catcode`\#=6 %Space NEEDS by \catcode
\newwrite\eled@sectioning@out
+\newif\if@noeled@sec%
+\newcommand{\noeledsec}{\global\@noeled@sectrue}%
\newcommand{\eledchapter}[2][]{%
#2%
\ifledRcol%
diff --git a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty
index bf98ff1bd66..862422b411c 100644
--- a/Master/texmf-dist/tex/latex/eledmac/eledpar.sty
+++ b/Master/texmf-dist/tex/latex/eledmac/eledpar.sty
@@ -23,7 +23,7 @@
%% This work consists of the files listed in the README file.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledpar}[2014/08/15 v1.8.2 eledmac extension for parallel texts]%
+\ProvidesPackage{eledpar}[2014/08/31 v1.8.3 eledmac extension for parallel texts]%
\newif\ifshiftedpstarts
\let\shiftedversestrue\shiftedpstartstrue
@@ -83,9 +83,11 @@
\setcounter{pstartR}{1}
\begingroup
\initnumbering@sectcountR
- \gdef\eled@sectionsR@@{}
- \makeatletter\InputIfFileExists{\jobname.eledsec\the\section@numR R}{}{}\makeatother
- \immediate\openout\eled@sectioningR@out=\jobname.eledsec\the\section@numR R\relax
+ \gdef\eled@sectionsR@@{}%
+ \if@noeled@sec\else%
+ \makeatletter\InputIfFileExists{\jobname.eledsec\the\section@numR R}{}{}\makeatother%
+ \immediate\openout\eled@sectioningR@out=\jobname.eledsec\the\section@numR R\relax%
+ \fi%
}
\def\endnumberingR{%
\ifnumberingR
@@ -108,7 +110,9 @@
\led@err@NumberingNotStarted
\fi
\endgroup
- \immediate\closeout\eled@sectioningR@out
+ \if@noeled@sec\else%
+ \immediate\closeout\eled@sectioningR@out%
+ \fi%
}
\newcounter{chapterR}
@@ -1990,8 +1994,8 @@
\parledgroup@correction@notespacing{L}
\hb@xt@ \hsize{\ledstrutL\unhbox\l@dleftbox}%
\fi
- \get@nextboxL
- \checkpageL
+ \checkpageL%
+ \get@nextboxL%
\checkverseL
\checkpbL
\repeat
@@ -2021,8 +2025,8 @@
\parledgroup@correction@notespacing{R}
\hb@xt@ \hsize{\ledstrutR\unhbox\l@drightbox}%
\fi
- \get@nextboxR
- \checkpageR
+ \checkpageR%
+ \get@nextboxR%
\checkverseR
\checkpbR
\repeat
@@ -2253,6 +2257,7 @@
\parledgroup@correction@notespacing@final{L}
\else
\l@dpagefulltrue
+ \l@dsamepagefalse%
\csuse{after@pendL@\the\l@dpscL}%
\global\csundef{after@pendL@\the\l@dpscL}%
\fi
@@ -2292,9 +2297,10 @@
\parledgroup@notes@endR
\parledgroup@correction@notespacing@final{R}
\else
+ \l@dpagefulltrue%
+ \l@dsamepagefalse%
\csuse{after@pendR@\the\l@dpscR}%
\global\csundef{after@pendR@\the\l@dpscR}%
- \l@dpagefulltrue
\fi
\fi
\fi}