> On 16 Apr 2017, at 12:51, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/15/2017 10:42 AM, Hans Åberg wrote: >> Since Luaotfload is extracted from ConTeXt, I figure people here will know >> this: >> >> In the code below, math mode '.' and ',' are translated into ':'and ';', >> which seems to occur because that is what ASCII/Unicode has in those >> positions, unlike CMMI. So how to correct this? >> >> The issue is really trying to find get texinfo.tex working with Unicode >> fonts using LuaTeX, as it probably does not work with ConTeXt. (Later >> versions of the former use LuaTeX UTF-8 directly without translations.) > > There is a luatex-math.tex file in the context distribution that you can look > in .. basically you need to define the proper math character mapping (context > ship swith a plain setup too).
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. ---- \input luaotfload.sty \input luatex-math.tex \font\stix={file:STIX-Regular.otf} \input texinfo @c -*-texinfo-*- @textfont0=@stix @textfont1=@stix @scriptfont1=@stix @scriptscriptfont1=@stix ---- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________