![](https://secure.gravatar.com/avatar/0f4de94d0381c56e0624acb2049e1455.jpg?s=120&d=mm&r=g)
Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, -- Yi
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
luigi scarso wrote:
On Fri, Nov 14, 2008 at 6:04 AM, Yi Zhang
mailto:yizhang84@gmail.com> 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/0f4de94d0381c56e0624acb2049e1455.jpg?s=120&d=mm&r=g)
On Fri, Nov 14, 2008 at 3:28 AM, Hans Hagen
luigi scarso wrote:
On Fri, Nov 14, 2008 at 6:04 AM, Yi Zhang
mailto:yizhang84@gmail.com> 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
![](https://secure.gravatar.com/avatar/3d00fe874e15f123695d55bd77fae5e6.jpg?s=120&d=mm&r=g)
Dnia Fri, Nov 14, 2008 at 03:23:36PM +0800, Yanrui Li napisał(a):
2008/11/14 Yi Zhang
: 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
![](https://secure.gravatar.com/avatar/9404a2ca345300a924eecaf62efd277d.jpg?s=120&d=mm&r=g)
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
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
___________________________________________________________________________________
participants (7)
-
Aditya Mahajan
-
Hans Hagen
-
luigi scarso
-
Lutz Haseloff
-
Marcin Borkowski
-
Yanrui Li
-
Yi Zhang