#10637: Implement sage -sws2rst
------------------------------------------------------------+---------------
Reporter: nthiery | Owner:
jason, mpatel, was
Type: enhancement | Status:
needs_review
Priority: major | Milestone:
sage-5.2
Component: notebook | Resolution:
Keywords: ReST, worksheet | Work issues:
Report Upstream: Workaround found; Bug reported upstream. | Reviewers:
Nicolas ThiƩry, Jason Grout, Karl-Dieter Crisman, Jason Bandlow
Authors: Pablo Angulo, Karl-Dieter Crisman | Merged in:
Dependencies: #11080, #11459 | Stopgaps:
------------------------------------------------------------+---------------
Comment (by pang):
Thanks again, Karl. I will address most comments later, after some
experiment, but I'd love to hear your opinion on one of them. You said:
Replying to [comment:59 kcrisman]:
> * In results sections, is all html being removed? Is there a reason for
this? I assume that this is to take care of a specific type of result
that can occur that I can't think of right now. After all, a Sage cell is
a Python cell, and html certainly could be legitimate output.
What should I do? I don't feel like parsing it into rst, because it's
output, and parsing is lossy. I cannot be too literal either, because I
have to leave something that works when the rst files are rendered into
html, tex or whatever.
The question is related to others, like the one on tracebacks for example.
I didn't like long tracebacks in the docs, which would scare my non-
technical prospective readers. Should I rewrite sws2rst to incorporate
several config options, like long_tracebacks or parse_html_in_results or
replace_monospace_font_by_code_tags? Can you think of others?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10637#comment:60>
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.