Do you want this:
In [1]: var('x_1 x_2 x_n')
Out[1]: (x_1, x_2, x_n)
In [2]: x_1 + x_2 + x_n
Out[2]: x_1 + x_2 + x_n
By,
Friedrich
By,
Friedrich
We use sphinx -- but I think you meant that you *know* how we manage
documentation?
>
> Then I try another way to make "interactive" document of sympy as
> follows:
>
> 1. Use TeXmacs to import (or open) sympy doc ( $sympy/html/
> tutorial.html#calculus );
> 2. Use embedding TeXmacs python session to run python code directly
> within TeXmacs. TeXmacs will call python to run the code and show the
> result. This part owns the interactive feature!
> 3. Moreover, TeXmacs supports flexible output formats, including pdf.
>
> Any interesting, reference test TeXmacs file (tm format) and pdf file
> from:
>
> http://diffusion.cgu.edu.tw/ftp/TeXmacs/sympy_tut.tm (and
> sympy_tut.pdf)
>
> Hope this might have help.
Thanks for the information. Are you using the texmacs files from
data/TeXmacs/? (In our git version)
It may be useful too for you.
Ondrej