mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] spurious brackets in Axiom session


Chronological Thread 
  • From: Maxim Nikulin <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] spurious brackets in Axiom session
  • Date: Thu, 18 Jun 2009 23:06:23 +0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=xY23lr60u5eVFj62exSdB8nGbN0HGBVaWxYzb86U2uJH3IE4QO+Q80zIRoAlpqWAAh ygyFzwouZrSfw64JP9rAL+F+Xa2/+4Bh02dDqijo1LDErzsEyGLsNYWVX94gxTQKMdUF /y/e2Xb9g1UEexaxYDlu/1DLTyqe+q8tiof9c=

Joris van der Hoeven wrote:
On Thu, Jun 18, 2009 at 03:26:56AM -0300, Alejandro Jakubi wrote:
On Thu, 21 May 2009, Joris van der Hoeven wrote:

Please send the file & terminal output for a minimal session which
demonstrates the bug and tell me which versions of Axiom and Maxima you use.
I have sent them to you some weeks ago. Which is the solution?

It seems from a subsequent post that the problem is no longer present
in version 1.0.7.2. You should therefore consider upgrading.

Ubuntu 8.04 Hardy Heron default versions
texmacs 1.0.6.11-2
maxima 5.13.0-3ubuntu1

<\output>
\\2latex:

ed Unsupported version of maxima: 5.13.0\\5
</output>

Disappointing... Ubuntu seems to be wrong choice for scientific applications.
I edit /usr/lib/texmacs/TeXmacs/bin/tm_maxima to launch texmacs-maxima-5.11.0.lisp for maxima-5.13 and type

3*sqrt(2)/2

<\output>

<with|mode|math|math-display|true|<with|mode|text|font-family|tt|color|red|(<with|math-font-family|rm|%o1>)
<with|color|black|>>3*2<rsup|-<frac|1|2><\ >>>
</output>
^^^^
spurious brackets that can be written to .tm file but can't be read correctly. .scm serves as workaround.
Terminal output:

$ texmacs --debug-io
TeXmacs] With linked TrueType support
TeXmacs] Launching 'tm_maxima 5.13.0 gcl'
[BEGIN]verbatim:
Maxima 5.13.0 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
[BEGIN]channel:prompt[END][BEGIN]latex:\red (\mathrm{\%i}1) \black[END][END]
------------------------------------------------------------------------------
TeXmacs] Loading corktounicode
TeXmacs] Loading unicode-cork-oneway
TeXmacs] Loading tmuniversaltounicode
TeXmacs] Loading unicode-symbol-oneway
[INPUT]3*sqrt(2)/2;
[BEGIN]latex:$\displaystyle \mbox{\tt\red(\mathrm{\%o1}) \black}3\*2^ {- {{1
}\over{2}} }$[END]
[BEGIN]channel:prompt[END][BEGIN]latex:\red (\mathrm{\%i}2) \black[END][END]
------------------------------------------------------------------------------

------------------------------------------------------------------------------

------------------------------------------------------------------------------

------------------------------------------------------------------------------

The .tm file is attached

texmacs_1.0.7-2_i386.deb + texmacs-common_1.0.7-2_all.deb built from the debian source package files deals with "3*sqrt(2)/2" fine, however it can't read the corrupted file produced by 1.0.6. I'm happy with this solution.

--
Regards,
Max
<TeXmacs|1.0.6.11>

<style|<tuple|generic|maxima>>

<\body>
  <with|prog-language|maxima|prog-session|default|<\session>
    <\output>
      \;

      Maxima 5.13.0 http://maxima.sourceforge.net

      Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)

      Distributed under the GNU Public License. See the file COPYING.

      Dedicated to the memory of William Schelter.

      This is a development version of Maxima. The function bug_report()

      provides bug reporting information.
    </output>

    <\input|<with|color|red|(<with|math-font-family|rm|%i>1)
    <with|color|black|>>>
      3*sqrt(2)/2
    </input>

    <\output>
      <with|mode|math|math-display|true|<with|mode|text|font-family|tt|color|red|(<with|math-font-family|rm|%o1>)
      <with|color|black|>>3*2<rsup|-<frac|1|2><\ >>>
    </output>

    <\input|<with|color|red|(<with|math-font-family|rm|%i>2)
    <with|color|black|>>>
      \;
    </input>
  </session>>
</body>

<\initial>
  <\collection>
    <associate|language|american>
    <associate|page-type|letter>
  </collection>
</initial>



Archive powered by MHonArc 2.6.19.

Top of page