From: Andre W. <wo...@us...> - 2004-06-02 13:58:36
|
Hi, On 02.06.04, Serban Udrea wrote: > And thank everybody who answered my question. Finally I got hello.py to > work and succeeded to find also the psfonts.map file in the TeTeX > directory tree. Nevertheless, the final solution was to set the > environment variable TEXMF to "/usr/share/texmf/". This obsoleted the > need for .pyxrc. Without setting it things still did not work, even with > proper setting of fontmaps in .pyxrc. This time the error message was > complaining about cmr10.tfm not beeing found. Have you tried "kpsewhich cmr10.tfm" without and with setting the TEXMF environment variable? If it does make a difference, you probably use kpsewhich which tries to access a different path layout than you currently use. Usually it should not be necessary to specify some texmf search path configurations by environment variables. Or you would encounter the same problem with LaTeX and Co. In case TeX/LaTeX/dvips etc. works fine, it might be, that those are from a different TeX/LaTeX installation than the kpsewhich which PyX accesses. It even might be that you have several versions of kpsewhich/libkpathsea around on your system. André -- by _ _ _ Dr. André Wobst / \ \ / ) wo...@us..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX (_/ \_)_/\_/ visit http://pyx.sourceforge.net/ |