From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: sagemath in context
Date: Tue, 28 Apr 2009 12:19:28 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.00.0904281212570.10049@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <loom.20090428T122931-814@post.gmane.org>
On Tue, 28 Apr 2009, curiouslearn wrote:
> Hi,
>
> I know that Context is developing rapidly and the top guys here are all very
> busy with these development efforts. But I thought I would just float this idea.
>
> There is an open source mathematics software system called sagemath which aims
> to be a viable substitute to Mathematica and Maple. The link is
>
> http://www.sagemath.org/
>
> There exists a latex package called sagetex, which allows using sagemath
> functions from within latex. The following link on ctan has some examples
>
> http://www.ctan.org/tex-archive/macros/latex/contrib/sagetex/
>
> Do you think it is possible to do a similar thing in Context?
Have a look at the r module in the distribtuion, m-r.tex. It does
something similar, but uses R instead on sage. It should be possible to
copy code from there and translate it for sage.
> It would be really
> cool if this functionality is added to Context.
Simple things like multiplication and basic algebra can be done using
calcmath. See, for example,
http://www.tug.org/pipermail/tugindia/2008-December/004714.html
But we should not write a CAS in lua. There are plenty of good ones out
there.
> What do the experts here think?
How much does it rely on SAGE. For example, one the examples in the
manual says that \sage{matrix([1,2], [3,4])^2} is converted into a
\begin{array}
...
\end{array}
block. Most likely, this conversion is done by sage. Is it possible to
change a few functions in sage so that the output is in ConTeXt syntax?
Regarding graphics, gnuplot tries hard to ensure that document fonts are
used in plots. I don't know how easy it is to do such things with sage and
R.
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-04-28 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-28 12:38 curiouslearn
2009-04-28 14:09 ` Yue Wang
2009-04-28 16:19 ` Aditya Mahajan [this message]
2009-04-28 23:43 ` curiouslearn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.00.0904281212570.10049@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).