summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/eledmac/eledmac.sty')
-rw-r--r--Master/texmf-dist/tex/latex/eledmac/eledmac.sty16
1 files changed, 11 insertions, 5 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%