axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] Re: [TeXmacs] Axiom plugin


From: Camm Maguire
Subject: [Axiom-developer] Re: [TeXmacs] Axiom plugin
Date: 26 Feb 2004 10:11:12 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

"Page, Bill" <address@hidden> writes:

> Hi Camm,
> 
> My recollection was (perhaps incorrectly) that
> chu-ching huang is using your Debian binaries for
> his LiveTeXmacs-1.0.3.3.iso Knoppix CD rom project.
> But checking through my email I can't confirm that.
> In fact in one place he refers to using RedHat 9.0.
> So clearly I am confused.
> 
> Does you Debian version execute huang's two simple
> examples correctly? Then I will stand corrected. But
> still it seems that he must have an older version
> of the Axiom source.
> 

I'll double check if you can send me the definitions of func. 

> Do you still have problems with compatibility between
> TeXmacs and Axiom on the Debian platforms? (unrelated
> question)

The Debian texmacs maintainer has beat me to it.  He has applied the
following patch to texmacs for Debian, which (I've just confirmed)
makes axiom thereunder work just fine:

diff -urNad 
/home/rt/debian/own/texmacs/texmacs-1.0.3/plugins/axiom/progs/init-axiom.scm 
texmacs-1.0.3/plugins/axiom/progs/init-axiom.scm
--- 
/home/rt/debian/own/texmacs/texmacs-1.0.3/plugins/axiom/progs/init-axiom.scm    
    2004-01-13 21:00:39.000000000 +0100
+++ texmacs-1.0.3/plugins/axiom/progs/init-axiom.scm    2004-01-23 
21:12:22.000000000 +0100
@@ -17,7 +17,7 @@
   (lazy-input-converter (axiom-input) axiom))
 
 (plugin-configure axiom
-  (:require (url-exists-in-path? "AXIOMsys"))
+  (:require (url-exists-in-path? "/usr/bin/axiom"))
   (:initialize (axiom-initialize))
   (:launch "tm_axiom")
   (:session "Axiom"))
diff -urNad 
/home/rt/debian/own/texmacs/texmacs-1.0.3/plugins/axiom/src/tm_axiom.c 
texmacs-1.0.3/plugins/axiom/src/tm_axiom.c
--- /home/rt/debian/own/texmacs/texmacs-1.0.3/plugins/axiom/src/tm_axiom.c      
2004-01-13 21:00:39.000000000 +0100
+++ texmacs-1.0.3/plugins/axiom/src/tm_axiom.c  2004-01-23 21:12:20.000000000 
+0100
@@ -299,8 +299,8 @@
     case 0: /* Axiom */
       dup2(p1[1],1); close(p1[1]); close(p1[0]);
       dup2(p2[0],0); close(p2[0]); close(p2[1]);
-      execlp("AXIOMsys","AXIOMsys","-noclef",0);
-      fatal("exec AXIOMsys");
+      execlp("/usr/bin/axiom","/usr/bin/axiom","-noclef",0);
+      fatal("exec /usr/bin/axiom");
     default: /* parent */
       close(p1[1]); close(p2[0]);
       axin=fdopen(p2[1],"w"); axout=fdopen(p1[0],"r");

I haven't yet released the new Debian axiom with the symlink and am
wondering if it is still advisable.

Take care,


> 
> Regards,
> Bill Page.
> 
> > -----Original Message-----
> > From: Camm Maguire [mailto:address@hidden
> > Sent: Wednesday, February 25, 2004 8:45 PM
> > To: Bill. Page1 (E-mail)
> > Cc: 'chu-ching huang'; Axiom-Developer (E-mail)
> > Subject: Re: [TeXmacs] Axiom plugin
> > 
> > 
> > Greetings!  The axiom debian package has these
> > files.  (Its currently dated 20040128).  What
> > makes you think Debian might be involved?
> > 
> > Take care,
> > 
> > "Page, Bill" <address@hidden> writes:
> > ... 
> > > 
> > > > -----Original Message-----
> > > > From: chu-ching huang [mailto:address@hidden
> > > > Sent: Wednesday, February 25, 2004 10:26 AM
> > > > To: Page, Bill
> > > > Subject: RE: [TeXmacs] Axiom plugin
> > > > 
> > > > 
> > > > Hi Page, Bill 
> > > > 
> > > > Thanks for your help. I had download axiom_intro.tm
> > > > and opened it in TeXmacs, but two errors shown:
> > > > 
> > > > 1. command about integration, for example:
> > > >    -> integrate(func,x)
> > > >    Cannot not open /usr/local/axiom/algebra/SIGNEF.o
> > > >    Actually, there exists SIGNRF.o but not SIGNEF.o
> > > >    in this directory
> > > > 2. command about series:
> > > >    -> series(func,x)
> > > >    the error is shown as:
> > > >    Cannot not open /usr/local/axiom/algebra/STTF.o
> > > >    There only exists STTFUNC.o but not STTF.o.
> > > > 
> > > > 
> > > > Regards, 
> > > > ----------------------------------------------------------------- 
> > > > chu-ching huang 
> > > >  
> > > > email address:address@hidden
> > > > 
> > -- 
> > Camm Maguire                                                
> > address@hidden
> > ==============================================================
> > ============
> > "The earth is but one country, and mankind its citizens."  -- 
> >  Baha'u'llah
> 
> 
> 
> -----Original Message-----
> From: chu-ching huang [mailto:address@hidden
> Sent: Tuesday, February 17, 2004 8:08 PM
> To: address@hidden
> Subject: [TeXmacs] LiveTeXmacs-1.0.3.3 CDROM released
> 
> 
> Hi Joris and TeXmacs users,
> 
> Before the Linux kernal changed to 2.6, A more compact
> Knoppix-based Linux CDROM focus on TeXmacs and CAS is
> released, about 701mb, (named LiveTeXmacs-1.0.3.3.iso, :-)).
> It contains: 
> TeXmacs-1.0.3.3, Octave, R , Maxima, graphviz , yacas,
> pari, gnuplot, Eukleides, Dr.Geo, qcl, rlab, Macaulay 2 (M2),
> Scilab, and some texmacs files ( in /usr/dems/TeXmacs)
> about Calculus (not yet finished). The image file will
> be downloaded from:
> 
> ftp://math.cgu.edu.tw/pub/KNOPPIX
> ftp://diffusion.cgu.edu.tw/pub/KNOPPIX
> 
> And this is to your new-born angel!
> 
> Best regards, 
> ----------------------------------------------------------------- 
> chu-ching huang 
>  
> email address:address@hidden
>  
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]