Subject: mailing-list for TeXmacs Users
List archive
From : "Andrey G. Grozin" <address@hidden>- To: "Vadim V. Zhytnikov" <address@hidden>
- Cc: address@hidden, address@hidden
- Subject: Re: [TeXmacs] Re: [Maxima] TeXmacs and maxima-5.14.0
- Date: Sun, 13 Jan 2008 11:39:36 +0600 (NOVT)
On Sat, 12 Jan 2008, Vadim V. Zhytnikov wrote:
It is easy to do this in tm_maxima (and I think I'll do this change). However, the logic ofAnother solution might be to simply anticipate some ofJokes aside. IMHO this is really the best approach.
the upcoming version numbers ;^)
I maintain Maxima nad TeXmacs for ALT Linux distro for
several years. And I always build TeXmacs with tiny patch
which modifies behaviour of tm_maxima in simple way.
If Maxima version doesn't match known version tm_maxima
doesn't barf "Unknown Maxima version" but tries to start
Maxima with the latest version of interface package -
texmacs-maxima-5.11.0.lisp at present.
maxima_detect help
will be broken. Currently, if a maxima which understands --list-avail is detected (this means 5.9.0 or later),
maxima --list-avail
is called, and the result is grepped for good versions (meaning 5.9.3 or later) which understand -d. The list of good versions should be known at this point, and should be updated when a new version appears. It would be a mistake to grep for bad versions (5.9.0, 5.9.1, 5.9.2 - their list is finite and never changes). Suppose a user has 5.9.0 and 5.14.0 installed. Then
maxima -d
will work, because the default is the latest version. But grepping for 5.9.0 will give a false positive.
Perhaps, I'll have to parse the output of
maxima --list-avail
separate individual components of versions, and compare them as numbers - if a version >= 5.9.3 is found, everything's OK (with a natural numerical interpretation of >=, which can be implemented in sh, with some effort. And don't forget rc1, cvs and other suffixes.)
Andrey
- TeXmacs and maxima-5.14.0, Andrey G. Grozin, 01/08/2008
- Message not available
- Re: [Maxima] TeXmacs and maxima-5.14.0, Andrey G. Grozin, 01/09/2008
- Message not available
- Re: [TeXmacs] TeXmacs and maxima-5.14.0, Gerhard Keller, 01/10/2008
- Re: TeXmacs and maxima-5.14.0, Joris van der Hoeven, 01/10/2008
- Re: [TeXmacs] Re: TeXmacs and maxima-5.14.0, Javier Arantegui, 01/11/2008
- Message not available
- Re: [Maxima] TeXmacs and maxima-5.14.0, Joris van der Hoeven, 01/12/2008
- Re: [TeXmacs] Re: [Maxima] TeXmacs and maxima-5.14.0, Vadim V. Zhytnikov, 01/12/2008
- Re: [TeXmacs] Re: [Maxima] TeXmacs and maxima-5.14.0, Andrey G. Grozin, 01/13/2008
- Re: [TeXmacs] Re: [Maxima] TeXmacs and maxima-5.14.0, Joris van der Hoeven, 01/14/2008
- Re: [TeXmacs] Re: [Maxima] TeXmacs and maxima-5.14.0, Andrey G. Grozin, 01/13/2008
- Re: [TeXmacs] Re: [Maxima] TeXmacs and maxima-5.14.0, Vadim V. Zhytnikov, 01/12/2008
- Re: [Maxima] TeXmacs and maxima-5.14.0, Joris van der Hoeven, 01/12/2008
Archive powered by MHonArc 2.6.19.