[sage-support] line numbering

2011-11-18 Thread rych
Would it be possible to add line-numbering to the cell textarea? I've heard of two methods: either a thin background image cropped or another textarea glued to the left. Alternatively, CodePress or other web-editors. Links in the thread below, http://stackoverflow.com/questions/1995370/html-adding

Re: [sage-support] Interrupted Sphinx docstrings

2011-11-18 Thread Keshav Kini
A little off topic, but you might be interested in PyLit ( http://pylit.berlios.de/index.html ), which allows you to do semi- literate programming with reStructuredText and Python. Not many implications to Sage development, at least right now. -Keshav Join us in #sagemath on irc.freenode.

Re: Re : [sage-support] Sagetex problem with caption.

2011-11-18 Thread Steven McKay
Thanks! And so apparently this wasn't a sagetex problem after all. I did try \protect earlier, but must have done it wrong ... On Nov 18, 11:58 am, Colombel Bruno wrote: > -> Hi, in \caption (or \section) you need to protect somme "weak" > commands. try with : > > \caption{Test with sage i

[sage-support] Re: problems launching Sage on a Mac

2011-11-18 Thread Raymond N. Greenwell
That worked! Sage is now up and running. Thanks!!! On Nov 17, 4:50 pm, John H Palmieri wrote: > On Thursday, November 17, 2011 1:25:47 PM UTC-8, Raymond N. Greenwell wrote: > > > I got XCode 3.2.6 downloaded and running. Now what? > > Download the Sage source tarball from >

Re: [sage-support] Interrupted Sphinx docstrings

2011-11-18 Thread Nathann Cohen
> No, it's not possible since the second string doesn't get saved > anywhere.  Sphinx doesn't parse the module, it just reads the Python > created docstrings, and only the first is saved under module.__doc__. > If you want more control over the resulting documentation, just create > a .rst file in

Re: [sage-support] Interrupted Sphinx docstrings

2011-11-18 Thread Mike Hansen
Hello, On Fri, Nov 18, 2011 at 1:48 AM, Nathann Cohen wrote: > Would anyone know if it is possible in a module's docstring to > "interrupt" the documentation ? > > I would like to write something like that : > > "This module deals with []. Here is the first block of functions" > > def functio

Re : [sage-support] Sagetex problem with caption.

2011-11-18 Thread Colombel Bruno
De : Steven McKay À : sage-support Envoyé le : Vendredi 18 Novembre 2011 12h46 Objet : [sage-support] Sagetex problem with caption. I am using sagetex to write a document (may become a book), and am running into some difficulties.  If I use the \sage comma

[sage-support] Sagetex problem with caption.

2011-11-18 Thread Steven McKay
I am using sagetex to write a document (may become a book), and am running into some difficulties. If I use the \sage command inside of a caption or inside of a tabular environment, LaTeX chokes. Here is a sample code that illustrates the problem: \documentclass[12pt]{memoir} \usepackage{sagetex

[sage-support] Re: Interrupted Sphinx docstrings

2011-11-18 Thread Simon King
Hi Nathann, On 18 Nov., 11:06, Nathann Cohen wrote: > Hello !! > > Nonono, I want the docstring to be seen by sphinx, only it is not and I > would like it to be otherwise ! When I add this "And here is the second > one" in the middle of the document, it just does not appear in the HTML > docu

Re: [sage-support] Interrupted Sphinx docstrings

2011-11-18 Thread Nathann Cohen
Hello !! Nonono, I want the docstring to be seen by sphinx, only it is not and I would like it to be otherwise ! When I add this "And here is the second one" in the middle of the document, it just does not appear in the HTML documentation ! :-/ Nathann -- To post to this group, send emai

Re: [sage-support] Interrupted Sphinx docstrings

2011-11-18 Thread Laurent
Le 18/11/2011 10:48, Nathann Cohen a écrit : Hello everybody !!! Would anyone know if it is possible in a module's docstring to "interrupt" the documentation ? I'm not sure I understand the question, but what about def function(): r"""the function's documentation""" #And here is the sec

[sage-support] Interrupted Sphinx docstrings

2011-11-18 Thread Nathann Cohen
Hello everybody !!! Would anyone know if it is possible in a module's docstring to "interrupt" the documentation ? I would like to write something like that : "This module deals with []. Here is the first block of functions" def function(): r"""the function's documentation""" "And here