Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] TeXmacs Python plugin

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] TeXmacs Python plugin


Chronological Thread 
  • From: Ero Carrera <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] TeXmacs Python plugin
  • Date: Sat, 20 Mar 2004 23:26:34 +0200

On Fri, Mar 19, 2004 at 01:27:00PM +0100, ?lvaro Tejero Cantero wrote:
> I have had a first contact and it looks great. I will report any
> problems I might find to you.

great

> Would it be possible to add support in tmPython to capture the
> postscript output from PyX (http://pyx.sourceforge.net) in order to have
> python-driven publication-quality graphs in TeXmacs?
>

Sure, I found that an excellent idea and obvious feature, given that the
TeXmacs can easily display PS.

I've implemented it in a general way. There's a function in the session's
namespace, namely 'psOut' which, if given a file object will read its contents
and display them and, if given a string, will open such filename and output
its
contents. So that any PS output can be displayed, not only from PYX.

You can do a 'print psOut.__doc__' for more info.


For a screenshot and the new version (0.8) go to:

http://dkbza.org/tmPython.html

As usual, I'm interested in knowing of any way in which someone can make the
plugin blowup.

Thanks to Mark Arrasmith for the info, its was really helpful to check your
scripts!

Regards,

--
Ero Carrera Anti-Virus Researcher
F-Secure Corp.
GPG ID: 0x9AAD7EA2
GPG Fingerprint:
B250 D0F2 12AE 52EA 6AD1 6D1D BB2E 9FD9 9AAD 7EA2

I was born not knowing and have had only a little time
to change that here and there.
Richard Feynman (1918 - 1988)





Archive powered by MHonArc 2.6.19.

Top of Page