summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltplain.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltplain.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltplain.dtx57
1 files changed, 17 insertions, 40 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltplain.dtx b/Master/texmf-dist/source/latex/base/ltplain.dtx
index afe2fead63d..30d2c5c089e 100644
--- a/Master/texmf-dist/source/latex/base/ltplain.dtx
+++ b/Master/texmf-dist/source/latex/base/ltplain.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 1993-2016
+% Copyright 1993-2017
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltplain.dtx}
- [2016/07/29 v2.2c LaTeX Kernel (Plain TeX)]
+ [2017/01/06 v2.3b LaTeX Kernel (Plain TeX)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltplain.dtx}
@@ -73,6 +73,8 @@
% \changes{v1.1r}{1995/10/10}{Autoload tracing code}
% \changes{v1.1u}{1996/10/28}{(CAR) More doc changes}
% \changes{v2.0e}{2015/02/21}{Removed autoload code}
+% \changes{v2.2d}{2016/10/15}{Require e\TeX{}}
+% \changes{v2.3b}{2016/11/06}{Drop \cs{outer} entirely}
%
% \section{Plain \TeX}
%
@@ -114,7 +116,7 @@
\catcode`\_=8 % underline and downarrow are for subscripts
\catcode`\^^I=10 % ascii tab is a blank space
\chardef\active=13 \catcode`\~=\active % tilde is active
-\catcode`\^^L=\active \outer\def^^L{\par}% ascii form-feed is \outer\par
+\catcode`\^^L=\active \def^^L{\par}% ascii form-feed is \par
% \end{macrocode}
%
% \begin{macrocode}
@@ -384,8 +386,16 @@
% \begin{macrocode}
\def\new@mathgroup
{\e@alloc\mathgroup\chardef{\count18}\m@ne\e@mathgroup@top}
-\def\newlanguage {\e@alloc\language \chardef{\count19}\m@ne\@cclvi}
\let\newfam\new@mathgroup
+% \end{macrocode}
+%
+% \changes{v2.3a}{2016/10/16}{Allow languages up to 16383 in luatex}
+% \begin{macrocode}
+\ifx\directlua\@undefined
+ \def\newlanguage {\e@alloc\language \chardef{\count19}\m@ne\@cclvi}
+\else
+ \def\newlanguage {\e@alloc\language \chardef{\count19}\m@ne{16384}}
+\fi
%</2ekernel|latexrelease>
% \end{macrocode}
%
@@ -809,41 +819,6 @@
% \end{macro}
% \end{macro}
%
-% \changes{v1.1p}{1995/10/02}{Move \cs{newif} to ltdefns}
-%
-% \begin{macrocode}
-\message{compatibility for TeX 2, }
-% \end{macrocode}
-%
-% If this file is used in an old \TeX\ we define the new features
-% of \TeX\ 3.0 as simple macros or counters so that files that uses
-% these features can be processed in such an environment
-% (They will however produce some other results).
-%
-% \begin{macrocode}
-\ifx\@undefined\inputlineno
- \newcount\inputlineno
-% \end{macrocode}
-% This could be used to detect that an old \TeX\ is in force
-% \begin{macrocode}
- \inputlineno-1
-% \end{macrocode}
-% Extra test for MLTeX 2, RmS 91/11/07.
-% \begin{macrocode}
- \ifx\@undefined\language
- \newcount\language
- \fi
- \newcount\lefthyphenmin
- \newcount\righthyphenmin
- \newcount\errorcontextlines
- \newcount\holdinginserts
- \newdimen\emergencystretch
- \newcount\badness
- \let\noboundary\relax
- \newcount\setlanguage
-\fi
-% \end{macrocode}
-%
% Assign initial values to \TeX's parameters
%
% \begin{macrocode}
@@ -1186,8 +1161,10 @@
% \LaTeX\ defines |~| in |ltdefns.dtx|.
%
% \begin{macro}{\slash}
+% This generates a |/| acting a bit like |-| but still allows hyphenation
+% in the word part preceding it (but not after).
% \begin{macrocode}
-\def\slash{/\penalty\exhyphenpenalty} % a `/' that acts like a `-'
+\def\slash{/\penalty\exhyphenpenalty}
% \end{macrocode}
% \end{macro}
%