Skip to Content.
Sympa Menu

texmacs-users - RE: [TeXmacs] Sympy plugin

Subject: mailing-list for TeXmacs Users

List archive

RE: [TeXmacs] Sympy plugin


Chronological Thread 
  • From: "Bill Eaton" <address@hidden>
  • To: <address@hidden>
  • Subject: RE: [TeXmacs] Sympy plugin
  • Date: Wed, 15 May 2013 09:37:24 -0700

Thanks to everyone for feedback.

Honestly, I haven't done much with the Python plugin. But I could see how it
could be REALLY useful for writing tutorials with the varsession package.
The SymPy plugin seems to work mostly OK, but there are notable cases where
I don't get nicely typeset formulas. I don't know enough about what TexMacs
syntax should look like for formulas/equations.

Presumably, there is something about the sympy.printing.latex() function
that produces output that TexMacs doesn't like.

The behavior I see is in Linux. I haven't gotten the plugin to work in
Windows yet. I found the SymPy plugin from the SymPy source tree.

Just now, I was perusing through the Python plugin and I see there is a
function for spitting out PostScript code. Can that be used for inline
figures/plots? If so, that would be extremely useful.

My motivation for all of this is to find a good MathCAD replacement. I want
to have:
* typeset formulas
* symbolic manipulation for when I need to derive equations
* numerical evaluation for when I need to make calculations
* awareness of units
* ability to do plots
* make a pretty document that can serve as a report.

TexMacs is a good candidate for this, but it's been a struggle to figure out
how to get what I want.

--Bill




-----Original Message-----
From: address@hidden [mailto:address@hidden]
Sent: Wednesday, May 15, 2013 1:27 AM
To: David E. Miller
Cc: Bill Eaton; address@hidden
Subject: Re: [TeXmacs] Sympy plugin

On Wed, 15 May 2013, David E. Miller wrote:
> I can't find a sympy plugin in either version in the distribution file
tree as installed.
It's a part of sympy.

> Second, since this is a Python module, I would first try to use the
> existing Python plugin and fire up a Python session in a TeXmacs doc and
load your sympy module and see how the Python plugin handles the some stress
tests you can try.
This is by far not sufficient. sympy is a CAS, and the main reason to use it
inside TeXmacs is to get nicely typeset formulas. The python plugin alone
will not do this.

What's needed is some hybrid of the current python plugin (distributed with
TeXmacs) and the current sympy plugin (distributed with sympy).

Andrey




Archive powered by MHonArc 2.6.19.

Top of Page