Dear all,

I've finally got it working.  I did the following:

save the code below (it is a modified tm_axiom.c following the instructions of
Andrey Grozin on MathAction) into a file tm_axiom.c and say

  gcc tm_axiom

as root, modify line 20 of /usr/share/texmacs/TeXmacs/plugins/axiom/progs to
read

  (:require (url-exists-in-path? "$AXIOM/bin/axiom"))

and copy tm_axiom to the place where it belongs:

  sudo mv a.out /usr/lib/texmacs/TeXmacs/bin/tm_axiom

Most likely you will have to modify paths according to your situation. If you
are not root, I guess you can place the files into your .TeXmacs directory (try
cd .TeXmacs at a shell prompt).

When inserting an Axiom session in TeXmacs, be patient and wait until HyperDoc
appears (maybe a second or so).  If you type something into the prompt before
that, texmacs will hang.

Personally, I prefer emacs, since I use it for reading mail and svn.  But I
guess many will prefer texmacs.

Please let me know whether this works for you.

Martin

Attachment: tm_axiom.c.gz
Description: Binary data

_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to