Hello Viral,

On 23/06/10, viral brahmbhatt wrote:
OK, I summarize:
1. You have TeX installed, and TeX's search tool (kpsewhich) finds the
   psfonts.map.
2. PyX finds the psfonts.map

I do not expect that you linked PyX to the kpsathsea library
(something we should check later), PyX is calling kpsewhich directly.

> And finally this is the output for the program callingtex.py
> 
> Platform is darwin
> Python installation prefix is 
> /Library/Frameworks/Python.framework/Versions/2.5
> Python executable is /Applications/MacPython 
> 2.5/IDLE.app/Contents/MacOS/Python

The last line tells me that you are using the graphical interface
IDLE. Please run callingtex.py from a terminal and see if it works
there. I think that IDLE does not know how to call kpsewhich.

> PyX comes from 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pyx/__init__.pyc
> PyX version 0.10
> PyX pykpathsea python module used
> 
> "        echo $0 \"$*\"" -->  /bin/sh ""
> "           echo $SHELL" -->  /bin/bash
> "   echo $BASH_SUBSHELL" -->  0
> "               echo $-" -->  hBc
> "             echo $ENV" -->
> "        echo $BASH_ENV" -->
> "        echo $TEXMFCNF" -->
> "               echo $_" -->  /bin/sh
> "            echo $PATH" -->  /usr/bin:/bin:/usr/sbin:/sbin
> "       which kpsewhich" --> 

The last line says that your Python interpreter (IDLE ?) does not
find kpsewhich. The pb should be resolved by calling it from the
terminal. (Take this as a general hint from someone who is _always_
using the terminal ;-))

Cordialement,
  Michael

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to