ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* no Type1 fonts in ConTeXt?
@ 2003-08-31 18:12 Steffen Wolfrum
  2003-08-31 20:07 ` Willi Egger
  2003-09-02 15:17 ` Patrick Gundlach
  0 siblings, 2 replies; 4+ messages in thread
From: Steffen Wolfrum @ 2003-08-31 18:12 UTC (permalink / raw)


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
<protectionstate 0>
system         : cont-new loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
  8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
system         : test3.top loaded
(./test3.top
specials       : loading definition file tpd
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-fdf.tex
<unprotect 3> <unprotect 4>
system (E-TEX) : [line 1907] \ifcsname
<protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
fonts          : [palatino] [rm] [serif] [palatino]
fonts          : [map] [ec] []
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex
pdftex         : needs map file: original-ams-cmr.map
pdftex         : needs map file: original-ams-euler.map
pdftex         : needs map file: ec-adobe-utopia.map
pdftex         : needs map file: ec-bit-charter.map
pdftex         : needs map file: ec-public-antp.map
pdftex         : needs map file: ec-public-antt.map
pdftex         : needs map file: ec-urw-bookman.map
pdftex         : needs map file: ec-urw-courier.map
pdftex         : needs map file: ec-urw-helvetica.map
pdftex         : needs map file: ec-urw-palatino.map
pdftex         : needs map file: ec-urw-times.map
pdftex         : needs map file: ec-urw-zapfchan.map
pdftex         : needs map file: original-youngryu-px.map
pdftex         : needs map file: original-youngryu-tx.map
pdftex         : needs map file: ec-bh-lucida.map
) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-akb.tex)
fonts          : [serif] [palatino] [name,default,ec,special]
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-akb.tex)
fonts          : [serif] [default] [size]
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-akb.tex)kpathsea: 
Running mktextfm ec-uplr8a
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map typeface 
abbreviation c- for ec-uplr8a.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update 
/usr/local/teTeX/share/texmf.tetex/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
nonstopmode; input ec-uplr8a
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf ec-uplr8a

! I can't find file `ec-uplr8a'.
<*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a

Please type another input file name
! Emergency stop.
<*> ...jfour; mag:=1; nonstopmode; input ec-uplr8a

Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input ec-uplr8a' failed.
kpathsea: Appending font creation commands to missfont.log.

! Font \*palatino12ptrmtf*:=ec-uplr8a at 12.0pt not loadable: Metric (TFM) file
  not found.
<to be read again>
                    \let
\xxdododefinefont ... {#4}\newfontidentifier \let
                                                   \localrelativefontsize \de...

\fontstrategy ...me \fontclass #2#3#4#5\endcsname
                                                   \tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
                                                   \fi \iftryingfont \fontstr...

\synchronizefont ...strategy \the \fontstrategies
                                                   \relax \fi \iftryingfont \...
<argument> \getvalue {\@style@ \fontstyle }
                                            \edef \fontstyle {\fontstyle }\if...
...
l.2 \switchtotypeface [palatino] [12pt,rm]

? X
No pages of output.
Transcript written on test3.log.

            return code : 256
               run time : 18 seconds

         total run time : 19 seconds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: no Type1 fonts in ConTeXt?
  2003-08-31 18:12 no Type1 fonts in ConTeXt? Steffen Wolfrum
@ 2003-08-31 20:07 ` Willi Egger
  2003-09-01  3:29   ` Adam T. Lindsay
  2003-09-02 15:17 ` Patrick Gundlach
  1 sibling, 1 reply; 4+ messages in thread
From: Willi Egger @ 2003-08-31 20:07 UTC (permalink / raw)



Hi Steffen,

From: "Steffen Wolfrum" <xmailings@estfiles.de>

> \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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: no Type1 fonts in ConTeXt?
  2003-08-31 20:07 ` Willi Egger
@ 2003-09-01  3:29   ` Adam T. Lindsay
  0 siblings, 0 replies; 4+ messages in thread
From: Adam T. Lindsay @ 2003-09-01  3:29 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]

[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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[-- Attachment #2: bill-fonts.html --]
[-- Type: text/html, Size: 6894 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: no Type1 fonts in ConTeXt?
  2003-08-31 18:12 no Type1 fonts in ConTeXt? Steffen Wolfrum
  2003-08-31 20:07 ` Willi Egger
@ 2003-09-02 15:17 ` Patrick Gundlach
  1 sibling, 0 replies; 4+ messages in thread
From: Patrick Gundlach @ 2003-09-02 15:17 UTC (permalink / raw)


Hello Steffen,


Steffen Wolfrum <xmailings@estfiles.de> writes:

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-02 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-31 18:12 no Type1 fonts in ConTeXt? Steffen Wolfrum
2003-08-31 20:07 ` Willi Egger
2003-09-01  3:29   ` Adam T. Lindsay
2003-09-02 15:17 ` Patrick Gundlach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).