On 16 Apr 2017, at 15:49, Hans Hagen
wrote: On 4/16/2017 3:06 PM, Hans Åberg wrote:
It works with texinfo: just include it, but it seems keeping luatex-math.lua in the directory speeds up compilation. I used the code below at the beginning of the .texi file.
i don't understand the speed issue ... maybe you need to adapt the texinput path variable so that it can find the file in the tex tree
I have two LuaTeX, one is from texlive/2016, and the other from you site (on MacOS). The latter does not work on its own, so I must choose the former.
---- \input luaotfload.sty \input luatex-math.tex
\font\stix={file:STIX-Regular.otf}
Just look into the luatex-math.tex file to see how to properly define a math family set, you can create a \stix macro analogue to the \lucidabright and \latinmodern ones.
I may be beyond my programming abilities: The texinfo.tex file overrides the font, it seems, so I just hacked up something that works. :-)