#10637: Implement sage -sws2rst
------------------------------------------------------------+---------------
       Reporter:  nthiery                                   |         Owner:  
jason, mpatel, was                                                            
           Type:  enhancement                               |        Status:  
needs_review                                                                  
       Priority:  major                                     |     Milestone:  
sage-5.7                                                                      
      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 SimonKing):

 Replying to [comment:119 pang]:
 > For instance, there is no construct for underlined text.

 Didn't know that.

 > If your text is bold and cursive because it is "strong", then this
 script must recognize it and sorround it with asterisks. If it bold and
 cursive because you applied some style, it's not going to work, and it's
 hopeless and a loss of time to try to convert html into rst so that it
 generates html with the exact same style.

 It is bold and cursive because I clicked the bold and cursive buttons in
 the editor that comes with the notebook. Since bold and cursive ''is''
 supported by rst, by uneducated guess is that a converter should be able
 to deal with it.

 > By the way, I don't think rst supports text that is both strong and em

 OK, if that's the case then I have to withdraw my previous statement, and
 the converter can of course not deal with it.

 > Regarding indentation, please think which html tag would correspond to
 the text you wanted to indent: is it a quote? is a code snippet? Then a
 sws to rst converter will have a chance.

 Indentation is indentation, I'd say. It isn't code, because it is in a
 text field, and not in a code cell. It isn't a quote because -- well, I
 don't have the notebook open, but I think the editor has some button to
 typeset quotes, and I didn't click this.

 > This said, thanks a lot for trying the code, and finding the h5 bug. For
 some reason, I stopped at h4: there are only 5 levels, are there?.

 I don't know. But in any case, I am aware that no converter will work
 perfectly, and I need to edit the result anyway.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10637#comment:120>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to