pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Font problem while running LaTeX



2015-04-13 16:36 GMT+02:00  <carsten.kunze%arcor.de@localhost>:
> I got the following error while running latex:
>
> kpathsea: Running mktextfm ecrm1095
> /usr/pkg/share/texmf-dist/web2c/mktexnam: Could not map source abbreviation  for ecrm1095.
> /usr/pkg/share/texmf-dist/web2c/mktexnam: Need to update ?
> mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1095
> This is METAFONT, Version 2.718281 (Web2C 2013)
>
> kpathsea: Running mktexfmt mf.base
> I can't find the base file `mf.base'!
> grep: ecrm1095.log: No such file or directory
> mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1095' failed to make ecrm1095.tfm.
> kpathsea: Appending font creation commands to missfont.log.
>
> ! Font T1/cmr/m/n/10.95=ecrm1095 at 10.95pt not loadable: Metric (TFM) file not
>  found.
> <to be read again>
>                    relax
> l.100 \fontencoding\encodingdefault\selectfont
>
> ?

MetaFont is trying to generate PK bitmap font files for the EC font,
and it's failing because it can't find the EC font (which is a
MetaFont font).

In general, the use of MetaFont is discouraged these days, because the
generated PK fonts are resolution-dependent (in your case, it's trying
to generate the appropriate resolution for an old HP LaserJet 4 -- see
"\mode:=ljfour"). For this reason, it's better to use Type 1 fonts.

As Greg said, your installation is probably just incomplete.

C.


Home | Main Index | Thread Index | Old Index