Ligatures in ConTeXt minimals distribution
Hello, Ligatures seem to be missing when using the ConTeXt minimals distribution (8/8/2007) with the times font (see below example). Note that ligatures are rendered correctly using live.contextgarden.net, so I assume that something needs to be configured on my end. Could someone please be kind enough to tell me what I should configure to get proper ligatures for the times font in the minimals distribution? Cheers, Mike \usetypescript[times][ec] \setupbodyfont[times,12pt] \starttext \input knuth \blank And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}\!\!\! \sin^2(x)dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \sum_{k=1}^{\infty}{1 \over k^2} = {\pi^2 \over 6}. \stopformula Some ligatures: ffi, ffl. \stoptext
Mike Santy wrote:
Hello,
Ligatures seem to be missing when using the ConTeXt minimals distribution (8/8/2007) with the times font (see below example). Note that ligatures are rendered correctly using live.contextgarden.net, so I assume that something needs to be configured on my end.
Could someone please be kind enough to tell me what I should configure to get proper ligatures for the times font in the minimals distribution?
Cheers, Mike
\usetypescript[times][ec] \setupbodyfont[times,12pt]
\starttext
\input knuth \blank And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}\!\!\! \sin^2(x)dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \sum_{k=1}^{\infty}{1 \over k^2} = {\pi^2 \over 6}. \stopformula Some ligatures: ffi, ffl.
\stoptext
in ec encoding there are no ligs in these fonts, in texnansi encoding only see fi and fl tex gyre open type variants (in luatex) shows ffl and ffi ----------------------------------------------------------------- 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 -----------------------------------------------------------------
OK, fair enough. What I don't understand is why do I see ligatures when compiling the following on live.contextgarden.net using pdftex: \usetypescript[times][ec] \setupbodyfont[times,12pt] \starttext Some ligatures ffi, ffl, fi, fl \stoptext Cheers, Mike -----Original Message----- From: ntg-context-bounces@ntg.nl on behalf of Hans Hagen Sent: Tue 12/4/2007 4:12 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Ligatures in ConTeXt minimals distribution Mike Santy wrote:
Hello,
Ligatures seem to be missing when using the ConTeXt minimals distribution (8/8/2007) with the times font (see below example). Note that ligatures are rendered correctly using live.contextgarden.net, so I assume that something needs to be configured on my end.
Could someone please be kind enough to tell me what I should configure to get proper ligatures for the times font in the minimals distribution?
Cheers, Mike
\usetypescript[times][ec] \setupbodyfont[times,12pt]
\starttext
\input knuth \blank And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}\!\!\! \sin^2(x)dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \sum_{k=1}^{\infty}{1 \over k^2} = {\pi^2 \over 6}. \stopformula Some ligatures: ffi, ffl.
\stoptext
in ec encoding there are no ligs in these fonts, in texnansi encoding only see fi and fl tex gyre open type variants (in luatex) shows ffl and ffi ----------------------------------------------------------------- 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 ___________________________________________________________________________________
On Dec 4, 2007 3:10 PM, Santy, Michael
OK, fair enough. What I don't understand is why do I see ligatures when compiling the following on live.contextgarden.net using pdftex:
\usetypescript[times][ec] \setupbodyfont[times,12pt] \starttext Some ligatures ffi, ffl, fi, fl \stoptext
Cheers, Mike
Maybe because gyre open type fonts are used. -- luigi ... it's new . it's powerful . it's luatex . http://www.luatex.org
On Dec 4, 2007 1:19 AM, Mike Santy wrote:
Hello,
Ligatures seem to be missing when using the ConTeXt minimals distribution (8/8/2007) with the times font (see below example). Note that ligatures are rendered correctly using live.contextgarden.net, so I assume that something needs to be configured on my end.
Could someone please be kind enough to tell me what I should configure to get proper ligatures for the times font in the minimals distribution?
Cheers, Mike
\usetypescript[times][ec] \setupbodyfont[times,12pt]
\starttext
\input knuth \blank And this is some maths with PostScript fonts. \startformula {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}\!\!\! \sin^2(x)dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \sum_{k=1}^{\infty}{1 \over k^2} = {\pi^2 \over 6}. \stopformula Some ligatures: ffi, ffl.
\stoptext
Weird indeed ... The funny part is that I get two warnings (both of them are my faut since I don't have those files): pdfTeX warning: pdftex (file ec-urw-times.map): cannot open font map file fonts : using map file: ec-urw-helvetica pdfTeX warning: pdftex (file ec-urw-helvetica.map): cannot open font map file fonts : using map file: original-youngryu-tx and the output still looks fine (I get at least fi ligature, I'm not sure about the others.). It looks like a font problem to me, but not something that the user could misconfigure. (Old or wrong font files perhaps? I really have no clue.) The garden doesn't use the standalone distribution (but a fraction of TeX Live). Mojca I will try to investigate, but I don't promise anything. A quick workaround would be to use TeX Gyre instead.
Hi Mojca,
On Tue, 04 Dec 2007 08:59:29 -0700, Mojca Miklavec
I will try to investigate, but I don't promise anything. A quick workaround would be to use TeX Gyre instead.
Has a simple TeX-Gyre package for ConTeXt been released, or is TeX-Gyre now in the distribution? The last time I tried I spent too much time downloading/installing from GUST, struggling to get it to work, only two fonts worked, etc... I'm hoping/waiting for/till the mswincontext mkiv beta that will come with the approaching luatex beta but if there is any other info... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Thanks for the suggestion. Don't worry about looking further into this issue, I'm just going to use the texnansi times encoding instead of the ec encoding. I'm not going to spend to much time on fancy fonts for my documents until LuaTeX is ready for prime time. Cheers, Mike
participants (6)
-
Hans Hagen
-
Idris Samawi Hamid
-
luigi scarso
-
Mike Santy
-
Mojca Miklavec
-
Santy, Michael