Re: [NTG-context] no en dash with otf fonts
luigi scarso wrote: On Fri, Nov 14, 2008 at 6:04 AM, Yi Zhang [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, what fonts ? did you specify tlig=yes ? (btw, there are fonts with multiple dashes and hyphens (multiple unicode points for the same glyph) and to some extend - + - with - being one or the other works ok) - 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 - ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no en dash with otf fonts
On Fri, Nov 14, 2008 at 3:28 AM, Hans Hagen [EMAIL PROTECTED] wrote: luigi scarso wrote: On Fri, Nov 14, 2008 at 6:04 AM, Yi Zhang [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, what fonts ? did you specify tlig=yes ? (btw, there are fonts with multiple dashes and hyphens (multiple unicode points for the same glyph) and to some extend - + - with - being one or the other works ok) Hi all, tlig works! Thanks so much for all the replies! -- Yi ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no en dash with otf fonts
On Fri, 14 Nov 2008, Yi Zhang wrote: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, Do you have feature=default in your typescripts? Aditya ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] no en dash with otf fonts
Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, -- Yi ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no en dash with otf fonts
On Fri, Nov 14, 2008 at 6:04 AM, Yi Zhang [EMAIL PROTECTED] wrote: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, what fonts ? -- luigi ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no en dash with otf fonts
2008/11/14 Yi Zhang [EMAIL PROTECTED]: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, Try to use `\emdash' instead of it. -- Best wishes, Li Yanrui ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no en dash with otf fonts
Dnia Fri, Nov 14, 2008 at 03:23:36PM +0800, Yanrui Li napisa#322;(a): 2008/11/14 Yi Zhang [EMAIL PROTECTED]: Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, Try to use `\emdash' instead of it. Or \endash. -- Best wishes, Li Yanrui Greets -- Marcin Borkowski (http://mbork.pl) _ _ _ / \ / \ / \ OSTRE SŁOWA \_/ \_/ \_/ OSTRA MUZYKA / \ / \ / \ OSTRA PŁYTA \_/ \_/ \_/ 2 Tm 2,3 ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no en dash with otf fonts
nihao Yi, you can enable all TeX ligatures as a fontfeature: (minimat example) \definefontfeature[lig][tlig=yes] \font\nolig=Tallys at 12pt \font\lig=Tallys*lig at 12pt \starttext \nolig - -- --- \lig - -- --- \stoptext Greetings Lutz 2008/11/14 Yi Zhang [EMAIL PROTECTED] Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, -- Yi ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___