[XeTeX] Diacritics in color (was Re: XETEX cannot access OpenType features in PUA?)
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Mon Nov 28 22:58:38 CET 2011
On Mon, Nov 28, 2011 at 02:18:56PM -0500, Aleksandr Andreev wrote:
> Jonathan Kew writes:
>
> >> Making this work in xetex would require a different approach to implementing color.
>
> I have been able to get it to work (the base glyph in black and the
> "diacritic" in red) in LuaTeX using the luacolor package.
>
> Here's a minimal example:
>
> \documentclass{minimal}
> \usepackage{fontspec}
> \usepackage{xcolor}
> \usepackage{luacolor}
>
> \newfontface\moo{MezenetsUnicode}
>
> \begin{document}
> \moo
> \textcolor{red}{}
> \end{document}
>
> I'm not much of an expert in the inner workings of TeX and I know
> absolutely nothing about Lua (is that a derivative of LISP?) so I
> can't comment on whether the luacolor package could be ported to
> XeTeX.
No. Package luacolor uses LuaTeX's attributes and LuaTeX's ability
to process node lists.
Yours sincerely
Heiko Oberdiek
More information about the XeTeX
mailing list