diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/tex/latex/latexconfig/lualatexiniconfig.tex | 23 |
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 |