inactive -- and ---
I'm just trying to modernize and enhance my old typescripts and reckognized that -- and --- become inactive (i.e. don't become endash and emdash, but stay dashes) with the SIL Gentium font (or at least with my typescript). How can that happen? And what can I do? I'm using the latest gwTeX (ConTeXt 2005-11-17). The typescript is attached, but I don't think the bug is in there... Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer)
Hraban, AFAIK, -- and --- aren't active, but they (should) produce ligatures, so the problem is most probably at the level of the tfms you produced. How did you obtain them? By running texfont? Which encoding are you using? Thomas On Nov 20, 2005, at 1:12 PM, Henning Hraban Ramm wrote:
I'm just trying to modernize and enhance my old typescripts and reckognized that -- and --- become inactive (i.e. don't become endash and emdash, but stay dashes) with the SIL Gentium font (or at least with my typescript). How can that happen? And what can I do?
I'm using the latest gwTeX (ConTeXt 2005-11-17). The typescript is attached, but I don't think the bug is in there...
Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer)
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Thomas A. Schmitz wrote:
Hraban,
AFAIK, -- and --- aren't active, but they (should) produce ligatures, so the problem is most probably at the level of the tfms you produced. How did you obtain them? By running texfont? Which encoding are you using?
\defaultencoding expands to 'ec' these days (used to be 'texnansi'). Perhaps that is the problem? Taco
I just looked into font conversion for another project. In EC.enc, you have this line: % LIGKERN hyphen hyphen =: endash ; endash hyphen =: emdash ; so fonts converted by texfont and using --enc=ec should have the dashes enabled automagically. The problem I had was with the f- ligatures, I had to manually add these lines: % LIGKERN f f =: ff ; f i =: fi ; f l =: fl ; % LIGKERN ff f =: fff ; ff i =: ffi ; ff l =: ffl ; In general, texnansi still seems to be doing a better job with this sort of thing. The ligkern instructions are not mentioned explicitly in texnansi.enc, but they are still used, so I assume texfont has them hardwired into its own code somewhere. May be Adam knows more about it? Best Thomas On Nov 20, 2005, at 2:14 PM, Taco Hoekwater wrote:
Thomas A. Schmitz wrote:
Hraban, AFAIK, -- and --- aren't active, but they (should) produce ligatures, so the problem is most probably at the level of the tfms you produced. How did you obtain them? By running texfont? Which encoding are you using?
\defaultencoding expands to 'ec' these days (used to be 'texnansi'). Perhaps that is the problem?
Taco _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
AFAIK, -- and --- aren't active, but they (should) produce ligatures, so the problem is most probably at the level of the tfms you produced. How did you obtain them? By running texfont? Which encoding are you using? \defaultencoding expands to 'ec' these days (used to be 'texnansi'). Perhaps that is the problem? so fonts converted by texfont and using --enc=ec should have the dashes enabled automagically. ... In general, texnansi still seems to be doing a better job with this sort of thing. The ligkern instructions are not mentioned explicitly in texnansi.enc, but they are still used, so I assume texfont has them hardwired into its own code somewhere. May be Adam knows more about it?
Thank you. I'm using ec, but tried also texnansi without changes. The TFMs are generated by texfont, but long ago; I should try to re- generate them. Other fonts have no problems. endash and emdash are defined in the texfont-generated AFMs (original is TTF); I can't read TFM... Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer)
Hraban, you can't read tfm, but have you tried converting them to pl? That's a format you can read... And you probably have a pair of vf and tfm files, so you could and should convert to vpl. Best Thomas On Nov 20, 2005, at 11:43 PM, Henning Hraban Ramm wrote:
Thank you. I'm using ec, but tried also texnansi without changes. The TFMs are generated by texfont, but long ago; I should try to re- generate them. Other fonts have no problems. endash and emdash are defined in the texfont-generated AFMs (original is TTF); I can't read TFM...
participants (3)
-
Henning Hraban Ramm
-
Taco Hoekwater
-
Thomas A. Schmitz