[NTG-context] latest release(s) and XeTeX

Thomas A. Schmitz thomas.schmitz at uni-bonn.de
Sun Jan 20 23:04:54 CET 2008


On Jan 20, 2008, at 5:45 PM, Mojca Miklavec wrote:

> Yes. See type-otf.tex:
>
>    \definefontsynonym
>        [LMRoman10-Regular]
>        [file:lmroman10-regular]
>        [features=default]
>
> features=default is defined in font-ini.tex:
>
> \definefontfeature
>  [default]
>  [liga=yes,kern=yes,tlig=yes,trep=yes] %  
> texligatures=yes,texquotes=yes
>
> tlig=yes is than mapped to
>    \remapfontfeature tlig          yes  mapping=tlig
>
> Note that "mapping=tlig" replaces "mapping=tex-text" (maybe it might
> make sense to call it "mapping=tex-ligatures", I don't know which one
> sounds better), which replaces -- with endash, --- with emdash and '
> with the proper apostrophe. The rest of sligtly weird "ligatures" from
> tex-text is not there.
>
> Mojca
>
> (I somehow still miss a sligtly more simple syntax for the whole
> typescript, but I have no idea what that could be.)

Thanks again, Mojca! I begin to understand how things work in XeTeX  
(but are still a bit lost when I get font errors; I have learnt to  
understand what they mean in traditional TeX and will have to  
understand them in XeTeX and luaTeX...).

All best

Thomas


More information about the ntg-context mailing list