Hello André,

as I heard from Jörg that you will meet soon to continue on PyX, I now
start to fill the "todo" queue ;-)

Sometimes it happens that I put a brace too many in a TeX expression.
In that case, TeX says something like "Runaway argument?".
Unfortunately, this behaviour is not catched by PyX. Instead, the TeX
output is parsed away, and I receive only a "*" as the remaining
parsed message. This is not quite useful. Here comes a minimal example

--------------------------
from pyx import *
text.set(errordebug=2)
text.set(texdebug="debug.tex")
c = canvas.canvas()
c.text(0, 0, r"\textbf{ {bold}")
c.writePDFfile("minimal")
--------------------------

The same behaviour is found with the expression "\textbf{exbold}}",
and there are probably some other things TeX can say in a wrong
situation.

I do not check a solution in because I do not master the order of
different texmessageparser sufficiently to do so. I can dig myself
into it if necessary, however..

Best,
  Michael


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel

Reply via email to