I have windows xp and python-2.5
I do want to use PyX, but when I am doing any operation concerning text it 
fails as next ( though, for instance, arrow.py works just fine)
TeX distribution is miktex 2.5 
Proably it's something with settings, but I can't figure out what is wrong. 
I have several psfonts.map files in
"C:\Documents and Settings\All Users\Application Data\MiKTeX\2.5\"  

----
>>> from pyx import *
>>> text.set(mode="latex")
>>> text.preamble(r"\usepackage{times}")

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 4 in mapping file 'psfonts.map': wrong syntax

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 237 in mapping file 'psfonts.map': Unsupported 
Postscript fragment 'TeXBase1Encoding 0.167'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 240 in mapping file 'psfonts.map': Unsupported 
Postscript fragment 'TeXBase1Encoding 0.167'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 318 in mapping file 'psfonts.map': wrong syntax

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3787 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3788 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3789 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3790 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3791 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3792 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3793 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3794 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3795 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3796 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3797 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3798 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3799 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3800 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3801 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3802 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3803 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3804 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3805 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 3806 in mapping file 'psfonts.map': Unsupported 
Postscript fragment '/PaintType 2'

Warning (from warnings module):
  File "C:\Python25\lib\site-packages\pyx\dvifile.py", line 396
    warnings.warn("Ignoring line %i in mapping file '%s': %s" % (lineno, 
filename, e))
UserWarning: Ignoring line 6229 in mapping file 'psfonts.map': wrong syntax

Traceback (most recent call last):
  File "<pyshell#28>", line 1, in <module>
    text.preamble(r"\usepackage{times}")
  File "C:\Python25\lib\site-packages\pyx\text.py", line 1163, in preamble
    self.execute(expr, texmessages)
  File "C:\Python25\lib\site-packages\pyx\text.py", line 985, in execute
    self.defaulttexmessagesdocclass + self.texmessagesdocclass)
  File "C:\Python25\lib\site-packages\pyx\text.py", line 1034, in execute
    raise TexResultError("unhandled TeX response (might be an error)", self)
TexResultError: unhandled TeX response (might be an error)
The expression passed to TeX was:
  \documentclass{article}%
  \PyXInput{3}%
After parsing the return message from TeX, the following was left:
  *
  *("C:\Program Files\miktex\tex\latex\base\article.cls"
  Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
  ("C:\Program Files\miktex\tex\latex\base\size10.clo"))
  
  (cut after 5 lines, increase errordebug for more output)
>>> 




-------------------------------------------------------------------------
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

Reply via email to