On Mon, Nov 17, 2008 at 11:28 AM, Christoph Bichler
<[EMAIL PROTECTED]> wrote:
>
> I'm sorry I didn't ask more precisely..
> Yes, that's what I actually meant to ask.
> I want to save e.g. latex(x) to a .tex file.
> I'm using Sage on Windows, with the VMware image.

Here's an example (without the prompts):

sage: f = integrate(sin(x^2))
sage: f
sqrt(pi)*((sqrt(2)*I + sqrt(2))*erf((sqrt(2)*I + sqrt(2))*x/2) +
(sqrt(2)*I - sqrt(2))*erf((sqrt(2)*I - sqrt(2))*x/2))/8
sage: open('f.tex','w').write(latex(f))

If you do this in the notebook, you'll get a link to a file f.tex, which
you can then right click --> save as, to save under windows.

I published the above example on the public sage notebook server:

http://sagenb.org/home/pub/78/

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to