Dear Clayton E. Myers, it might be, that it works if you do not use a path with a space in its filename. But we should also fix it. Could you please try changeset:3015 ... it might solve the problem already or otherwise write out an additional line, which might help me understanding your issue. I'm very happy to get your feedback!
Best,
André Wobst
Am 16.12.2009 um 23:38 schrieb Clayton E. Myers:
> Hi all,
>
> I am also having problems with the text.set(mode="latex") command.
> Everything was working fine until I upgraded from MiKTeX 2.7 to 2.8 the
> other day. My errors are similar to the ones that Wojciech posted, but
> not identical. Also, I don't have any parentheses in my MiKTeX install
> path. For the record, the path is "C:\Program Files\MiKTeX 2.8" (in
> Windows XP).
>
> My test code is simply:
>
> # Begin code:
> from pyx import *
> text.set(mode=r"latex")
> c = canvas.canvas()
> c.text(0,0,r"Test")
> c.writePDFfile("test_pyx")
> # End code.
>
> It works only if the text.set(mode=r"latex") line is commented out. The
> output errors I get are:
>
>> "C:\\Python25\\pythonw.exe" -u "test_pyx.py"
> Traceback (most recent call last):
> File "test_pyx.py", line 7, in <module>
> c.writePDFfile("test_pyx")
> File "C:\Python25\lib\site-packages\pyx\canvas.py", line 330, in
> wrappedindocument
> return method(d, file)
> File "C:\Python25\lib\site-packages\pyx\document.py", line 161, in
> writePDFfile
> pdfwriter.PDFwriter(self, file, *args, **kwargs)
> File "C:\Python25\lib\site-packages\pyx\pdfwriter.py", line 475, in
> __init__
> catalog = PDFcatalog(document, self, registry)
> File "C:\Python25\lib\site-packages\pyx\pdfwriter.py", line 155, in
> __init__
> self.PDFpages = PDFpages(document, writer, registry)
> File "C:\Python25\lib\site-packages\pyx\pdfwriter.py", line 212, in
> __init__
> page = PDFpage(page, pageno, self, writer, registry)
> File "C:\Python25\lib\site-packages\pyx\pdfwriter.py", line 238, in
> __init__
> self.PDFcontent = PDFcontent(page, writer, self.pageregistry)
> File "C:\Python25\lib\site-packages\pyx\pdfwriter.py", line 267, in
> __init__
> page.processPDF(contentfile, writer, acontext, registry, self.bbox)
> File "C:\Python25\lib\site-packages\pyx\document.py", line 141, in
> processPDF
> self._process("processPDF", *args)
> File "C:\Python25\lib\site-packages\pyx\document.py", line 81, in _process
> getattr(self.canvas, processMethod)(canvasfile, writer, context,
> registry, bbox)
> File "C:\Python25\lib\site-packages\pyx\canvas.py", line 216, in
> processPDF
> item.processPDF(file, writer, context, registry, nbbox)
> File "C:\Python25\lib\site-packages\pyx\text.py", line 706, in processPDF
> self.ensuredvicanvas()
> File "C:\Python25\lib\site-packages\pyx\text.py", line 689, in
> ensuredvicanvas
> self.finishdvi()
> File "C:\Python25\lib\site-packages\pyx\text.py", line 1044, in finishdvi
> self.execute(None, self.defaulttexmessagesend + self.texmessagesend)
> File "C:\Python25\lib\site-packages\pyx\text.py", line 1036, 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:
> \end{document}%
> After parsing the return message from TeX, the following was left:
> *("C:\Documents and Settings\cmyers\Desktop\text_pyx\tmpjynt_w.aux")
>
> Thanks for you help,
>
> Clayton
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> PyX-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyx-user
--
by _ _ _ Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
/ \ \ / ) [email protected], http://www.wobsta.de/
/ _ \ \/\/ / PyX - High quality PostScript and PDF figures
(_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
