Hi, I'm using some otf fonts but '--' does not produce the en dash. How can I get over this problem? Thanks, -- Yi
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 -----------------------------------------------------------------
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
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
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