#17308: Fix sws2rst
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.4
      Component:  scripts            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Karl-Dieter        |    Reviewers:  Jeroen Demeyer, Karl-
  Crisman, Jeroen Demeyer            |  Dieter Crisman
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/ticket/17308            |  6eed79ee5a93f42f10389978370ba4994a3d8a02
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by kcrisman):

 > > I guess it comes down to whether it's worse to have references that
 don't work in the rst file, or no rst file at all, and I would lean
 middling-heavy on the latter.
 >
 > A compromize could be to have an option `--rst-only` to create
 '''just''' the `.rst` file without the images.

 We already have the help and sphinxify options, that seems reasonable.
 Something like
 {{{
 parser.add_option("--rst-only",
                   action="store_true", dest="rst_only",
                   help="Create just a .rst file, without images or other
 resources")
 }}}
 I'm in the middle of a different branch right now, unfortunately, and am
 not yet comfortable enough with `git stash` to deal with this... - we'd
 need to update `usage` as well.

 Incidentally, the jmol images now start with pngs so it could be possible
 to extract those as well - obviously, not here!

--
Ticket URL: <http://trac.sagemath.org/ticket/17308#comment:17>
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