summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/eledmac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-07-07 22:14:50 +0000
committerKarl Berry <karl@freefriends.org>2015-07-07 22:14:50 +0000
commit64477c1c821825c100812119c2364bbc602568fd (patch)
treef67750a31ca2a535eb60213f02a96c93f94ba36c /Master/texmf-dist/source/latex/eledmac
parentd86a6ba8fbf3f7944373009206e0886d5a54961d (diff)
eledmac (7jul15)
git-svn-id: svn://tug.org/texlive/trunk@37790 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/eledmac')
-rw-r--r--Master/texmf-dist/source/latex/eledmac/eledmac.dtx17
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
index b31250b595f..bb9476d7092 100644
--- a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
+++ b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
@@ -63,7 +63,7 @@
% \fi
%
% \newcommand{\reff}[1]{\ref{#1} p.~\pageref{#1}}
-% \CheckSum{11986}
+% \CheckSum{11987}
%
% \makeatletter
% \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters
@@ -271,6 +271,7 @@
% \changes{v1.24.0}{2015/06/02}{We can reinitialize \cs{AtEveryPstart} and \cs{AtEveryPend} providing to it an empty argument.}
% \changes{v1.24.1}{2015/06/21}{\cs{lemma} is disabled when using `nocritical` option.}
% \changes{v1.24.2}{2015/06/26}{Fix incompatibility between `nofamiliar` option and `memoir` package.}
+% \changes{v1.24.3}{2015/07/07}{Restore marginal numbers and notes with sectioning command (bug introduced in v1.21.0)}
% \hyphenation{man-u-script man-u-scripts}
%
%
@@ -672,7 +673,7 @@
% \item[nocritical] disables tools for critical footnotes (\cs{Afootnote}, \cs{Bfootnote} etc.). If you do not need critical footnotes, this option lets \eledmac\ run faster.
% It will also preserve room for other packages.
% \item[noeledsec] disables tools for \cs{eledsection} and related commands (\reff{eledsection}).
-% \item[noend] disables tools for end footnotes (\cs{Aendnote}, \cs{Bendnote} etc.). If you do not need endnotes, this option lets \eledmac\ run faster.
+% \item[noend] disables tools for endnotes (\cs{Aendnote}, \cs{Bendnote} etc.). If you do not need endnotes, this option lets \eledmac\ run faster.
% It will also preserve room for other packages.
% \item[nofamiliar] disables tools for familiar footnotes (\cs{footnoteA}, \cs{footnoteB} etc.). If you do not need familiar footnotes, this option lets \eledmac\ run faster.
% It will also preserve room for other packages.
@@ -3231,7 +3232,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledmac}[2015/06/26 v1.24.2 LaTeX port of EDMAC]%
+\ProvidesPackage{eledmac}[2015/07/07 v1.24.3 LaTeX port of EDMAC]%
% \end{macrocode}
%
% Generally, these are the modifications to the original.
@@ -15865,7 +15866,9 @@
%
% We do not define commands for \cs{eledsection} and related if the \verb+noeledsec+ option is loaded.
% We use etoolbox tests and not the \verb+\ifxxx…\else…\fi+ structure to prevent problem of expansions with command after the \verb+\ifxxx+ which contains \verb+fi+.
+% As we patch command inside this test, we need to change the category code of \# character \emph{before} \cs{notbool} statement, because the second argument is read with the standard catcode (read \thetexbook to understand when the catcode's change has effect).
% \begin{macrocode}
+\catcode`\#=12
\notbool{@noeled@sec}{%
% \end{macrocode}
% \begin{macro}{\beforeeledchapter}
@@ -15943,7 +15946,6 @@
%
%
% \begin{macrocode}
-\catcode`\#=12 % Space NEEDS by \catcode
\AtBeginDocument{%
\patchcmd{\chapter}{\clearforchapter}{%
\if@eled@sectioning\else%
@@ -16135,7 +16137,12 @@
{}
}%
}
-\catcode`\#=6 %Space NEEDS by \catcode
+% \end{macrocode}
+% Now, we have finished to patch the commands, using \# with a catcode equals to 12. We close the \verb+\notbool{@noeled@sec}+ statement, restore the normal catcode for \# and reopen a new \verb+\notbool{@noeled@sec}+ statement.
+% \begin{macrocode}
+{}}%
+\protect\catcode`\#=6 %Space NEEDS by \catcode
+\notbool{@noeled@sec}{%
% \end{macrocode}
% \end{macro}
% \end{macro}