#17498: Pictures in the doc through ".. plot::" directive
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_review
           Type:         |    Milestone:  sage-6.5
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  documentation          |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  bfdc22287e8f702e394753f0dbd55896d045282c
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/17498           |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by vbraun):

 This is not about adding all plots from doctests, only from the special
 `..plot:` sphinx environment.

 Pictures should never be added to the repo if it can be avoided.

 How about rename `draw(plot)` to `sphinx_draw(plot)` to make it clear that
 this is specific to the docbuilder. We could add an option to specify the
 appropriate output format, but anything that is not just png will need
 special care. For example, vector graphics output must be genenrated as
 svg + pdf for the html and pdf documentation.

 For the doctest syntax to make sense we would have to support the sage:
 prompt instead of >>> and so on. This can be move to a separate ticket.

--
Ticket URL: <http://trac.sagemath.org/ticket/17498#comment:30>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to