John H Palmieri wrote:
> On Aug 5, 4: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.
> 
> There is now a ticket for this with a patch; please take a look.
> 
> <http://trac.sagemath.org/sage_trac/ticket/6685>

There is a companion ticket for converting reference manual pages into
live worksheets

http://trac.sagemath.org/sage_trac/ticket/6694


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to