Workaround for: [OS X TeX] Major path puzzlement

Gerben Wierda Gerben.Wierda at
Tue May 11 14:16:02 EDT 2004

On May 11, 2004, at 19:53, Stephen Moye wrote:

> After some work, I think that I am now back to square one -- the $PATH  
> looks better (even to me :>}), and kpsewhich now finds texnansx.enc.  
> The problem that otftotfm still cannot find texnansx.enc remains:
> admin 1:36pm /% echo $PATH
> /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin/ 
> powerpc-apple-darwin-current
> admin 1:37pm /% kpsewhich texnansx.enc
> /usr/local/teTeX/share/texmf.tetex/dvips/base/texnansx.enc
> admin 1:39pm /% cd /Type_Collection/Adobe\ Font\ Folio\ OTE/Western\  
> Fonts/Brush\ Script\ Std
> admin 1:42pm /<3>Brush Script Std% ls
> BrushScriptStd.otf
> admin 1:42pm /<3>Brush Script Std% otftotfm -a -e texnansx.enc  
> BrushScriptStd.otf -fkern Brush
> otftotfm: encoding 'texnansx.enc' not found
> admin 1:43pm /<3>Brush Script Std% otftotfm -a -e texnansx  
> BrushScriptStd.otf -fkern Brush
> otftotfm: encoding 'texnansx' not found
> admin 1:44pm /<3>Brush Script Std%
> I'm stymied.

I have looked a bit into this and the situation is as follows:

otftotfm can use kpathsea and it looks for a texmf.cnf file to read. It  
does not find /usr/local/teTeX/texmf.cnf as this is not built into  
otftotfm. Copying /usr/local/teTeX/texmf.cnf to a location where the  
type tools can find it does not solve it because my texmf.cnf contains  
relative path statements to make my TeX distribution relocatable while  
still having (nothing I can do about that) fixed compiled in default  

I know a workaround. If you move your LCDF typetools to  
/usr/local/teTeX/bin/powerpc-apple-darwin-current they will be able to  
find the correct texmf.cnf and then they will be able to find the  
requested file.


Please see <> for list
guidelines, information, and LaTeX/TeX resources.

More information about the MacOSX-TeX mailing list