[luatex] \mathchardef\foo=\mathcode`\x

Hans Hagen pragma at wxs.nl
Fri Feb 5 14:19:27 CET 2016


On 2/5/2016 12:36 PM, David Carlisle wrote:

> Given that \the on a mathcode or \meaning on a mathchardef token now
> use the three hex number form can they be prefixed by \Umathchar  so
> that macros testing the returned strings can do one thing for
> Umathchar and another for mathchar and so work with different engines
> and old and new luatex?

I patched it to return \Umathchar in the case of \mathchar in 0.89

> PS
>
> I now seem to have
>
> This is LuaTeX, Version beta-0.89.0 (TeX Live 2016/dev)
>
> is there any news or change log from 0.88 ??

no fundamental changes, just some fixes / improvements, and if course 
new bugglets

new backend things:

\pdfvariable pkfixeddpi = integer % > 0 : use only default dpi (so one 
can do with one high res instance)

  \pdfvariable ignoreunknownimages = integer : > 0 : ignore missing and 
inject something empty (to be used with care)

and you can do this:

\edef\foo{\pdfvariable foo}
\def \oof{foo}

\ifx\foo\oof don't fool me\fi

(side effect of no longer aborting on missing so you can if you want 
implement a catch)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list