#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 | Stopgaps:
------------------------------------------------------------+---------------
Comment (by pang):
Thanks a lot for you care Karl.
I downloaded a source version of sage 5.0.1, and tried to:
"Apply trac_10637-root.patch to the root repository", with the result:
{{{
patching file spkg/bin/sage
Hunk #1 FAILED at 189
Hunk #2 succeeded at 397 (offset -23 lines).
1 out of 2 hunks FAILED -- saving rejects to file spkg/bin/sage.rej
patch failed to apply
spkg/bin/sage
patch failed, rejects left in working dir
errors during apply, please fix and refresh trac_10637-root.patch
}}}
where spkg/bin/sage.rej reads:
{{{
--- sage
+++ sage
@@ -190,6 +190,8 @@
echo " reStructuredText source."
echo " -rst2sws [...] -- Generates Sage worksheet (.sws) from
standalone"
echo " reStructuredText source."
+ echo " -sws2rst <sws doc> -- Generates a reStructuredText source
file from"
+ echo " a Sage worksheet (.sws) document."
echo
####
1.......................26..................................................78
}}}
What am I dong wrong?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10637#comment:54>
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.