[OS X TeX] Installing a new Package

Bruno Voisin bvoisin at mac.com
Sat Jul 5 05:21:11 EDT 2008


Le 5 juil. 08 à 02:10, BenBehr a écrit :

> What i have done so far:
> - moved simsons.sty to ~/texmf-dist/tex/latex/simpsons/
> - moved bart.mf (and other *.mf) to ~/texmf-dist/fonts/source/public/ 
> simpsons/
> - moved simpsons.tfm to ~/texmf-dist/font/tfm/simpsons/
> - runing sudo texhash from the terminal
>
> [...]
>
> But i guet the following log in texmaker:
>
> Process started
> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+300/600 -- 
> dpi 900 simpsons
> mktexpk: No such file or directory kpathsea: Appending font creation  
> commands to missfont.log.
> Process exited normally

The log indicates simpsons.mf isn't seen.

Wait:

- TeXLive does include all the MetaFont sources for the Simpsons fonts  
already:

$ ls -l /usr/local/texlive/2007/texmf-dist/fonts/source/public/simpsons
total 104
-rw-r--r--  1 bvoisin  staff   3797 10 jan  2006 bart.mf
-rw-r--r--  1 bvoisin  staff   5759 10 jan  2006 burns.mf
-rw-r--r--  1 bvoisin  staff   4197 10 jan  2006 homer.mf
-rw-r--r--  1 bvoisin  staff   3445 10 jan  2006 lisa.mf
-rw-r--r--  1 bvoisin  staff   4646 10 jan  2006 maggie.mf
-rw-r--r--  1 bvoisin  staff   3937 10 jan  2006 marge.mf
-rw-r--r--  1 bvoisin  staff  10805 10 jan  2006 simpsons.mf
-rw-r--r--  1 bvoisin  staff   2463 10 jan  2006 snpp.mf

but no LaTeX style file simpsons.sty or any other file to go with them  
(the .tfm files are no problem, they are recreated on-the-fly for  
the .mf files when needed).

- The missing LaTeX style file simpsons.sty, an equivalent plain TeX  
macro file simpsons.tex and some doc files are available from the UK  
TUG area of CTAN at <http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/4_4/ 
 >, containing apparently the source files for an issue of a bulleting  
of UK TUG.

So, assuming that by installing the TeXLive distro you mean you  
installed MacTeX-2007 <http://www.tug.org/mactex/>, what you need to  
do is (after removing what you added in ~/texmf-dist which isn't in  
the TeX search path for MacTeX-2007):

- Retrieve from <http://tug.ctan.org/tex-archive/usergrps/uktug/baskervi/4_4/ 
 > the files:

bart.tex
chen.tex
family.tex
simpsons.doc
simpsons.sty
simpsons.tex

- Move to ~/Library/texmf/doc/fonts/simpsons (creating directories as  
needed):

chen.tex
simpsons.doc

-Move to ~/Library/texmf/doc/latex/simpsons:

bart.tex

- Move to ~/Library/texmf/doc/plain/simpsons:

family.tex

- Move to ~/Library/texmf/tex/latex/simpsons:

simpsons.sty

- Move to ~/Library/texmf/tex/plain/simpsons:

simpsons.tex

You're done!

As a check, you can typeset bart.tex with LaTeX and family.tex with  
plain TeX. Unfortunately, chen.tex cannot be typeset as is, it seems  
it's supposed to be called from bask4_4.tex using a special style file  
baskrep.sty.

I just tried, it all works here with MacTeX and TeXShop!

Bruno Voisin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bart.pdf
Type: application/pdf
Size: 8335 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20080705/66d2bd86/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: family.pdf
Type: application/pdf
Size: 36798 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20080705/66d2bd86/attachment-0001.pdf>


More information about the MacOSX-TeX mailing list