#10652: Add support for uploading static html doc page as a worksheet in the
notebook
--------------------------------------+-------------------------------------
Reporter: nthiery | Owner: nthiery
Type: enhancement | Status: needs_review
Priority: critical | Milestone: sage-4.7
Component: notebook | Keywords: days28, Sphinx, upload,
static html documentation
Author: Nicolas M. ThiƩry, ... | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------------+-------------------------------------
Comment(by nthiery):
Replying to [comment:13 kcrisman]:
> This would be a nice change. See also
[https://bitbucket.org/whuss/sws2tex/ sws2tex] and
[https://bitbucket.org/rbeezer/tex2sws/ tex2sws] for related projects.
>
> I am sorry that I can't review this and test it properly right now,
though the code seems ok in the main. What does the "assert False" do - I
know what assert usually does, but I assume this is some special use of
that statement?
Just a big fat advertisement that the execution flow is not supposed
to get there :-)
A proper assertion should be raised instead, but as the comment
states, I would need to have some feed back from the notebook people
to know which assertion would be most appropriate here.
Ok, I guess I'll just raise an RunTimeError for the moment.
> Also, it would perhaps be better to us os.path or something like that
> {{{
> sage: a = "http://www.me.com/mysheet.sws"
> sage: os.path.splitext(a)
> ('http://www.me.com/mysheet', '.sws')
> }}}
> in twist.py and then just check the `result[1]` for the extensions that
are allowed all at once, keeping that for glueing on later, also with
os.path?
Will do now.
> By the way, you could perhaps just use this on your combinat
> server - sometimes people put custom patches on servers, it's not
> hard to do if you're the admin. That would keep it from being quite
> as critical to the rest of Sage.
The point is that we want to use this feature with the very first
tutorials. In particuliar with complete newbies. If using Sage starts
by having to apply a patch, we are going to scare them away :-) And
many of them won't have the required development tools to install the
Sage-Combinat queue, etc.
Thanks for your comments,
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10652#comment:14>
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.