Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

missing font file problem

3 views
Skip to first unread message

clemence...@shs.polytechnique.fr

unread,
May 4, 2005, 10:30:22 AM5/4/05
to
Hi all,

I have searched an answer to my question in the archives of this
newsgroup but did not find an answer.
My latest latex installation is unable to produce small caps (\textsc
command). When I try to compile any file containing a \textsc command,
it stops at it with the following error (I reproduce only the end of
it):

! Font OT1/cmr/m/sc/10=cmsc10 at 10.0pt not loadable: Metric (TFM) file
not found.

I have figured from the answers to similar questions that the program
looks for a cmsc10.tfm file.
As far as I can tell it's not on my computer (I have used the locate
command to locate all files with tfm suffix).

Am I supposed to have this file on my computer, and if so, where can I
find it (a google search on this file name gave no result)? Or is it
another kind of problem?

I'm using tetex 3.0-1 installed through fink
(http://fink.sourceforge.net) on a macintosh with operating system mac
OS 10.3.

Thanks,
Clemence

Ralf Stubner

unread,
May 4, 2005, 10:42:44 AM5/4/05
to
<clemence...@shs.polytechnique.fr> writes:

> ! Font OT1/cmr/m/sc/10=cmsc10 at 10.0pt not loadable: Metric (TFM) file
> not found.

Actually, TeX should be looking for cmcsc10.tfm here, not cmsc10.tfm. Is
this a typo? Otherwise, this looks like an error in the fd file
(ot1cmr.fd to be precise).

> As far as I can tell it's not on my computer (I have used the locate
> command to locate all files with tfm suffix).

kpsewhich and kpsewhere are your friends when trying to find TeX related
files.

cheerio
ralf

clemence...@shs.polytechnique.fr

unread,
May 4, 2005, 11:00:25 AM5/4/05
to
No, it's not a typo, TeX is really trying to find cmsc10.tfm.
I have located the ot1cmr.fd file, but its content is unintellegible to
me. Is it a file I can modify myself or do you think it is a problem
with my distribution of latex?

I don't kow anything about kpsewhere and kpsewhich, but using them with
just 'cmcsc10.tfm' gives an answer, but they give nothing on
'cmsc10.tfm'.

Thanks,
Clemence

Morten Høgholm

unread,
May 4, 2005, 11:11:19 AM5/4/05
to
On Wed, 04 May 2005 17:00:25 +0200, clemence...@shs.polytechnique.fr
<clemence...@shs.polytechnique.fr> wrote:

> No, it's not a typo, TeX is really trying to find cmsc10.tfm.
> I have located the ot1cmr.fd file, but its content is unintellegible to
> me. Is it a file I can modify myself or do you think it is a problem
> with my distribution of latex?

It's a generated file and in particular it should contain lines like these

\DeclareFontShape{OT1}{cmr}{m}{sc}%
{%
<5><6><7><8><9><10><10.95><12>%
<14.4><17.28><20.74><24.88>cmcsc10%
}{}

If it does not contain this snippet then someone has been tampering with!
I'd like to know who actually.
--
Morten Høgholm
My armpits may be smelly but my is address not.
UK-TUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>

clemence...@shs.polytechnique.fr

unread,
May 4, 2005, 11:25:06 AM5/4/05
to
The lines

\DeclareFontShape{OT1}{cmr}{m}{sc}%
{%
<5><6><7><8><9><10><10.95><12>%
<14.4><17.28><20.74><24.88>cmcsc10%
}{}
(copied from the file) are present in my standard ot1cmr.fd file.

I do have anohter, non-standard ot1cmr.fd file, containing the lines


\DeclareFontShape{OT1}{cmr}{m}{sc}%

{<-> cmsc10}{}
but TeX should not be able to find it, and renaming it does not solve
the problem.

I think this second file might be the cause of the problem, but I don't
know how to solve it if renaming it doesn't change anything?

Clemence

Morten Høgholm

unread,
May 4, 2005, 11:39:25 AM5/4/05
to
On Wed, 04 May 2005 17:25:06 +0200, clemence...@shs.polytechnique.fr
<clemence...@shs.polytechnique.fr> wrote:

> I do have anohter, non-standard ot1cmr.fd file, containing the lines
> \DeclareFontShape{OT1}{cmr}{m}{sc}%
> {<-> cmsc10}{}
> but TeX should not be able to find it, and renaming it does not solve
> the problem.

Well it is apparently able to find it somehow - or maybe you have yet
another one lying around. Your system should not come with such modified
files so it must be something you've made yourself. You should delete that
file since it's purpose seems to be to make the font freely scalable.
However the base LaTeX distribution comes with a "fix-cm" package that
handles this and is to be preferred (and hasn't got this typo).

Ralf Stubner

unread,
May 4, 2005, 11:39:02 AM5/4/05
to
<clemence...@shs.polytechnique.fr> writes:

> I think this second file might be the cause of the problem, but I don't
> know how to solve it if renaming it doesn't change anything?

IIRC the fd files for CM are build into the LateX format itself. So I
would guess that your nonstandard (and incorrect) fd file was visible
to TeX and the time the formats where created. Recreating the formats
should solve your problems.

cheerio
ralf

Morten Høgholm

unread,
May 4, 2005, 11:40:50 AM5/4/05
to
On Wed, 04 May 2005 17:39:02 +0200, Ralf Stubner
<ralf.s...@physik.uni-erlangen.de> wrote:

> IIRC the fd files for CM are build into the LateX format itself.

Ah yes, I forgot that. Thanks.

clemence...@shs.polytechnique.fr

unread,
May 4, 2005, 12:08:12 PM5/4/05
to
> Recreating the formats
> should solve your problems.

OK, I can understand that.
If explaining me how to recreate the formats is not to painful, I would
appreciate, otherwise I think I can find out on my own.

Thanks for the help,
Clemence

Ralf Stubner

unread,
May 4, 2005, 12:15:17 PM5/4/05
to
<clemence...@shs.polytechnique.fr> writes:

> If explaining me how to recreate the formats is not to painful, I would
> appreciate, otherwise I think I can find out on my own.

fmtutil-sys --all

should do the trick. See the man page for details.

cheerio
ralf

clemence...@shs.polytechnique.fr

unread,
May 4, 2005, 12:22:09 PM5/4/05
to
This worked perfectly! :)

Thanks a lot for your help.
Clemence

Donald Arseneau

unread,
May 4, 2005, 4:47:27 PM5/4/05
to
=?windows-1252?Q?Morten_H=F8gholm?= <moho...@smelly.student.cbs.dk> writes:

> file since it's purpose seems to be to make the font freely scalable.
> However the base LaTeX distribution comes with a "fix-cm" package that
> handles this

So the normal is to have fixed sizes of cm, but I can use "fix-cm"
to enable free scaling. How droll.


--
Donald Arseneau as...@triumf.ca :-)

Morten Høgholm

unread,
May 4, 2005, 4:48:03 PM5/4/05
to
On Wed, 04 May 2005 22:47:27 +0200, Donald Arseneau <as...@triumf.ca> wrote:

> So the normal is to have fixed sizes of cm, but I can use "fix-cm"
> to enable free scaling. How droll.

Droll indeed. But I think the original plan was also to "fix the cm
families so they don't use those butt ugly big design sizes of the ec
fonts". Unfortunately this very appropriate name would have broken the 8.3
convention that some people are so fond of even if the spaces had been
replaced by dashes.

0 new messages