Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Octave3 plugin again

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Octave3 plugin again


Chronological Thread 
  • From: Mansour Moufid <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Octave3 plugin again
  • Date: Mon, 21 Dec 2009 23:25:06 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=svBgeemj3tRzewul4+YaT9wF7vgJ/qcOVH9uScCdTDKu29H8DX9H1eURs4oMAfehX+ FT5UZsIoA/8pVsWBwGcNC2v7nf1wEJTfu6pq2NJrW+7NduUTxcIZq1a2flV+ZuHJg1zt zIxiXRaXszgKzgeyfZFjvc5wEsd7PbRiC793Q=

2009/12/21 chu-ching huang <address@hidden>:
> Since octave3 has a big leap with respective to octave2, especially in
> interaction with gnuplot, why not to separate octave 2/3? For instance,
> plugins octave2 and octave3.

I second this idea. It would make things much easier to maintain,
IMHO. Octave scripts can differentiate between versions 2 and 3 as
follows:

if (exist ("OCTAVE_VERSION") == 5)
## New code
else
## Old code
endif

But to do that in every file would be quite messy. So, perhaps the
current /plugins/octave/octave/ tree can be split into:
/plugins/octave/octave/2/; and /plugins/octave/octave/3/. Then, the
initialization script (.octaverc) could set the load path to include
one or the other tree depending on the simple test above.

> If you want to work with octave3, you can try tm_octave3.tgz.

This will be very useful over the next semester. ;-) Thank you.

--
Mansour Moufid



Archive powered by MHonArc 2.6.19.

Top of Page