Hello Sebastian, On Mon, 06 Dec 2010 at 08:50AM -0800, slabbe wrote: > ============== > sage -rst2html > ============== > > It would be nice to implement the command: > > sage -rst2html input.rst output.html > > that would convert a rst file into a html file like does the usual > command: > > rst2html.py input.rst output.html > > but using the defaults roles for Sage documentation, i.e. `text in > single backquotes` interpreted as latex and recognizing other macros > like `\ZZ`.
[...] > ============= > sage -rst2sws > ============= > > As I prefer to edit text files but still like the Sage Notebook to > give presentations, it would be really nice to implement the command: > > sage -rst2sws demo.rst demo.sws > > Of course, in this case, the docutils package does not provide the > command rst2sws. Right now, there is a way do it (Nicolas ThiƩry and > Florent Hivert both use this trick) through the Sage Documentation > Docbuild system: This reminds me of Rob Beezer's TeX-to-sws converter. Both of your scripts sound like good ideas -- I'd like to see more tools that make it easy to write about Sage. File some trac tickets! Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature