summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3names.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3names.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3names.dtx21
1 files changed, 20 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3names.dtx b/Master/texmf-dist/source/latex/l3kernel/l3names.dtx
index 228c317ead3..1a405873659 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3names.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3names.dtx
@@ -35,7 +35,7 @@
%
%<*package>
\RequirePackage{l3bootstrap}[2012/07/15]
-\GetIdInfo$Id: l3names.dtx 4230 2012-09-24 21:44:28Z joseph $
+\GetIdInfo$Id: l3names.dtx 4346 2012-12-07 13:46:13Z joseph $
{L3 Namespace for primitives}
%</package>
%<*driver>
@@ -599,6 +599,17 @@
\__expl_primitive:NN \luatexversion \luatex_luatexversion:D
\__expl_primitive:NN \savecatcodetable \luatex_savecatcodetable:D
% \end{macrocode}
+% Slightly more awkward are the directional primitives in \LuaTeX{}. These
+% come from Omega \emph{via} Aleph, but we do not support those engines and
+% so it seems most sensible to treat them as \LuaTeX{} primitives for prefix
+% purposes.
+% \begin{macrocode}
+ \__expl_primitive:NN \bodydir \luatex_bodydir:D
+ \__expl_primitive:NN \mathdir \luatex_mathdir:D
+ \__expl_primitive:NN \pagedir \luatex_pagedir:D
+ \__expl_primitive:NN \pardir \luatex_pardir:D
+ \__expl_primitive:NN \textdir \luatex_textdir:D
+% \end{macrocode}
% The job is done: close the group (using the primitive renamed!).
% \begin{macrocode}
\tex_endgroup:D
@@ -621,6 +632,14 @@
\tex_let:D \luatex_initcatcodetable:D \luatexinitcatcodetable
\tex_let:D \luatex_latelua:D \luatexlatelua
\tex_let:D \luatex_savecatcodetable:D \luatexsavecatcodetable
+% \end{macrocode}
+% Which also covers those slightly odd ones.
+% \begin{macrocode}
+\tex_let:D \luatex_bodydir:D \luatexbodydir
+\tex_let:D \luatex_mathdir:D \luatexmathdir
+\tex_let:D \luatex_pagedir:D \luatexpagedir
+\tex_let:D \luatex_pardir:D \luatexpardir
+\tex_let:D \luatex_textdir:D \luatextextdir
%</package>
% \end{macrocode}
%