On Wed, Aug 5, 2009 at 4:29 PM, John H Palmieri <[email protected]>wrote:
> > Should we allow the inclusion of pictures in the reference manual? Yes, definitely. The only possible reason not to have pictures is not being able to figure out how to include pictures. William > 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. Nice. William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
