summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-04-13 13:48:08 +0000
committerKarl Berry <karl@freefriends.org>2015-04-13 13:48:08 +0000
commit013bf3bc293cf08e4b4167cb42180bc355f399c0 (patch)
tree5235dfbae8830590c7fc6a0c70ecd3c84d22c677 /Master/texmf-dist/source/latex/base/ltfssdcl.dtx
parentbacfc70aefdbc2ec3496c976ad12fe9ef26604e1 (diff)
latex2e 2015/01/01
git-svn-id: svn://tug.org/texlive/trunk@36834 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltfssdcl.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltfssdcl.dtx36
1 files changed, 21 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltfssdcl.dtx b/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
index 223d90ce3dd..5d5ee12b8cf 100644
--- a/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
+++ b/Master/texmf-dist/source/latex/base/ltfssdcl.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2014
+% Copyright 1993-2015
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -36,7 +36,7 @@
%
%
\ProvidesFile{ltfssdcl.dtx}
- [2014/09/29 v3.0o LaTeX Kernel (NFSS Declarative Interface)]
+ [2015/03/18 v3.0q LaTeX Kernel (NFSS Declarative Interface)]
% \iffalse
\documentclass{ltxdoc}
\begin{document}
@@ -52,7 +52,7 @@
%<+checkmem>\CHECKMEM
% \fi
%
-% \CheckSum{1885}
+% \CheckSum{1887}
%
%
% \GetFileInfo{ltfssdcl.dtx}
@@ -63,6 +63,7 @@
%
% \author{Frank Mittelbach \and Rainer Sch\"opf}
%
+% \MaintainedByLaTeXTeam{latex}
% \maketitle
%
% This file contains the main implementation of the font selection
@@ -87,6 +88,8 @@
% {(DPC) minor documentation changes}
% \changes{v3.0a}{1995/05/24}
% {(DPC) Make file from previous file, latint.dtx 1995/05/21 v2.1t}
+% \changes{v3.0p}{2015/02/21}
+% {Removed autoload code}
%
%
% \changes{v2.1o}{1994/11/22}
@@ -119,7 +122,7 @@
% contain braces nor |#| (more precisely, tokens of category
% code 1,~2, or~6).
% \begin{macrocode}
-%<*2ekernel|autoload>
+%<*2ekernel>
\def\in@#1#2%
{%
\begingroup
@@ -330,12 +333,13 @@
% \changes{v3.0g}{1997/11/20}
% {(DPC) inline use of \cs{stepcounter} (faster, and saves a csname
% per math version as no reset list)}
+% \changes{v3.0q}{2015/03/18}{Introduce \cs{e@mathgroup@top}}
% \begin{macrocode}
\def\select@group#1#2#3#4{%
\ifx\math@bgroup\bgroup\else\relax\expandafter\@firstofone\fi
{%
\ifmmode
- \ifnum\csname c@mv@\math@version\endcsname<\sixt@@n
+ \ifnum\csname c@mv@\math@version\endcsname<\e@mathgroup@top
\begingroup
\escapechar\m@ne
\getanddefine@fonts{\csname c@mv@\math@version\endcsname}#3%
@@ -381,17 +385,12 @@
% \changes{v3.0j}{2005/07/27}
% {(MH) Change because command is now properly robust}
% \begin{macrocode}
-%</2ekernel|autoload>
-%<*2ekernel|autoerr>
\gdef\non@alpherr#1{\@latex@error{%
% \end{macrocode}
% The command here will have a space at the end of its name, so we make
% sure not to insert an extra one.
% \begin{macrocode}
\string#1allowed only in math mode}\@ehd}
-%</2ekernel|autoerr>
-%<autoload>\def\non@alpherr{\@autoerr\non@alpherr}
-%<*2ekernel|autoload>
% \end{macrocode}
% \end{macro}
%
@@ -426,12 +425,13 @@
% \changes{v3.0g}{1997/11/20}
% {(DPC) inline use of \cs{stepcounter} (faster, and saves a csname
% per math version as no reset list)}
+% \changes{v3.0q}{2015/03/18}{Introduce \cs{e@mathgroup@top}}
% \begin{macrocode}
\def\document@select@group#1#2#3#4{%
\ifx\math@bgroup\bgroup\else\relax\expandafter\@firstofone\fi
{%
\ifmmode
- \ifnum\csname c@mv@\math@version\endcsname<\sixt@@n
+ \ifnum\csname c@mv@\math@version\endcsname<\e@mathgroup@top
\begingroup
\escapechar\m@ne
\getanddefine@fonts{\csname c@mv@\math@version\endcsname}#3%
@@ -613,10 +613,16 @@
\@ifundefined{sym#1}{%
% \end{macrocode}
%
+% \changes{v3.0q}{2015/03/18}{Restrict Symbol fonts to 0-15}
% \begin{macrocode}
- \expandafter\new@mathgroup\csname sym#1\endcsname
- \expandafter\new@symbolfont\csname sym#1\endcsname
- {#2}{#3}{#4}{#5}}%
+ \ifnum\count18<15 %
+ \expandafter\new@mathgroup\csname sym#1\endcsname
+ \expandafter\new@symbolfont\csname sym#1\endcsname
+ {#2}{#3}{#4}{#5}%
+ \else
+ \@latex@error{Too many symbol fonts declared}\@eha
+ \fi
+ }%
{%
% \end{macrocode}
%
@@ -1538,7 +1544,7 @@
\fi
}
\@onlypreamble\DeclareSymbolFontAlphabet@
-%</2ekernel|autoload>
+%</2ekernel>
% \end{macrocode}
% \end{macro}
%