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

Re: adding .tmf files to tex



Antti-Juhani wrote,

> On Mon, Oct 26, 1998 at 05:30:18PM -0600, Richard E. Hawkins Esq. wrote:
> [.tfm files]
> > But how in the world do I get latex to recognize these?  I see a
> > number of places I can put them,

> Put them in a subdirectory of /usr/local/lib/texmf/fonts/tfm/ (IIRC)
> and run texhash as root.

Thanks, this and figuring out to do the same things with the *pk files 
gets me almost there.

I also found that, the man pages notwithstanding, it is necessary to 
use both -R and -X in ps2pk to get a non-300 output.

Now I seem to be down to one minor detail:  ps2pk produces files of the 
form fontname<size>.1800pk, whereas dvi seems to want to drop that 
<size>, which would suggest a single file for all font sizes.  From 
xdvi, I get 
eyryttyp0:hawk>xdvi test
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 3+0/600 --dpi 1800 muriel
mktexpk: Running mf \mode:=ljfour; mag:=3+0/600; nonstopmode; input muriel
This is METAFONT, Version 2.718 (Web2C 7.2)

kpathsea: Running mktexmf  muriel
! I can't find file `muriel'.
<*> ...ur; mag:=3+0/600; nonstopmode; input muriel
                                                  
Please type another input file name
! Emergency stop.
<*> ...ur; mag:=3+0/600; nonstopmode; input muriel
                                                  
Transcript written on mfput.log.
mktexpk: `mf \mode:=ljfour; mag:=3+0/600; nonstopmode; input muriel' failed.
kpathsea: Appending font creation commands to missfont.log.
xdvi.bin: Can't find font muriel.1800pk
xdvi.bin: Not all pixel files were found





and from dvips I get

eyryttyp0:hawk>dvips text
This is dvips(k) 5.78 Copyright 1998 Radical Eye Software (www.radicaleye.com)
dvips: ! DVI file can't be opened.
eyryttyp0:hawk>dvips tes
test.aux        test.log        test.tex        test/           
test.dvi        test.ps         test.tex~       testgnuplot.gp  
eyryttyp0:hawk>dvips test
This is dvips(k) 5.78 Copyright 1998 Radical Eye Software (www.radicaleye.com)
' TeX output 1998.10.26:2049' -> |lpr
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 3+0/600 --dpi 1800 muriel
mktexpk: Running mf \mode:=ljfour; mag:=3+0/600; nonstopmode; input muriel
This is METAFONT, Version 2.718 (Web2C 7.2)

kpathsea: Running mktexmf  muriel
! I can't find file `muriel'.
<*> ...ur; mag:=3+0/600; nonstopmode; input muriel
                                                  
Please type another input file name
! Emergency stop.
<*> ...ur; mag:=3+0/600; nonstopmode; input muriel
                                                  
Transcript written on mfput.log.
mktexpk: `mf \mode:=ljfour; mag:=3+0/600; nonstopmode; input muriel' failed.
kpathsea: Appending font creation commands to missfont.log.
dvips: Font muriel not found,  using cmr10 instead.
dvips: Checksum mismatch in font muriel
<texc.pro><8r.enc><texps.pro>. [1] 
eyryttyp0:hawk>

my latex file is


\documentclass{letter}
\newfont {\richard}{pzcmi7t at  30.0pt}
\newfont {\murielfont}{muriel at  30.0pt}
\begin{document}
\richard
This should be in Richard.\\
\murielfont
This should be in muriel
\end{document}

I created my stuff from muriel by copying muriel.pfb to a local 
directory, then

getafm muriel.pfb > muriel.afm
afm2tfm muriel
ps2pk -R1800 -X1800 -P30 muriel

then copying the resulting files to /usr/local/lib/texmf/fonts/<type/
rickmade

then runnign texhash.

Am I doing somethign wrong, or missing a step?

And it seems that there ought to be a utility that simply takes 
postscript fonts and does this stuff . . .

thanks

rick



-- 



Reply to: