[comp.text] Possible TeX bug. Help!

gsg0384@uxa.cso.uiuc.edu (10/20/89)

Hi,
I've got a really strange TeX error.  while it was LaTeX-processing jqe.tex,
it apparently looked for `amcsc10' rather than `cmcsc10' for the text under
table environment.
Of course, I am using CM fonts exclusively.
Here is the session log which shows TeX error and the tfm fonts directory.

--------------------------------------
ardent2 jqe.d	204% more jqe.tex
	:
	:[blah-blah-blah]
	:
In table I, such functions are shown for reference.\\

\begin{table*}
\protect\footnotesize
	\caption{\protect\footnotesize ${\rm Al}_x{\rm Ga}_{1-x}$As \sc Characteristics}
	\begin{tabular}{lll} \hline\hline
	:
	: [blah-blah-blah]
	:
ardent2	jqe.d	205% latex jqe
	:
	: [blah-blah-blah]
	:
Underfull \hbox (badness 10000) in paragraph at lines 351--359

! Font \\psc\@viiipt=amcsc10 scaled 800 not loadable: Metric (TFM) file not found.
<to be read again>
                   \relax
<argument> ...endcsname amcsc10 \@ptscale 8\relax
                                                  \@addfontinfo \@viiipt {\t...

\@ifundefined ...fx \csname #1\endcsname \relax #2
                                                  \else #3\fi
\@getfont ... \string #1\string #3\endcsname }}}{}
                                                  #3#1
<argument> ...ze ${\rm Al}_x{\rm Ga}_{1-x}$As \sc
                                                  Characteristics
\@makecaption ... \setbox \@tempboxa \hbox {#1: #2
                                                  } \ifdim \wd \@tempboxa >\...

\@caption ...fnum@#1\endcsname }{\ignorespaces #3}
                                                  \par \endgroup
l.362 ...}_x{\rm Ga}_{1-x}$As \sc Characteristics}

? X
Output written on jqe.dvi (2 pages, 15900 bytes).
Transcript written on jqe.log.
ardent2 jqe.d   206% cd /opt/tex/fonts
ardent2 fonts   207% ls
./               cmmi9.tfm        cmssi8.tfm       icmex10.tfm
../              cmmib10.tfm      cmssi9.tfm       icmmi8.tfm
cmb10.tfm        cmr10.tfm        cmssq8.tfm       icmsy8.tfm
cmbsy10.tfm      cmr12.tfm        cmssqi8.tfm      icmtt8.tfm
cmbx10.tfm       cmr17.tfm        cmsy10.tfm       ilasy8.tfm
cmbx12.tfm       cmr5.tfm         cmsy5.tfm        ilcmss8.tfm
cmbx5.tfm        cmr6.tfm         cmsy6.tfm        ilcmssb8.tfm
cmbx6.tfm        cmr7.tfm         cmsy7.tfm        ilcmssi8.tfm
cmbx7.tfm        cmr8.tfm         cmsy8.tfm        lasy10.tfm
cmbx8.tfm        cmr9.tfm         cmsy9.tfm        lasy5.tfm
cmbx9.tfm        cmsa10.tfm       cmtcsc10.tfm     lasy6.tfm
cmbxsl10.tfm     cmsl10.tfm       cmtex10.tfm      lasy7.tfm
cmbxti10.tfm     cmsl12.tfm       cmtex8.tfm       lasy8.tfm
cmcsc10.tfm      cmsl8.tfm        cmtex9.tfm       lasy9.tfm
cmdunh10.tfm     cmsl9.tfm        cmti10.tfm       lasyb10.tfm
cmex10.tfm       cmsltt10.tfm     cmti12.tfm       lcircle10.tfm
cmff10.tfm       cmss10.tfm       cmti7.tfm        lcirclew10.tfm
cmfib8.tfm       cmss12.tfm       cmti8.tfm        lcmss8.tfm
cminch.tfm       cmss17.tfm       cmti9.tfm        lcmssb8.tfm
cmitt10.tfm      cmss8.tfm        cmtt10.tfm       lcmssi8.tfm
cmmi10.tfm       cmss9.tfm        cmtt12.tfm       line10.tfm
cmmi12.tfm       cmssbx10.tfm     cmtt8.tfm        linew10.tfm
cmmi5.tfm        cmssdc10.tfm     cmtt9.tfm        manfnt.tfm
cmmi6.tfm        cmssi10.tfm      cmu10.tfm        old_manfnt.tfm
cmmi7.tfm        cmssi12.tfm      cmvtt10.tfm
cmmi8.tfm        cmssi17.tfm      dummy.tfm
ardent2 fonts   208%

-----------------------------Session log end

Is this the last bug in TeX?
Please help.

	Hugh	gsg0384@uxa.cso.uiuc.edu

chris@mimsy.umd.edu (Chris Torek) (10/20/89)

In article <113600012@uxa.cso.uiuc.edu> gsg0384@uxa.cso.uiuc.edu writes:
>[LaTeX] apparently looked for `amcsc10' rather than `cmcsc10' for the
>text under table environment.
>Of course, I am using CM fonts exclusively.

No, you are not: you just *think* you are.

First, find `lfonts.tex' (part of the LaTeX format package, it is
read by lplain.tex when building lplain.fmt).  Then search the file
for the word `KLUDGE'.  The very first instance is near the top:

	% This file contains the following kludge: 8pt and 9pt versions
	% of \sc call magnifications of amcsc10 instead of cmcsc10.
	% Search for KLUDGE to find for both instances.

It is easy enough to change the `amcsc10 \@ptscale8' and `amcsc10
\@ptscale9' lines to `cmcsc10 \@ptscale8' and `cmcsc10 \@ptscale9',
although you will then need GF or PK files corresponding to these
downscaled cmcsc10 fonts.  This is still a kludge, since there
really should be a cmcsc8 and cmcsc9---but for that you have to do
much more work.

(No one has yet explained the *purpose* of the kludge in TeXhax,
although the question came up some time ago.)
-- 
`They were supposed to be green.'
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris@cs.umd.edu	Path:	uunet!mimsy!chris

dhosek@jarthur.Claremont.EDU (Don Hosek) (10/20/89)

The problem encountered is due to using an old version of lfonts.tex
which for 8 and 9 point caps-small caps fonts used scaled versions of
amcsc10. The current lfonts.tex uses cmcsc10 at 8pt and cmcsc10 at 9pt.
A copy may be obtained from hmcvax.claremont.edu in the directory
TeX_Root:[Inputs.LaTeX] via anonymous FTP.

-dh
-- 
Don Hosek            | Internet: DHOSEK@HMCVAX.CLAREMONT.EDU
                     | Bitnet: DHOSEK@HMCVAX.BITNET
                     | Phone: 714-920-0655
(I used to be a Mudder, but I got better)

weening@Gang-of-Four.Stanford.EDU (Joe Weening) (10/20/89)

In article <20287@mimsy.umd.edu> chris@mimsy.umd.edu (Chris Torek) writes:
   It is easy enough to change the `amcsc10 \@ptscale8' and `amcsc10
   \@ptscale9' lines to `cmcsc10 \@ptscale8' and `cmcsc10 \@ptscale9',
   although you will then need GF or PK files corresponding to these
   downscaled cmcsc10 fonts.  This is still a kludge, since there
   really should be a cmcsc8 and cmcsc9---but for that you have to do
   much more work.

I started on this over a year ago, actually, and got mostly finished
but had to stop.  The characters look OK but some work needs to be
done on the spacing between various pairs of characters.  Font design
is harder than I thought, even when the hard parts had already been
done!  If anyone wants to help, let me know, otherwise I'll try to
finish it soon.

   (No one has yet explained the *purpose* of the kludge in TeXhax,
   although the question came up some time ago.)

As I heard it, the conversion from AM to CM fonts was done on a system
that didn't have cmcsc10 scaled at .8 and .9 (which are quite non-
standard sizes), and that system also didn't have an easy way to
create new fonts at the time.  So there's really just an excuse, not a
reason for the kludge, and for now it is best to generate cmcsc10 at
the appropriate sizes with Metafont.
--
Joe Weening                                Computer Science Dept.
weening@Gang-of-Four.Stanford.EDU          Stanford University