[NTG-context] How to cook Garamond

Peter Münster pmlists at free.fr
Sun Apr 3 10:12:45 CEST 2005


On Sat, 2 Apr 2005, Idris Samawi Hamid wrote:

> 3. from /temp>, run
> 
> texfont --ma --in --ve=urw --co=garamond --show

Hello Idris,
with this command, I get the following error (I'm using teTeX-3.0):
processing aborted : unknown tex root

Then I tried
texfont --fontroot=/opt/teTeX/texmf-dist/fonts --ma --in --ve=urw
--co=garamond --show

This produces the following error:
(/opt/teTeX/texmf-dist/tex/context/base/s-fnt-01.tex)
kpathsea: Running mktextfm texnansi-ugmm8a
mktextfm: Running mf-nowin -progname=mf \mode:=ljfzzz; mag:=1;
nonstopmode; input texnansi-ugmm8a
This is METAFONT, Version 2.71828 (Web2C 7.5.4)

kpathsea: Running mktexmf texnansi-ugmm8a
! I can't find file `texnansi-ugmm8a'.

So I tried step 4:

> 4. If texfont does not work, you will have to do more work-> the zip package 
> contains tfms etc, and here is a map file you will need:

I installed this mapfile in /opt/teTeX/texmf-dist/fonts/map/pdftex/context

> % You need to add the following line to pdftex.cfg:
> %
> %   map +texnansi-urw-garamond.map
> %
> % Alternatively in your TeX source you can say:
> %
> %   \pdf    {+texnansi-urw-garamond.map}

I suppose, you mean \pdfmapfile

> % In ConTeXt you can best use:
> %
> %   \loadmapfile[texnansi-urw-garamond.map]

Neither of these 3 possibilities work, I get always the same error with
your test file:
(/opt/teTeX/texmf-dist/tex/context/base/type-akb.tex) (./type-ugm.tex)
kpathsea: Running mktextfm texnansi-ugmr8a
mktextfm: Running mf-nowin -progname=mf \mode:=ljfzzz; mag:=1;
nonstopmode; input texnansi-ugmr8a
This is METAFONT, Version 2.71828 (Web2C 7.5.4)

kpathsea: Running mktexmf texnansi-ugmr8a
! I can't find file `texnansi-ugmr8a'.

Perhaps I have to rename the tfm files?

No problem with LaTeX:
\documentclass{article}
\renewcommand{\rmdefault}{ugm}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\begin{document}
\input knuth
\end{document}

Do you have any idea, what could be wrong on my system?

TIA for any help!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/


More information about the ntg-context mailing list