#10637: Implement sage -sws2rst
----------------------------+-----------------------------------------------
Reporter: nthiery | Owner: jason, mpatel, was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7
Component: notebook | Keywords: ReST, worksheet
Author: Pablo Angulo | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by nthiery):
Hi Pablo!
I just used your script for preparing my next demo from a previous
worksheet. It worked smoothly, thanks so much! It would be really good
to get this in; alas, I don't feel qualified to review code touching
the notebook. A couple tiny comments:
* Could you add the installation instructions to the ticket
description? This will make Jeroen happy :-)
* I had to fix the execution rights on the script:
{{{
chmod +x /opt/sage/local/bin/sage-sws2rst
}}}
* Shall the advertisement of the option appear in {{{sage -h}}} or
{{{sage -advanced}}}. I could argue for {{{sage -h}}} since this
functionality is for sage users as much as developpers.
* Support for converting several sws at once would be handy.
* I got this warning each time I ran the script:
{{{
/opt/sage/local/bin/sage-sws2rst:19: RuntimeWarning: tempnam is a
potential security risk to your program
tempname = os.tempnam('.')
}}}
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10637#comment:9>
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.