Hallo,
I have one script, which uses

pyx.text.preamble(r"\usepackage[utf8]{inputenc}")
and otheres packages

on unix (linux), this works without problems. But on windows, the script failes:

Traceback (most recent call last):
  File "C:\Documents and Settings\jachym\bin\mapCreator.py", line
1072, in <module>
    map.render(nomap)
  File "C:\Documents and Settings\jachym\bin\mapCreator.py", line 579, in render

    pyx.text.preamble(r"\usepackage[utf8]{inputenc}")
  File "c:\python25\lib\site-packages\pyx\text.py", line 1165, in preamble
    self.execute(expr, texmessages)
  File "c:\python25\lib\site-packages\pyx\text.py", line 899, in execute
    self.fontmap = dvifile.readfontmap(self.fontmaps.split())
  File "c:\python25\lib\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'
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "c:\Python25\lib\atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "c:\python25\lib\site-packages\pyx\text.py", line 719, in _cleantmp
    texrunner.texinput.write("[EMAIL PROTECTED]@@end\n")
IOError: [Errno 22] Invalid argument
Error in sys.exitfunc:
Traceback (most recent call last):
  File "c:\Python25\lib\atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "c:\python25\lib\site-packages\pyx\text.py", line 719, in _cleantmp
    texrunner.texinput.write("[EMAIL PROTECTED]@@end\n")
IOError: [Errno 22] Invalid argument

So, my general question is, if anybody ever tested pyx on windows and
if anybody ever tested pyx with LaTeX on windows. If anybody would be
so kind, and give me some hints about running pyx on windows and any
hint about the support for LaTeX (miktex I gues).

On Linux, I'm comletely satisfied, everything works like a charm,
however, sometimes, we need pyx on windows as well :-(

thanks for pyx - it makes fun to work with it

regards

jachym

P.S. Win XP, Python 2.5.2 or 2.6.0
-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to