[sage-devel] Re: sage script / worksheet integration

2009-10-27 Thread zeliboba
>  * Compose a literate Sage program foo.rst in reST, using "sage:" > prompts for code. > >  * Have "sage foo.rst" execute just the code, like doctesting. it does not work, sage does not understand plain rst like this: ---> cut <--- Title 1 === some explanations for the code sage: var(

[sage-devel] Re: sage script / worksheet integration

2009-10-26 Thread Pat LeSmithe
On 10/25/2009 05:50 AM, zeliboba wrote: > great! what is "live doc converter" btw? See docHTMLProcessor.py in $SAGE_ROOT/local/lib/python/site-packages/sagenb/notebook/ Also, look at twist.py's WorksheetFile.render(), which uses the processor to convert a static HTML doc page into an editable w

[sage-devel] Re: sage script / worksheet integration

2009-10-25 Thread zeliboba
great! what is "live doc converter" btw? On Oct 23, 3:30 pm, Pat LeSmithe wrote: > On 10/23/2009 05:23 AM, zeliboba wrote: > > > I started to play with sage recently and noticed that stand-alone > > scripts and worksheets are really decoupled. I would prefer to have > > script, for doing quick a

[sage-devel] Re: sage script / worksheet integration

2009-10-23 Thread Pat LeSmithe
On 10/23/2009 05:23 AM, zeliboba wrote: > I started to play with sage recently and noticed that stand-alone > scripts and worksheets are really decoupled. I would prefer to have > script, for doing quick and dirty calculations, but next it would be > good to use notebook to share it with colleague