[tex-live] Unprefixing Unicode math primitive in lualatex

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Jan 31 07:52:47 CET 2013


On 30.01.2013 22:07, Khaled Hosny wrote:

> In LuaTeX 0.75.0, tex.extraprimitives() supports a new keyword 'umath'

what happens when I do

tex.enableprimitives("foo",tex.extraprimitives('umath'))
tex.enableprimitives("bar",tex.extraprimitives('luatex'))

do I have \fooUmathcode _and_ \barUmathcode  ?

Herbert


> that returns all Unicode math primitives (the \U* primitives), so it
> will be possible to have them prefixed separately from the rest of new
> LuaTeX primitives, so I adapted lualatexiniconfig.tex to provide them
> unprefixed. So if one is using LuaTeX >= 0.75.0, the primitives can be
> used prefixed or unprefixed e.g. \luatexUmathcode or \Umathcode.
>
> In parallel to this, XeTeX 0.9999 supports the \U prefix for those
> primitives, so now it should be possible to write cross-engine code with
> less conditionals (provided that one is sticking to the subset of
> Unicode math primitives supported by both engines of course).



More information about the tex-live mailing list