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
>
> [text]
> pdffontmaps=fourier.map
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:
[text]
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
comparison...
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
item...
Best,
Jörg
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user