Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Odd result from a Maxima solve.

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Odd result from a Maxima solve.


Chronological Thread 
  • From: Robert Jerrard <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Odd result from a Maxima solve.
  • Date: Sat, 19 Jan 2008 12:20:46 -0700


On Sat, 2008-01-19 at 10:48 +0600, Andrey G. Grozin wrote:
> On Fri, 18 Jan 2008, Robert Jerrard wrote:
> > The attached image shows the result of a maxima solve from within
> > TeXmacs for which the output has extra blue angle brackets that should
> > not be there. They don't occur if maxima is run in a terminal session
> > and I have not seen the like before in TeXmacs. Is this a bug in
> > TeXmacs?
> I don't see it here, see the attachment.
>
> You can always investigate what maxima sends to TeXmacs. Just compile the
> pnambic plugin (/usr/share/TeXmacs/examples/plugins/pnambic/, see
> readme.tm) and do
>
> /usr/libexec/TeXmacs/bin/tm_maxima <your_version> <your_lisp> \
> | ./~TeXmacs/plugins/pnambic/bin/p_out
>
> Then send your equation to maxima as usual, and watch what maxima sends
> back. If it sends something funny, you will see.

Hi Andrey, OK, did it and got

penrose:/tmp# cat out | /home/bob/.TeXmacs/plugins/pnambic/bin/p_out
[02]verbatim:[0a]
Maxima 5.13.0 http://maxima.sourceforge.net[0a]
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)[0a]
Distributed under the GNU Public License. See the file COPYING.[0a]
Dedicated to the memory of William Schelter.[0a]
This is a development version of Maxima. The function bug_report()[0a]
provides bug reporting information.[0a]
[02]channel:prompt[05][02]latex:\red (\mathrm{\%i})
\black[05][05][02]latex:$\displaystyle \mbox{\tt\red(\mathrm{\%o1})
\black}\left[[ [0a]
\left[[ x=-{{\sqrt{4\*\pi+\mathe^2+4\*\mathe+16}-\mathe-2}\over{2}}[0a]
, y=-\sqrt{4\*\pi+\mathe^2+4\*\mathe+16}+\mathe+5 \right]] , [0a]
\left[[ x={{\sqrt{4\*\pi+\mathe^2+4\*\mathe+16}+\mathe+2}\over{2}} ,
[0a]
y=\sqrt{4\*\pi+\mathe^2+4\*\mathe+16}+\mathe+5 \right]] \right]]
$[05][0a]
[02]channel:prompt[05][02]latex:\red (\mathrm{\%i}) \black[05][05]

and

bob@penrose:/tmp$ cat in
solve([y=x^2-%e*x-%pi,y=2*x+3],[x,y]);

So, from what I can see there are no blue angle brackets after the x
coordinate of the solution coming from maxima.

Any other suggestions?

Thanks, Bob
--
Dr. Robert J. Jerrard, Professor of Mathematics,
Concordia University College of Alberta,
7128 Ada Blvd., Edmonton, Alberta, T5B 4E4, Canada.
Phone: (780) 479-9291, Fax: (780) 474-1933.




Archive powered by MHonArc 2.6.19.

Top of Page