texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Debian Texmacs+Axiom?


From: Ralf Hemmecke
Subject: Re: [Texmacs-dev] Debian Texmacs+Axiom?
Date: Sun, 20 May 2007 18:47:08 +0200
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

Unlucky.

woodpecker:~/local/bin/Linux>ll AXIOMsys
lrwxrwxrwx 1 hemmecke hemmecke 52 2007-05-19 14:47 AXIOMsys -> /home/hemmecke/software/Axiom/mnt/linux/bin/AXIOMsys
woodpecker:~/local/bin/Linux>ll axiom
lrwxrwxrwx 1 hemmecke hemmecke 49 2005-06-22 10:07 axiom -> /home/hemmecke/software/Axiom/mnt/linux/bin/axiom
woodpecker:~/local/bin/Linux>cd
woodpecker:~>type axiom
axiom is hashed (/home/hemmecke/bin/axiom)
woodpecker:~>type AXIOMsys
AXIOMsys is hashed (/home/hemmecke/local/bin/Linux/AXIOMsys)

I removed ~/.TeXmacs and restarted. I still don't see Axiom in the sessions menu.

I see it if I say

cp -r /usr/share/texmacs/TeXmacs/plugins/axiom ~/.TeXmacs/plugins/

modify ~/.TeXmacs/plugins/axiom/progs/init-axiom.scm to look like

(define (axiom-initialize)
  (import-from (utils plugins plugin-convert))
  (lazy-input-converter (axiom-input) axiom))

(plugin-configure axiom
  (:require (url-exists-in-path? "/home/hemmecke/local/bin/Linux/axiom"))
  (:initialize (axiom-initialize))
  (:launch "tm_axiom")
  (:session "Axiom"))

and start texmacs. But what I see then looks like the attached file.

Ralf

-----------------
woodpecker:~>axiom
                        AXIOM Computer Algebra System
                       Version: Axiom (September 2006)
              Timestamp: Friday September 29, 2006 at 14:21:21
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave AXIOM and return to shell.
-----------------------------------------------------------------------------

   Re-reading compress.daase   Re-reading interp.daase
   Re-reading operation.daase
   Re-reading category.daase
   Re-reading browse.daase
(1) ->
----------------

On 05/20/2007 06:27 PM, Andrey G. Grozin wrote:
On Sat, 19 May 2007, Ralf Hemmecke wrote:
I have the Debian Etch package of TeXmacs installed, but not Axiom.
Axiom has been compiled by myself. $AXIOM/bin is in the PATH.

When I start TeXmacs, I don't see Axiom appearing inside the Sessions.
Do I have to add something?
Try to run
texmacs -S
or remove your ~/.TeXmacs/ and start texmacs again. Then it will re-detect available systems.
Also, is AXIOMsys in your $PATH?

Andrey
<TeXmacs|1.0.6>

<style|<tuple|generic|axiom>>

<\body>
  <with|prog-language|axiom|prog-session|default|<\session>
    <\output>
      \;

      <with|color|red|Unexpected end<with|color|black|5>>
    </output>

    <\input|axiom] >
      \;
    </input>
  </session>>
</body>

<\initial>
  <\collection>
    <associate|language|american>
  </collection>
</initial>

reply via email to

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