mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] [Texmacs-dev] Octave plugin status


Chronological Thread 
  • From: Denis RAUX <address@hidden>
  • To: address@hidden, address@hidden
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] [Texmacs-dev] Octave plugin status
  • Date: Fri, 5 Apr 2013 11:58:29 +0200

It's completely right when i integrate a plugin in the windows version, i
make the very simple test 1 + 1. The main reasons are i have no idea how
they should work and no left time to dig. So a windows port must be similar
to the linux version.

Concerning the Octave installation, I fetched a true windows package with an
installer : octave-3.6.2-vs2010-setup.exe. I don't remember it was painful to
install. If you make the installation in the standard locations, texmacs must
find it automatically.

I didn't know anything about the plugins author intentions when he wrote it.
But if you want make Octave running with the test cases you gave, you have to
modify the tmrepl.m file located in C:\Program
Files\TeXmacs\plugins\octave\octave\™

function tmrepl()
prompt=sprintf("%cchannel:prompt%coctave> %c",2,5,5);
while ( 1 )
r=input(prompt,'s');
eval(r,"tmlasterr");
endwhile
endfunction


This should give to you :

octave> A = 1 + 2

A = 3
octave> B = [1,2,3]

B =

1 2 3

octave> 5 + 5

ans = 10


I hope this will be convenient.


Denis Raux




Le 18 mars 2013 à 20:06, David E. Miller a écrit :

> Octave plugin status. The TeXmacs website says:
>
> "The current Windows version of TeXmacs only supports a reduced set of
> plug-ins. As of version 1.0.7.18, Maxima, Mathemagix, Octave, Pari and
> Python should run out of the box after a standard installation."
>
> From what I have experienced the Octave plugin is defective. This is the
> case for Linux, OS X and MS Windows. It is the plugin and not the operating
> systems. Any reference to an Octave expression using the Octave plugin from
> TeXmacs that involves a variable returns "texmacs" and not the expected
> answer. Expressions with numbers only are okay, but obviously this is not
> "running out of the box" as stated.
>
> Also the phrase "standard installation" may be misleading. TeXmacs may have
> a standard installation using MS Windows, but it is a stretch to describe
> the installation of the MS Windows version of Octave as "standard" in any
> sense. The installation of Octave on MS Windows requires a number of
> manual steps and configuration items before TeXmacs shows Octave as an
> available plugin. This includes modification of the PATH environment
> variable. After successfully jumping that hurdle (which is not documented
> anywhere), the plugin will start an Octave session that does not work
> normally with the same symptoms whether using GNU/Linux, OS X, or MS
> Windows:
>
> octave> A = [1,2,3]
> texmacs
>
> octave> 1+1
> 2
>
> octave> sqrt(2)
> 1.4142
>
> octave> a=sqrt(2)
> texmacs
>
>
> David Miller
>
> _______________________________________________
> Texmacs-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/texmacs-dev




Archive powered by MHonArc 2.6.19.

Top of page