On 16 Apr 2017, at 19:41, Hans Hagen
wrote: On 4/16/2017 7:06 PM, Hans Åberg wrote:
On 16 Apr 2017, at 15:49, Hans Hagen
wrote: 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.
This works in the test example, but not the texinfo file, perhaps because it changes the escape character.
maybe .. i never used texinfo myself .. maybe it's not that complex to make a context texinfo module that just has what is needed on top of a macro package (after all it has a syntax definition so parsing and mapping onto some configureable set of context commands is no biug deal) ... on the other hand,. i think it is meant as stand alone package so better try to get opentype fonts working in it
It is unclear what exact relation it might have to LuaTex and ConTeXt, but an interesting issue, though.
basically you can do this:
-- load a luatex plain -- load texinfo -- redefine some macros that deal with fonts
-- load the source to be processed
the texinfo code looks quite clean so overloading some should be doable (if you know what to overload)
Probably best to let the Texinfo people do it, as an important part is to be able to generate a host of different formats.