Python Plugin Information
David E. Miller <david.miller <at> embarqmail.com>
2013-03-11 23:58:41 GMT
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