summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eledmac/eledmac.sty
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/eledmac.sty
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/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%