Re: [sage-edu] Re: converting notes to a Sage notebook

2010-01-08 Thread Dana Ernst
On Jan 8, 2010, at 2:38 AM, dimpase wrote: Let me know if you want to see the corresponding LaTeX files. (Can I post attachments here? I can't upload .tex files to Google Docs.) just add 2nd .txt extension to your .tex files, i.e. name them foo.tex.txt instead of foo.tex, and you can jol

Re: [sage-edu] Re: converting notes to a Sage notebook

2010-01-07 Thread jason-sage
kcrisman wrote: hide the whole cell. A %auto will execute a cell when you open the worksheet (IIRC). I think the %hide always has to be first. Some combination of these might lead to appealing worksheets with diagrams visible and code hidden, but executed. Experiment. Yes. However, I

Re: [sage-edu] Re: converting notes to a Sage notebook

2010-01-07 Thread Dana Ernst
> 1. Backslashes > At the Sage command line the help shows the two backslashes, but in > the notebook the help gets Sphinx-icated (which is very nice!) but the > double slash gets clobbered. LaTeX, escape codes, Python string, > Python raw strings, Sphinx are all interacting improperly here. I'm

Re: [sage-edu] Re: converting notes to a Sage notebook

2010-01-06 Thread Dana Ernst
On Jan 5, 2010, at 6:37 PM, Rob Beezer wrote: >> When I typed latex.add_to_preamble() I received a message saying that I >> needed to provide two parameters. When I typed the command without the (), >> I got: >> >> \newcommand{\Bold}[1]{\mathbf{#1}}\hbox{ < bound method >> Latex.add_to_pre

Re: [sage-edu] Re: converting notes to a Sage notebook

2010-01-05 Thread Dana Ernst
On Jan 5, 2010, at 4:00 PM, Rob Beezer wrote: > On Jan 5, 12:40 pm, Dana Ernst wrote: >>> If you have latex installed on the sage server, it can format and display >>> latex figures in the notebook. >> >> Currently, we don't have a local server. Mostly, I've been running Sage on >> my deskt

Re: [sage-edu] Re: converting notes to a Sage notebook

2010-01-05 Thread Dana Ernst
> Sphinx can also use jsmath to format tex. I think we use images by default > for some reason. I have no idea what Sphinx is... > Dana, in addition to Rob's work on this over the next while, you probably saw > the sage-devel post about the NSF CCLI proposal we are submitting to make the > pr

Re: [sage-edu] Re: converting notes to a Sage notebook

2010-01-05 Thread jason-sage
Rob Beezer wrote: 7. There has been discussion about writing in ReST and using Sphinx to produce worksheets. This converts the TeX to images (which don't scale nicely, etc), but this is another process to consider. Sphinx can also use jsmath to format tex. I think we use images by defa