[OS X TeX] package igo

Bruno Voisin bvoisin at mac.com
Sun Apr 13 07:48:47 CEST 2008


Le 12 avr. 08 à 18:39, Christian Böhringer a écrit :

> I installed the package from CTAN into /usr/local/texlive/2007/texmf- 
> dist/tex/latex/igo.
>
> [...]
>
> I always get error messages that the igo10 font file cannot be  
> found.  <log.rtf>
>
> To remedy this I tried the following without success:
>
> - I ran mktextfm on all the *.mf files and copied the resulting  
> *.tfm files to /usr/local/texlive/2007/texmf-dist/fonts/tfm/public/ 
> igo.
>
> - I copied the *.mf files to /usr/local/texlive/2007/texmf-dist/ 
> fonts/source/public/igo
>
> Does anybody know how to install this package correctly?

I don't see anything basically wrong in the locations you chose,  
except that you should never touch /usr/local/texlive/2007/texmf- 
dist/. Install in /usr/local/texlive/texmf-local (system-wide  
installation) or ~/Library/texmf (user-specific installation).

The only explanation I can see for your problem is that you didn't run  
"sudo mktexlsr" or "sudo texhash" (mktexlsr is texhash's new name)  
after putting the files in place.

> Here is what I'm trying to typeset:
>
> %%!TEX TS-program=latex
>
> \documentclass[a4paper]{article}
> \usepackage{igo}
>
> \white[\igonone]{q3,q5,p5,p6,p4,q7}
> \showgoban[m1,t8]
> \white[6]r5,r6,s5,n6,m4}
> \showgoban

What I just tried:

- Put igo.sty in ~/Library/texmf/tex/latex/igo. Don't install  
repeat.tex, there's a newer version 0.93a in TeXLive already at /usr/ 
local/texlive/2007/texmf-dist/tex/generic/eijkhout/repeat.tex,  
modified by its original author Victor Eijkhout, while the repeat.tex  
provided with igo is an older unofficial version modified by the  
author of igo (Étienne Dupuis).

- Put all *.mf files in ~/Library/texmf/fonts/source/public/igo.

- Put doc files in ~/Library/texmf/doc/fonts/igo, namely:

README
igo.pdf
igo.tex
russian/igo-ru.pdf
russian/igo-ru.tex

- Then run your example after adding missing \begin{document} and  
\end{document}, and a missing { in the second \white command.

Things work without any problem afterwards. So I really think that's a  
missing "sudo mktexlsr" in your case (given you installed inside /usr/ 
local/texlive, which needs running mktexlsr afterwards for kpsewhich  
to know that pieces after been added, moved or removed).

Bruno Voisin


More information about the macostex-archives mailing list