Hi to all,
I'm struggling with a classic problem, but I wasn't able to solve it
looking at mailing list archive nor faq.
As I have:
Traceback (most recent call last):
File "/downloads/PyX-0.9/examples/hello.py", line 4, in <module>
c.text(0, 0, "Hello, world!")
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pyx/canvas.py", line 308, in text
return self.insert(self.texrunner.text(x, y, atext, *args,
**kwargs))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pyx/text.py", line 1197, in text
self.execute(expr, self.defaulttexmessagesdefaultrun +
self.texmessagesdefaultrun + texmessages)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pyx/text.py", line 897, in execute
self.fontmap = dvifile.readfontmap(self.fontmaps.split())
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pyx/dvifile.py", line 386, in readfontmap
raise RuntimeError("cannot find font mapping file '%s'" % filename)
RuntimeError: cannot find font mapping file 'psfonts.map'
I first added this
text.set(fontmaps="psfonts.cmz")
which solved any problems on my previous mac (10.3.9, with Gerben
Wierda's distro)
Now my TeX installation is a recent MacTeX (I'm on 10.4.9 intel) and
works perfectly.
So I added
text.set(fontmaps="psfonts.map psfonts.cmz psfonts.amz")
As suggested by the faq. No improvement.
testig with TeX installation:
andrea-valles-computer:~ andreavalle$ kpsewhich cmr10.pfb
/usr/local/texlive/2007/texmf-dist/fonts/type1/bluesky/cm/cmr10.pfb
More:
andrea-valles-computer:~ andreavalle$ kpsewhich psfonts.map
/usr/local/texlive/2007/texmf-var/fonts/map/dvips/updmap/psfonts.map
I've also modified the pyxrc I found, as suggested by faq, but no way.
Any help is greatly appreciated
Thanks
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--------------------------------------------------
I did this interview where I just mentioned that I read Foucault.
Who doesn't in university, right? I was in this strip club giving
this guy a lap dance and all he wanted to do was to discuss Foucault
with me. Well, I can stand naked and do my little dance, or I can
discuss Foucault, but not at the same time; too much information.
(Annabel Chong)
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--------------------------------------------------
I did this interview where I just mentioned that I read Foucault.
Who doesn't in university, right? I was in this strip club giving
this guy a lap dance and all he wanted to do was to discuss Foucault
with me. Well, I can stand naked and do my little dance, or I can
discuss Foucault, but not at the same time; too much information.
(Annabel Chong)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user