texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Python Plugin Information


From: Miguel de Benito Delgado
Subject: Re: [Texmacs-dev] Python Plugin Information
Date: Tue, 12 Mar 2013 14:18:17 +0100

Hi,

  you may change the prompt of a plugin using a so-called "channel". This is a special command sent from the plugin. Search the documentation for "output channels" and you'll find it.

Best,
--
Miguel de  Benito.


On Tue, Mar 12, 2013 at 12:45 PM, Massimiliano Gubinelli <address@hidden> wrote:
Hi David,
 I think that the prompt is set up in the scheme code for plugins. Adrian Soto worked recently on the Python plugin. It would be great have something like iPython in TeXmacs.

Thanks for your help. Personally I do not have  a lot of time to allocate to plugin support (I'm working on other TeXmacs features right now) but if you have specific questions, keep asking in the mailing list and I and the other will try to provide some support.

Best
Massimiliano


On Mar 12, 2013, at 12:58 AM, David E. Miller <address@hidden> wrote:

> All TeXmacs developers:
>
> I have emailed the original author of the TeXmacs Python plugin, Ero Carrera. Although he is the author of the plugin, from his email reply to me it appears that he is no longer involved with supporting or maintaining this plugin.
>
> Be advised that this does not mean that there are any issues with the TeXmacs Python plugin. In fact I am in the process of completing an article using TeXmacs for the TeXmacs community about using the TeXmacs Python plugin with modules "scientific" by which I mean NumPy, SciPy, Matplotlib, SciTools, and Oct2Py, a Python module interface to GNU Octave that appears to function without any issues using the Python plugin. I will announce through this list when this article is ready for download and instructions for that purpose. After peer review and any feedback, I will offer this article for inclusion with those publicly available through the TeXmacs website.
>
> If there are any developers reading this that are accomplished Pythonistas, please let me know. I have scoured the tm_python code in order to determine how the plugin generates the "Python]" prompt for each line of input during the session and it has me baffled. If anyone with plugin or  Python expertise would be so kind as to look at the code to determine where this prompt is being generated, I will be in your debt. I want to alter this prompt to the conventional ">>>" Python interactive prompt. So far I have no clue as to how the prompt is generated by the code. Maybe it is an attribute of the associated Scheme code for the plugin. Ero Carrera can't remember much about his plugin since it was written some time ago.
>
> I am also writing a short Help page for the Python plugin with attribution for the original author. This help will include two undocumented methods of the plugin that are "ps_out" which will insert an EPS file into the Python session and command completion that works to provide completion help from the input line.
>
> Thanks for any help, advice, or constructive comments.
>
> David E. Miller
> TeXmacs Enthusiast
>
> _______________________________________________
> Texmacs-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/texmacs-dev


_______________________________________________
Texmacs-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/texmacs-dev


reply via email to

[Prev in Thread] Current Thread [Next in Thread]