[luatex] \noligs
Hans Hagen
pragma at wxs.nl
Fri Feb 17 21:20:45 CET 2017
On 2/17/2017 6:21 PM, David Carlisle wrote:
> According to the manual \noligs taks an integer and suppresses
> ligatures when node lists are being built.
>
> There's no example and no information about what the integer was supposed to be.
>
> I guessed the font id or 0/1 true false but nothing seemed to have any effect.
>
> Are there any examples of the correct usage of this command?
>
> I tried with tfm fonts as
>
> \font\rmm="cmr10" at 20pt
>
> {\rmm ffind ffish ffood}
>
> {\rmm \noligs\fontid\font ffind ffish ffood}
>
> {\rmm \noligs0 ffind ffish ffood}
>
> {\rmm \noligs1 ffind ffish ffood}
it's a bit of old junk staying around (for now) it is supposed to
suppress ligs in math with traditional fonts .. not really advocated
features
> \bye
>
> or with OpenType fonts by changing the first line to
>
> \input{luaotfload.sty}
> \font\rmm="[lmroman10-regular]:" at 20pt
>
> but all lines looked the same and had ff and ffi ligatures.
the opentype / unicode way is to inject a zwj or so
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the luatex
mailing list