+1 I like this idea. I wonder if another possibility is to simply have a local link which notebook users could click on? I also wonder what would happen on command line if you typed "plot?", where the docstring for plot had a picture?
On Wed, Aug 5, 2009 at 7:29 PM, John H Palmieri<jhpalmier...@gmail.com> wrote: > > Should we allow the inclusion of pictures in the reference manual? We > could have a directory > > SAGE_ROOT/devel/sage/doc/en/reference/pictures > > and then in docstrings in the Sage library code, a line like > > .. image:: ../../pictures/sphere.png > > would include the picture in the reference manual. (This is for a > file in sage/sage/MODULE/FILE.py; adjust the number of "../"s for > files in sage/sage/MODULE/SUBDIRECTORY/FILE.py, etc.) I haven't > figured out how to get the pictures to appear when you view the > docstrings in the notebook, but I haven't worked at it very much. > > John > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---