On 1/11/2017 10:11 PM, Henri Menke wrote:
Dear list,
why are italic corrections in the MWE below not inserted according to the rules
stated in the new font manual? See comments in the code for details. I can
reproduce the issue with TL2016 and latest beta.
you can test with
local function okay(data,current,font,prevchar,previtalic,char,what)
if data then -- remove the not
in typo-itc.lua
Cheers, Henri
---
\definefontfeature
[default]
[default]
[itlc=yes]
\setupitaliccorrection[text]
\enabletrackers[typesetters.italics]
\starttext
{\it beef} beer % seems to be fine
{\it beef} \hbox{beer} % why is correction inserted here? It's a box
{\it beef}? % correction missing
{\it beef\/}? % adding `global' flag inserts correction here
{\it beef\normalitaliccorrection}? % works always with itlc=yes
\stoptext
___
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
___
--
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___