no Type1 fonts in ConTeXt?
I used to use PostScript font under MacOSX
working with Gerben Wierda's tetex distributution.
The pfb tfm etc. files I put in the texmf tree
as Gerben suggested (~/Library/texmf)
Everything works fine with LaTeX.
Today I installed the uptodate ConTeXt files, followed by sudo
mktexlsr and sudo fmtutil --all,
and started experimenting.
But whenever I want to use something different then CM, for example with
\definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec]
\switchtotypeface [palatino] [12pt,rm]
\starttext
A test W test Q test R
\stoptext
I get only errors (see below).
What did I do wrong? Problems with the texmf paths?
What is the right way? Other commands for using PS fonts?
Thank you for any help,
Steffen Wolfrum
TeXExec 3.3 - ConTeXt / PRAGMA ADE 1997-2003
executable : pdfetex
format : cont-en
inputfile : test3
output : pdftex
interface : en
current mode : none
TeX run : 1
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./test3.tex{/Users/himmelblau/Library/texmf/pdftex/config/pdftex.cfg}
ConTeXt ver: 2003.8.21 fmt: 2003.8.31 int: english mes: english
language : language en is active
Hi Steffen,
From: "Steffen Wolfrum"
\definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec] \switchtotypeface [palatino] [12pt,rm] \starttext A test W test Q test R \stoptext
I get only errors (see below). ...
Running mktextfm ec-uplr8a .... kpathsea: Running mktexmf ec-uplr8a
! I can't find file `ec-uplr8a'.
Doing wrong? - You just did not install the fonts as Context wants them ... You might run tefont with the batch option and type-tmf in order to get the files with the prefix ec: texfont --encoding =ec --batchtype-tmf may be you need to edit type-tmf first, because you do not want all the fonts generated. I know this is one of the more tricky things to get running. For reading I would suggest you the following link: http://home.salamander.com/~wmcclain/context-help.html Success Willi
[I'm CC'ing you because I'm travelling and will probably bounce on the list.] Willi Egger said this at Sun, 31 Aug 2003 22:07:45 +0200:
Doing wrong? - You just did not install the fonts as Context wants them ... You might run tefont with the batch option and type-tmf in order to get the files with the prefix ec:
Steffen, I wouldn't suggest starting out with fonts via texfont, even though it's a very powerful tool (for more about using it, see http:// homepage.mac.com/atl/tex/ ). It's much better to start out using ConTeXt's built-in typescripts. Unfortunately, they're poorly documented. Fortunately, Bill McClain has started mapping them out. I found a few more combinations to add to Bill's, attached in the fragment of an HTML file. So for your example, try: \usetypescript[berry][ec] \setupbodyfont[ppl] \starttext A test W test Q test R \showfont[Serif] \stoptext Although I'm a MacOSX user, I use TeXLive instead of GWTeX, so Gerben's font installation may be slightly different. Email me off-list if you run into trouble with this, so we can investigate further... adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Hello Steffen,
Steffen Wolfrum
I get only errors (see below). What did I do wrong? Problems with the texmf paths?
As Willi pointed out, ConTeXt expects more than ships with tetex.
What is the right way? Other commands for using PS fonts?
say \usetypescript [adobekb][ec] at the beginning of your file. This will map the internal ConTeXt names into something that is usually installed with every TeX system (that ships the psnfss (LaTeX) bundle). Make sure you have psnfss installed. Patrick
participants (4)
-
Adam T. Lindsay
-
Patrick Gundlach
-
Steffen Wolfrum
-
Willi Egger