summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/base/ltdirchk.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltdirchk.dtx')
-rw-r--r--Master/texmf-dist/source/latex/base/ltdirchk.dtx36
1 files changed, 32 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltdirchk.dtx b/Master/texmf-dist/source/latex/base/ltdirchk.dtx
index 9ed32cb1027..11af47cdd7f 100644
--- a/Master/texmf-dist/source/latex/base/ltdirchk.dtx
+++ b/Master/texmf-dist/source/latex/base/ltdirchk.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.
%
@@ -28,7 +28,7 @@
% \fi
%
% \ProvidesFile{ltdirchk.dtx}
-% [2014/09/29 v1.0y LaTeX Kernel (System Dependent Parts)]
+% [2015/01/03 v1.1 LaTeX Kernel (System Dependent Parts)]
%
% \iffalse
%%% From File: ltdirchk.dtx
@@ -39,7 +39,7 @@
%<*driver>
% \fi
\ProvidesFile{ltdirchk.dtx}
- [2001/06/04 v1.0y LaTeX Kernel (System Dependent Parts)]
+ [2015/01/03 v1.1 LaTeX Kernel (System Dependent Parts)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltdirchk.dtx}
@@ -49,6 +49,7 @@
\author{David Carlisle}
\date{\filedate}
\begin{document}
+ \MaintainedByLaTeXTeam{latex}
\maketitle
\DocInput{\filename}
\end{document}
@@ -81,7 +82,7 @@
% {documentation improvements mainly from internal/2520}
% \changes{v1.0w}{1998/08/17}{(RmS) Documentation improvements.}
%
-% \CheckSum{595}
+% \CheckSum{606}
%
% \section{\LaTeX\ System Dependent Initialisations}
%
@@ -222,6 +223,33 @@
%<initex>\fi
\catcode`\{=1
\catcode`\}=2
+% \end{macrocode}
+% \changes{v1.1}{2015/01/03}{Enable extra primitives when Lua\TeX{} is used}
+% If Lua\TeX{} is in use the extensions and other new primitives
+% have to be activated: this is done as early as possible. Older
+% versions of Lua\TeX{} do not hide the primitives: a version check is
+% not needed as the version itself will be missing in the case where
+% action is needed!
+% \begin{macrocode}
+\ifx\directlua\undefined
+\else
+ \ifx\luatexversion\undefined
+% \end{macrocode}
+% Enable e-TeX/pdfTeX/Umath primitives with their natural names
+% \begin{macrocode}
+ \directlua{tex.enableprimitives('',%
+ tex.extraprimitives('etex', 'pdftex', 'umath'))}
+% \end{macrocode}
+% Enable other primitives with |luatex| prefix
+% \begin{macrocode}
+ \directlua{tex.enableprimitives('luatex',
+ tex.extraprimitives('core', 'omega', 'aleph', 'luatex'))
+ }
+ \fi
+\fi
+% \end{macrocode}
+% That distraction over, back to the basics of a format.
+% \begin{macrocode}
\catcode`\#=6
\catcode`\^=7
\chardef\active=13