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

Bug#354549: tetex-base: fails to build cmsc10.tfm



Hello,

Philippe Preux <philippe.preux@univ-lille3.fr> wrote:

> It seems that there is something wrong with \textsc and fonts
> cmsc10 and cmcsc10...

It seems there may be something wrong with your LaTeX format...


> ##################################
> minimal input file
>
> \documentclass{article}
> \begin{document}
> \textsc{sdfkjhd}
> \end{document}
>
> ##################################

Thanks for providing this example. It works perfectly here.

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

There is no such file as cmsc10.tfm on my system either (nor cmsc10.mf).
The file that should be loaded is cmcsc10.tfm instead. Looks like a
typo.

Normally, the file base name to use should be looked up in ot1cmr10.fd
and you should have:

% kpsewhich ot1cmr.fd
/usr/share/texmf-tetex/tex/latex/base/ot1cmr.fd

Looking in that file, you should see the stanza:

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

which declares that cmcsc10 is to be used when the user requests the
font {OT1}{cmr}{m}{sc} (which was the case in your minimal example).

If anything of this doesn't match on your system, please tell us.

However, a Google Groups search shows that a similar question was posted
on comp.text.tex last year[1], where Ralf Stubner added:

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

which would imply that the problem in this particular case doesn't lie
in the .fd file but instead in the LaTeX format. Therefore, you should
probably rebuild this format with (as root) 'fmtutil-sys --all' but
please make sure everything is clear on the .fd side of things before
doing so, so that we don't miss anything wrong.


  [1] http://groups.google.com/group/comp.text.tex/browse_frm/thread/a1ab0fccf4527188/56e29d3f7242a605?lnk=st&q=cmsc10&rnum=6#56e29d3f7242a605

-- 
Florent




Reply to: