Jeff Smith wrote:
On Nov 27, 2007 3:18 AM, Taco Hoekwater
wrote: This should happen automatically already. Context (well, TeX, really) is even smarter than that: If you type 'hello', it will automatically visualise that as 'hello'. If this does not happen, something is not right with your input, and you'd better post a small example.
Indeed, your answer made me check back old documents I had printed. The comma apostrophe was there! When you don't think about those things, you never realize them...
So I checked back a bit, and what is wrong then is not my input per se, but my current document setup, which I don't know how to solve.
Two weeks ago, I asked about OpenType features. Mojca and Wolfgang thus gave examples of \definefontfeature. So, since I wanted to try out the historical ligatures in my font (dlig) alongside oldstyle nombers, I used the following, based on what I was told:
\definefontfeature [myfeatures] [method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes,dlig=yes]
It turns out this is the culprit. When I comment that out, the comma apostrophes are back. :-)
This makes me very happy because after all I won't use the historical ligatures. Therefore, I can use the oldstyle feature set and everything works well.
That is not to say that wouldn't like to know how to solve what happened though. For the sake of it (and some eventual document's where this will be crucial), I would like to know what do I need to add to \definefontfeature for the apostrophe magic to work?
tlig=yes trep=yes ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------