On 23.03.09, Gert Ingold wrote:
> Dear Jörg,
> > Sorry, I was a bit imprecise. I meant that the code has changed in
> > the (not yet released) version found in the Subversion repository.
> > Only there, the configuration option I referred to is evaluated at all.
> ok, I switched to r3004. Then, I am getting an exception from the
> configuration parser. The end of the error messages reads:
> File "/home/gert/pyx-svn/pyx/pdfwriter.py", line 327, in getfontmap
> fontmapfiles = config.getlist("text", "pdffontmaps", ["pdftex.map"])
> File "/home/gert/pyx-svn/pyx/config.py", line 60, in getlist
> return [config.get(section, option) for option in options]
> File "/usr/lib/python2.5/ConfigParser.py", line 520, in get
> raise NoOptionError(option, section)
> ConfigParser.NoOptionError: No option 'fourier.map' in
> section: 'text'
> for a local .pyxrc containing
Sorry, there was a bug in the config file parser which I justed fixed in
revision 3005. Btw, you also have to specify the standard pdftex
mapping file, i.e., the lines should read:
pdffontmaps: pdftex.map fourier.map
I finally got around trying it (I didn't have fourier installed) and
it looks like the problem has not been fixed. But I also get
strange font warnings when compiling the LaTeX file you sent for
Anyway, there's probably a problem in somewhere in PyX's dvi handling.
Unfortunately that part is not yet really optimal, and it's not
something to be fixed in a couple of minutes. So, I'll add a TODO