summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-01-30 20:46:39 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2013-01-30 20:46:39 +0000
commitef054c73e8082ce75078170aa2d4b963d5453b88 (patch)
tree70cfdf4dde7560c6498d3ef14c943c12bfbf49f4 /Master/texmf-dist/tex/latex
parentdd84649eb2dc8a166b97bd7d524cce5b0817e59a (diff)
Allow unprefixed \U primitive with luatex >= 0.75.0 and update the comments
git-svn-id: svn://tug.org/texlive/trunk@28991 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/latexconfig/lualatexiniconfig.tex23
1 files changed, 13 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/latexconfig/lualatexiniconfig.tex b/Master/texmf-dist/tex/latex/latexconfig/lualatexiniconfig.tex
index 8d1ae191552..f61ca7f485f 100644
--- a/Master/texmf-dist/tex/latex/latexconfig/lualatexiniconfig.tex
+++ b/Master/texmf-dist/tex/latex/latexconfig/lualatexiniconfig.tex
@@ -7,8 +7,9 @@
\catcode`\}=2
\directlua{
% etex and pdftex primitives are enabled without prefixing
+ % as well as extented Unicode math primitives (see below)
tex.enableprimitives('',
- tex.extraprimitives('etex', 'pdftex'))
+ tex.extraprimitives('etex', 'pdftex', 'umath'))
% other primitives are prefixed with luatex (see below)
tex.enableprimitives('luatex',
tex.extraprimitives('core', 'omega', 'aleph', 'luatex'))
@@ -44,25 +45,27 @@
% (allowing easy detection of LuaTeX-besed formats) and a prefixed
% version \luatexdirectlua (for consistency with \luatexlatelua).
%
-% 6 Various remarks:
+% 6 All primitives dealing with Unicode math already begin with \U,
+% and maybe will match the names of XeTeX primitives some day, so
+% LuaTeX (starting from 0.75.0) allows listing them separately (the
+% special 'umath' keyword above), and they are now provided unprefixed.
+% But because they are also listed with the 'luatex' keyword, they are
+% duplicated with \luatex prefix, which allows for backword
+% compatability with previous version of the format.
+%
+% 7 Various remarks:
% (a) The obvious drawback of such a prefixing policy is that the names
% used by LaTeX or generic macro writer won't match the names used
% in the manual. We hope this is compensated by the gain in
% backwards compatibility.
%
-% (b) All primitives dealing with Unicode math already begin with \U,
-% and maybe will match the names of XeTeX primitives some day, so
-% maybe prefixing was not necessary/desirable for them. However, we
-% tried to make the prefixing rule as simple as possible, so that
-% point (a) doesn't get even worse.
-%
-% (c) The final name of some primitive may sound strange, namely those
+% (b) The final name of some primitive may sound strange, namely those
% already containing the name of an engine, such as
% \luatexOmegaVersion. However, since LuaTeX is not a drop-in
% replacement for Omega/Aleph, we felt it wrong to provide
% \OmegaVersion.
%
-% (d) Maybe some day we'll feel it's better to provide all
+% (c) Maybe some day we'll feel it's better to provide all
% primitives without prefixing. If this happens, it
% will be easy to add the unprefixed primitives in the format while
% keeping the prefixed names for compatibility. It wouldn't work the