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
> ! 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
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
> 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>
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
> 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).
> 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
> IIRC the fd files for CM are build into the LateX format itself.
Ah yes, I forgot that. Thanks.
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
> 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
Thanks a lot for your help.
Clemence
> 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 :-)
> 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.