diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltplain.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/ltplain.dtx | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltplain.dtx b/Master/texmf-dist/source/latex/base/ltplain.dtx index 7eb822544dc..7beb854464c 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-2015 +% Copyright 1993-2016 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltplain.dtx} - [2015/10/27 v2.1b LaTeX Kernel (Plain TeX)] + [2015/11/18 v2.2b LaTeX Kernel (Plain TeX)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltplain.dtx} @@ -50,7 +50,7 @@ %</driver> % \fi % -% \CheckSum{1345} +% \CheckSum{1362} % % \changes{v1.0a}{1994/03/08} % {Remove need for a driver file.} @@ -361,8 +361,28 @@ \fi} {\count14}\insc@unt\float@count} \def\newtoks {\e@alloc\toks \toksdef{\count15}\m@ne\e@alloc@top} -\def\newread {\e@alloc\read \chardef{\count16}\m@ne\sixt@@n} -\def\newwrite {\e@alloc\write \chardef{\count17}\m@ne\sixt@@n} +\def\newread {\e@alloc\read \chardef{\count16}\m@ne\sixt@@n} +% \end{macrocode} +% +% \changes{v2.2a}{2015/11/18} +% {Extended stream allocation in luatex (0.85)} +% \changes{v2.2b}{2015/11/19} +% {Only extend allocation of write streams (see luatex list)} +% Skip |\write18| due to its traditional use as a shell-escape. +% \begin{macrocode} +\ifx\directlua\@undefined + \def\newwrite {\e@alloc\write \chardef{\count17}\m@ne\sixt@@n} +\else + \def\newwrite {\e@alloc\write + {\ifnum\allocationnumber=18 \allocationnumber19\fi + \global\chardef}% + {\count17}% + \m@ne + {128}} +\fi +% \end{macrocode} +% +% \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} |