summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltfssdcl.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltfssdcl.dtx23
1 files changed, 17 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltfssdcl.dtx b/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
index dbb779d0519..e85b435c98c 100644
--- a/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
@@ -36,7 +36,7 @@
%
%
\ProvidesFile{ltfssdcl.dtx}
- [2015/03/18 v3.0q LaTeX Kernel (NFSS Declarative Interface)]
+ [2016/02/18 v3.0r LaTeX Kernel (NFSS Declarative Interface)]
% \iffalse
\documentclass{ltxdoc}
\begin{document}
@@ -52,7 +52,6 @@
%<+checkmem>\CHECKMEM
% \fi
%
-% \CheckSum{2011}
%
%
% \GetFileInfo{ltfssdcl.dtx}
@@ -1082,6 +1081,8 @@
% \begin{macro}{\DeclareMathAlphabet}
% could do with more checks like allowing single number in |#4|
% lowercase in |#4| etc
+% \changes{v3.0r}{2016/02/18}
+% {Check for mathaccent not \cs{mathaccemt}}
% \begin{macrocode}
\def\DeclareMathAccent#1#2#3#4{%
\expandafter\in@\csname sym#3\expandafter\endcsname
@@ -1095,7 +1096,8 @@
\multiply\count@\sixt@@n
\advance\count\tw@-\count@
\if\relax\noexpand#1% is command?
- \edef\reserved@a{\noexpand\in@{\string\mathaccent}{\meaning#1}}%
+ \edef\reserved@a{\noexpand\in@
+ {\expandafter\@gobble\string\mathaccent}{\meaning#1}}%
\reserved@a
\ifin@
\expandafter\set@mathaccent
@@ -1134,6 +1136,8 @@
% \end{macro}
%
% \begin{macro}{\DeclareMathSymbol}
+% \changes{v3.0r}{2016/02/18}
+% {Check for mathchar not \cs{mathchar}}
% \begin{macrocode}
\def\DeclareMathSymbol#1#2#3#4{%
\expandafter\in@\csname sym#3\expandafter\endcsname
@@ -1147,7 +1151,8 @@
\multiply\count@\sixt@@n
\advance\count\tw@-\count@
\if\relax\noexpand#1% is command?
- \edef\reserved@a{\noexpand\in@{\string\mathchar}{\meaning#1}}%
+ \edef\reserved@a
+ {\noexpand\in@{\expandafter\@gobble\string\mathchar}{\meaning#1}}%
\reserved@a
\ifin@
\expandafter\set@mathsymbol
@@ -1270,6 +1275,8 @@
% \end{macro}
%
% \begin{macro}{\@DeclareMathDelimiter}
+% \changes{v3.0r}{2016/02/18}
+% {Check for delimiter not \cs{delimiter}}
% \begin{macrocode}
\def\@DeclareMathDelimiter#1#2#3#4#5#6{%
\expandafter\in@\csname sym#3\expandafter\endcsname
@@ -1295,7 +1302,8 @@
\advance\count\tw@-\count@
\edef\reserved@d{\hexnumber@{\count\z@}\hexnumber@{\count\tw@}}%
%
- \edef\reserved@a{\noexpand\in@{\string\delimiter}{\meaning#1}}%
+ \edef\reserved@a{\noexpand\in@
+ {\expandafter\@gobble\string\delimiter}{\meaning#1}}%
\reserved@a
\ifin@
\expandafter\set@mathdelimiter
@@ -1397,13 +1405,16 @@
% Below is a crude fix to make this macro work if |#1| is undefined
% or |\relax|. Should be improved!
% \changes{v2.1t}{1995/05/21}{Allow for undefined cs names}
+% \changes{v3.0r}{2016/02/18}
+% {Check for radical not \cs{radical}}
% \begin{macrocode}
\expandafter\ifx
\csname\expandafter\@gobble\string#1\endcsname
\relax
\let#1\radical
\fi
- \edef\reserved@a{\noexpand\in@{\string\radical}{\meaning#1}}%
+ \edef\reserved@a{\noexpand\in@
+ {\expandafter\@gobble\string\radical}{\meaning#1}}%
\reserved@a
\ifin@
\expandafter\in@\csname sym#2\expandafter\endcsname