On Sun, 26 Sep 2010 at 09:31PM -0700, Ondrej Certik wrote:
> Are there any plans to integrate this with sphinx? Here is an example
> (go to the very end of the page):
>
> http://theoretical-physics.net/dev/src/math/feynman-parameters.html#example-2
>
> currently I need to copy & paste the (latexed) output from sympy by
> hand into the sphinx document. So I was thinking to create something
> like sagetex, but for sphinx.

I've never thought of anything "SageTeX-like" for Sphinx, since I've
never written anything other than Sage docstrings using it.

To get something analogous working for Sphinx, you'd need something in
the Sphinx build process that would call Sage, or write something to a
file that could be processed with Sage. One of the key ideas in SageTeX
is that you can use the usual TeX \newlabel{} and \ref{} to pull in
stuff from an external file. Is there a corresponding mechanism in
Sphinx?

> What are your usage scenarios with sagetex? Do you use it to write
> articles and keep the formulas in some form, that can be manipulated?

A bit. Actually, what I use it most for is doing tables and TikZ plots
for me -- see sections 4 and 6 in the example file [1].

Dan


References:
[1]  https://bitbucket.org/ddrake/sagetex/downloads/example.pdf

--
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to