Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff
--
Ryan Krauss [EMAIL PROTECTED] wrote:
> I found this example on the axiom-developer mailing list from about a 
> year ago:
> 
>  \begin{axiom-input}
>  R1:=matrix([[cos a, sin a, 0],[-sin a, cos a, 0],[0, 0, 1]])
>  \end{axiom-input}
>  Next we define a rotation around the Y axis by a rotation angle of b 
>  \begin{axiom-input}
>  R2:=matrix([[cos b, 0, -sin b],[0, 1, 0],[sin b, 0, cos b]])
>  \end{axiom-input}
>  The we compose them (order is important) to form the single
>  rotation equivalent to first rotating around X, then around
>  the new, displaced Y. 
>  \begin{axiom-input}
>  R:=R1*R2
>  \end{axiom-input}
> 
> I would very much like to be able to write LaTeX documents like this on 
> Windows XP.  Has anyone done this?

The MathAction wiki
(http://page.axiom-developer.org/zope/mathaction/FrontPage)
allows documents like this.  It runs on the zope server, and some code
pasted together by myself and Bill Page calls axiom on the server to
render the document.

Additionally the "pamphlet" format used natively by axiom supports
running axiom commands, using a similar syntax.

Finally, we are currently working on a more "worksheet" style interface,
and the first iteration I did was a modification of tiddlywiki
(http://www.tiddlywiki.com) to support axiom and jsMath.  (it runs axiom
without a server using some javascript tricks in firefox)  However this
will definitely not work on windows.

> If not, I am a bit of a Python programmer and I was thinking one way to 
> make it work would be to have Python parse the tex file and take 
> whatever is between the \begin{axiom} and \end{axiom} statements and 
> create an input file for axiom with the output set by the file to go to 
> numbered .tex files.  Python would then replace the \begin{axiom}... 
> with \begin{equation} \input{....###} (i.e. the output files from axiom).

The code is all python but does not run standalone, currently.  Trivial
modifications could be made to make it run standalone.

> But in order to make something like this work, Python needs to be able 
> to call axiom and tell it to run the script (and possibly close axiom 
> afterward).  Is there a way to do this on Windows?  Can it be done with 
> a dos command?

I can't comment on windows...

If you're interested in working on this, please join axiom-developer!
;)


--
forwarded from http://page.axiom-developer.org/zope/mathaction/[EMAIL PROTECTED]


_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to