On 07.05.04, Fernando Perez wrote:
> I have some code which works perfectly OK in a Fedora box, yet is crashing
> when run on a RH9 machine. The final exception is:
> File "/home/fperez/usr/local/lib/python/pyx/dvifile.py", line 636, in
> raise RuntimeError("no information for font '%s' found in font mapping
> file, aborting" % name)
> RuntimeError: no information for font 'cmmi10' found in font mapping file,
> Both the RH9 and the Fedora boxes are heavily used for latex writing, so I
> know the fonts are there on both. I tried building PyX itself (I'm
> running 0.6.2) on both machines, and the results don't change.
> I would very much appreciate any pointers. I'm including a very detailed
> traceback below, in case it helps.
It's likely that the TeX installation on your RH9 box is configured to
use pk fonts by default instead of PostScript Type1 fonts. Take a look
to the PyX FAQ 4.3.6. It should guide you to the correct places to
look at and explain how to solve the problem.
by _ _ _ Dr. André Wobst
/ \ \ / ) wobsta@..., http://www.wobsta.de/
/ _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX
(_/ \_)_/\_/ visit http://pyx.sourceforge.net/