summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/eledmac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-06-22 23:42:06 +0000
committerKarl Berry <karl@freefriends.org>2015-06-22 23:42:06 +0000
commit6745e796b1ca6674a580dde4786ed3c6a205c26f (patch)
tree2ea3bb999257a0ac8425d408e29e6c44b95a7ac6 /Master/texmf-dist/source/latex/eledmac
parent80ca8a17ccd2e0ba39ffe4e04b512e6e613562c2 (diff)
eledmac
git-svn-id: svn://tug.org/texlive/trunk@37639 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/eledmac')
-rw-r--r--Master/texmf-dist/source/latex/eledmac/eledmac.dtx23
1 files changed, 13 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/eledmac/eledmac.dtx b/Master/texmf-dist/source/latex/eledmac/eledmac.dtx
index 8411945969e..846d9b10702 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{11980}
+% \CheckSum{11983}
%
% \makeatletter
% \newcommand*{\DescribeIt}{\leavevmode\@bsphack\begingroup\MakePrivateLetters
@@ -269,6 +269,7 @@
% \changes{v1.23.1}{2015/05/20}{Fix bug with \cs{lemma} command in the right side.}
% \changes{v1.23.2}{2015/05/29}{Compatibility with \LaTeX's release 2015.}
% \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.}
% \hyphenation{man-u-script man-u-scripts}
%
%
@@ -3229,7 +3230,7 @@
% \begin{macrocode}
%<*code>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{eledmac}[2015/06/02 v1.24.0 LaTeX port of EDMAC]%
+\ProvidesPackage{eledmac}[2015/06/21 v1.24.1 LaTeX port of EDMAC]%
% \end{macrocode}
%
% Generally, these are the modifications to the original.
@@ -6302,6 +6303,7 @@
% that's passed on to the notes.
% Read about \cs{@tag} in normal \cs{edtext} macro for more details about \cs{sw@list@inedtext} and \cs{no@expands} (\reff{@tag}).
% \begin{macrocode}
+\unless\ifnocritical@
\newcommand*{\lemma}[1]{%
\global\@lemmacommand@true%
\global\renewcommand{\@tag}{%
@@ -6312,14 +6314,6 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\if@lemmacommand@}
-% \changes{v1.15.0}{2015/01/12}{New boolean \cs{iflemmacommand@}.}
-% This boolean is set to TRUE inside a \cs{edtext} (or \cs{critext}) when a \cs{lemma} command is called.
-% That is useful for some commands which can have a different behavior if the lemma in the note is different from the lemma in the main text.
-% \begin{macrocode}
-\newif\if@lemmacommand@%
-% \end{macrocode}
-% \end{macro}
% \begin{macro}{\@lemma}
% The \cs{@lemma} is written in the numbered file to set which \cs{edtext} has an
% \cs{lemma} as second argument.
@@ -6327,6 +6321,15 @@
\newcommand{\@lemma}{%
\booltrue{lemmacommand@\the\@edtext@level}%
}%
+\fi
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\if@lemmacommand@}
+% \changes{v1.15.0}{2015/01/12}{New boolean \cs{iflemmacommand@}.}
+% This boolean is set to TRUE inside a \cs{edtext} (or \cs{critext}) when a \cs{lemma} command is called.
+% That is useful for some commands which can have a different behavior if the lemma in the note is different from the lemma in the main text.
+% \begin{macrocode}
+\newif\if@lemmacommand@%
% \end{macrocode}
% \end{macro}
% \subsection{Substitute line numbers}