texmacs-dev
[Top][All Lists]
Advanced

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

[Texmacs-dev] Re: TeXmacs+Axiom


From: Martin Rubey
Subject: [Texmacs-dev] Re: TeXmacs+Axiom
Date: 21 May 2007 23:48:29 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

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


reply via email to

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