Hello Andrea,

On 15.01.07, andrea valle wrote:
> Finally I tested hello.py
> 
> From terminal, all ok.
> from inside SuperCollider, now I have no more pdf and no more .tex  
> temporary file.
> Process end with no indications (apart from results=256) and no debrys.
> 
> Then I tested a little bit of code which does not use text (so no tex).
> Everything is fine from inside SC.

good.

> So I guess it depends on tex working crashing the process without  
> letting pyx close the pdf and clean the .tex.

I am not convinced of that. It can also be a problem of
the shell that SC uses to call tex.

> (I do not know how to increase tex verbosity)

this will increase the amount of displayed TeX output:
  text.set(errordebug=2)

this will save the temporary file as "debug.tex"
which can later be used to further testing
  text.set(texdebug="debug.tex")


In any case, you should also test if it is possible to call external
programs from SC. TeX is called by PyX with

  import os
  os.popen4("%s%s %s" % (self.mode, ipcflag, self.texfilename), "t", 0)

So, you should play around a bit with this command, e.g.

  os.popen4("ls .", "t", 0)
  os.popen4("latex debug.tex", "t", 0)
  ...


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

Reply via email to