diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/eledmac/eledmac.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/eledmac/eledmac.dtx | 39 |
1 files changed, 29 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx index 2fda016631e..f6fca9d52fc 100644 --- a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx +++ b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx @@ -51,7 +51,7 @@ % % \fi % -% \CheckSum{10093} +% \CheckSum{10105} % % \makeatletter % \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters @@ -2438,7 +2438,11 @@ % At the second run, you will see the formating. % And consequently, at the third run, you will see the table of contents. % -% For technical reason, the page break before \cs{elechapter} can't be add automatically. You have to insert it manually via \cs{beforeeledchapter}, which must be called outside of a numbering section. +% For technical reason, the page break before \cs{elechapter} can't be added automatically. You have to insert it manually via \cs{beforeeledchapter}, which must be called outside of a numbering section. +% \DescribeMacro{\noeledsec} +% If you aren't going to have any \cs{eledxxx} commands, you can say \cs{noeledsec} +% in your file, before the first \cs{beginnumbering}, to suppress the +% generation of unneeded \file{.eledsec} file. % \section{Quotation environments} % The \verb+quotation+ and \verb+quote+ environment can be used so that same definition/note appears both inside and outside a numbered section. % The typographical consequences will resemble the outside numbered sections, based on the styles of the \emph{book} class. @@ -2839,7 +2843,7 @@ % \begin{macrocode} %<*code> \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]% % \end{macrocode} % % Generally, these are the modifications to the original. @@ -3401,9 +3405,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 @@ -3455,7 +3461,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 @@ -12122,7 +12130,7 @@ % |\l@dgobbledarg| replaces its delineated argument by |\relax| % (was |\verschwinden|). % |\l@dgobbleoptarg|\oarg{arg}\marg{arg} replaces these two arguments (first is optional) by |\relax|. -% \changes{v1.18.5}{2014/08/28}{\cs{l@dgobblearg} becomes \cs{l@dgobbeloptarg}} +% \changes{v1.12.5}{2014/08/28}{\cs{l@dgobblearg} becomes \cs{l@dgobbeloptarg}} % \begin{macrocode} \def\l@dgobbledarg #1/{\relax} \newcommand*{\l@dgobbleoptarg}[2][]{\relax}% @@ -12270,7 +12278,7 @@ % \begin{macro}{\l@dmodforedtext} % \begin{macro}{\l@drestoreforedtext} % Modify and restore various macros for when |\edtext| is used. -% \changes{v1.18.5}{2014/08/28}{Debug optional arguments of \cs{Xfootnote} in tabular context} +% \changes{v1.12.5}{2014/08/28}{Debug optional arguments of \cs{Xfootnote} in tabular context} % \begin{macrocode} \newcommand{\l@dmodforedtext}{% \let\edtext\relax @@ -13495,7 +13503,7 @@ % \begin{macro}{\@makeschapterhead} % \begin{macro}{\@sect} % \begin{macro}{\@ssect} -% \changes{v1.18.5}{2014/08/28}{Debug \cs{eledchapter} in parallel with \Lpack{memoir}} +% \changes{v1.12.5}{2014/08/28}{Debug \cs{eledchapter} in parallel with \Lpack{memoir}} % We have to patch \LaTeX, \Lclass{book} and \Lclass{memoir} sectioning commands in order to: % \begin{itemize} % \item Disable \cs{edtext} inside. @@ -13679,6 +13687,17 @@ \newwrite\eled@sectioning@out % \end{macrocode} % \end{macro} +% \begin{macro}{\noeledsec} +% \changes{v1.12.6}{2014/08/31}{Add \cs{noeledsec} macro.} +% \begin{macro}{\if@noeled@sec} +% The boolean \cs{if@noeled@sec} is set to true when \cs{noeledsec} is called. +% It is used to disable external file creation. +% \begin{macrocode} +\newif\if@noeled@sec% +\newcommand{\noeledsec}{\global\@noeled@sectrue}% +% \end{macrocode} +% \end{macro} +% \end{macro} % \begin{macro}{\eledchapter} % \begin{macro}{\eledsection} % \begin{macro}{\eledsubsection} |