RE: Axiom

"Bill Page" <[email protected]>
Newsgroups gmane.comp.mathematics.axiom.user
Message-ID <02f101c77aee$1cfee360$6900a8c0@asus>
On April 7, 2007 12:51 PM Markus Cozowicz wrote:

> ...
> I got a short question:
> 
> I'd like to script Axiom. I'd like to start it with a 
> specified script file, that does some operations, finally 
> writes a latex file
> and quits.
> 

I would recommend that you run Axiom with i/o redirection
like this:

  $ AXIOMsys < MyInput > MyOutput

The file MyInput can contain all interactive commands
even including:

  )set output tex on
  )read MyFile.input
  )quit
  yes

if you wish.

Is this the kind of script you mean? If you need a "cleaner"
output, on Linux it is possible to run Axiom via Python or
Perl and parse the output as you need it.

Regards,
Bill Page.

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Martin Rubey
> Sent: Donnerstag, 05. April 2007 18:08
> To: Markus Cozowicz
> Subject: Re: Axiom
> 
> "Markus Cozowicz" <[email protected]> writes:
> 
> > Hi,
> > 
> >  
> > 
> > Weisst du zufällig ob man Axiom unter Linux Script'n kann?
? ? Do you know coincidentally whether one axiom under Linux Script'n can?

> 
> selbstverstaendlich.
? of course
> 
> > Ich würd gern ein .axiom.input file reinschicken und Latex 
> rausbekommen.
? ? would gladly .axiom.input a file clean-send and Latex clean-output
> 
> am besten in der
? best in that 
> 
> .input 
> 
> Datei:
> 
> )set output tex on
> )spool dateiname.tex
> 
> schreibt Ein- und Ausgabe nach dateiname.tex
? input and output writes after dateiname.tex
> 
> 
> es gibt auch eine Variante, die nur die Eingabe aufschreibt:
? there is also a variant, which notes only the input:
> 
> )history )save dateiname.input
> 
> 
> vermutlich gibt es auch eine Moeglichkeit, nur die Ausgabe zu 
> speichern. Bill
> Page weiss das.
? probably there is also a possibility of storing only the
? expenditure. Bill Page knows that.
> 
> Martin
> 
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.