On 7/18/06, Michael J Gruber <[EMAIL PROTECTED]> wrote:
> Bruce venit, vidit, dixit 2006-07-18 14:29:
> > Yes the last example is also from the pyx`website. I`m using 0.9.
>
> If it isn't working for you with PyX 0.9 but it's working for me: the
> code is correct ;)
>
> You can try text.set(errordebug=2) in order to make PyX's message parser
> more talkative.
>
> Michael
>
>
> -------------------------------------------------------------------------
> 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
>

Just to close this subject..

After fixing an error in article.cls and testing that my tex
installation actually compiles fine, I get this Exception raised after
trying again:

Traceback (most recent call last):
  File "pyxtest3.py", line 7, in ?
    text.preamble("\usepackage{color}")
  File "C:\Python23\lib\site-packages\pyx\text.py", line 1166, in preamble
    self.execute(expr, texmessages)
  File "C:\Python23\lib\site-packages\pyx\text.py", line 985, in execute
    self.defaulttexmessagesdocclass + self.texmessagesdocclass)
  File "C:\Python23\lib\site-packages\pyx\text.py", line 1035, in execute
    raise TexResultError("unhandled TeX response (might be an error)", self)
pyx.text.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\texmf\tex\latex\base\article.cls
  Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
  (C:\program files\texmf\tex\latex\base\size10.clo))

I found that if I uncomment the line raising the error (as suggested
in another trhead named "latex non errors " or something, it works
fine. Like in that case referred to I`m using miktex, perhaps that`s
got something to do with it?

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