texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Texmacs-Maxima Interface - Graphing & Multiline


From: Andrey G. Grozin
Subject: Re: [Texmacs-dev] Texmacs-Maxima Interface - Graphing & Multiline
Date: Sat, 13 Oct 2012 13:06:50 +0700 (NOVT)
User-agent: Alpine 1.10 (LRH 962 2008-03-14)

I'm moving the discussion to the texmacs-dev mailing list.

On Thu, 11 Oct 2012, Florian Kerle wrote:
I figured out (while trying to batch a .wxm session), that Your interface is 
only able to view one
output line for each input line.

e.g.:

%i1  f(x):=x^2;

         f(3);

%o1 f(x):=x^2

%o2 9

 

When batching a file with ~50 outputs, which correlates to 1 input line, only 
the first line is
displayed.
This looks like the bug #36233 in the TeXmacs bugzilla. Even simpler, when I say

1;2;

at the (%i1) prompt, I only see

(%o1) 1

but not

(%o2) 2

though both lines are sent from maxima to TeXmacs. I really hope this bug will be fixed soon.

I’ve worked with wxMaxima for several years now – what I really like is the 
ability to *embed graphs* as
well as *mutli-line inputting* in cells.
It is perfectly possible to have multi-line input in the TeXmacs-maxima interface. At the maxima prompt, say

(%i1) 1;<shift-enter>
      2;<enter>

You will have 1; in the first line, and 2; in the second one; both are sent to maxima by <enter>. By the way, in this case I see both output line, not just the first one. Observing the bytes sent by maxima to TeXmacs shows that they are exactly the same in both cases. So, it is this time-dependent bug - in the first case the line number 2 is ignored, while in the second case it is displayed.

Wouldn’t it be possible to catch every output / periodically check for output 
of Maxima  and display it?
Bug #36233

Additionally to TeXmac’s ability to create good looking documents, embedded 
graphs (directly from the
Maxima CAS) would be perfect!
It's interesting that many people want this. When I say

plot3d(f(x,y),[x,-a,a],[y,-b,b])

in TeXmacs, I get a gnuplot window, in which I can rotate the plot with my mouse, export it to various formats, etc. It is a live object. Inlining it it the TeXmacs window would make this object dead. I think the first way is much better.

It is certainly possible to inline maxima plots. It somebody wants to implement this, go ahead. As long as this remains an option which I can switch off.

Andrey

reply via email to

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