#10637: Implement sage -sws2rst
------------------------------------------------------------+---------------
       Reporter:  nthiery                                   |         Owner:  
jason, mpatel, was                                                            
           Type:  enhancement                               |        Status:  
needs_work                                                                    
       Priority:  major                                     |     Milestone:  
sage-5.4                                                                      
      Component:  notebook                                  |    Resolution:    
                                                                            
       Keywords:  ReST, worksheet                           |   Work issues:  
answer questions, math formatting, lists, maybe absolute paths?               
Report Upstream:  Workaround found; Bug reported upstream.  |     Reviewers:  
Nicolas ThiƩry, Jason Grout, Karl-Dieter Crisman, Jason Bandlow, John Palmieri
        Authors:  Pablo Angulo, Karl-Dieter Crisman         |     Merged in:    
                                                                            
   Dependencies:  #11080, #11459                            |      Stopgaps:    
                                                                            
------------------------------------------------------------+---------------

Comment (by kcrisman):

 > > * What if there was an anchor tag that was NOT an "href"?  There are
 other uses for anchors.
 >
 > ok, done.
 Good solution.  Since in ReST things are supposed to be unique, there
 could conceivably be some nastiness if one had links in several worksheets
 that pointed to the same thing, but that would be fixable by the user.

 > > * <p> could be appended to no purpose; I guess this counts heavily on
 all tags being properly paired
 >
 > can you give an example? I've tried several configurations and
 BeautifulSoup seems pretty robust
 If I could, I can't any more.  We'll let it pass.

 > > * In the table, I suppose it's at least possible there could be a
 tfoot element.  Does this not come out of TinyMCE?
 >
 > No, TinyMCE does not use the footer, but it's no big deal: now we take
 care of both.
 Ok.
 >
 > > * What other preformatted text <pre> do we expect?  Should they all be
 ::'ed?
 >
 > please detail
 I don't remember any more.  I think that I was just wondering what sort of
 other things might end up in a <pre> tag, and whether some might not be
 "block literals" in Sphinx terms.  I don't know the answer to this.

 > > * I know this might not happen a lot, but in theory a cell could do
 sage: sage: sage: and it should all be removed... not that this is a very
 big deal.
 >
 > forgot that one, so I'll leave that to a further patch

 Well, and hopefully it would all doctest correctly.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10637#comment:82>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to