-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PDF rendering #577
Comments
Yeah, latex rendering is extremely resource intensive. I think this is more "nbconvert as a remote API" than actually for the nbviewer itself. |
I agree, but considering how hard latex can be to setup locally for several people, I do think it is a worthwhile thing to do. |
Yeah, the other somewhat promising approach (pdf via headless webkit) is Fonts are kind of an issue, still working through. This is germane to one theme of perhaps we make it distributed? nbviewer@home? the search for archival, Actually, that's less crazy than it sounds... torrents are a beautiful On Mon, Feb 22, 2016 at 2:10 PM Yuvi Panda notifications@github.com wrote:
|
@bollwyvl ah, I've been thinking that IPFS (IPFS.io) and notebooks are a great fit :D |
Notebooks in spaaaaace! We're working on an extension for uploading to anaconda.org, but have already discussed renaming it to nb_publish and offering github/gist/s3 uploading... or at least the UI/API hooks! I think some kind of DHT (or whatever the IPFS merkledag is) publish would be dominate each of those for every aspect save, perhaps apparent security... because torrents are scary 👻 But throw some encryption at it, and it'll be better than putting it in the cloud. More like the Oort cloud. One could choose to include any of the following:
I don't think nbviewer would get involved in this particular game... but it wouldn't have to :) i imagine a binary (or conda-based) distribution of ipfs would be pretty trivial for most users to adopt that were willing to accept the peer-to-peer model. then it's just a touch of UI:
For humor, here's a sort of self-IPFS-quining notebook using nbpresent: I've killed my daemon and removed all my creds, and it still appears to be loading, so I'll be interested to see how it lives on. Fantastic stuff! |
@bollwyvl :D <3 YES! We should move that conversation off this ticket to somewhere else tho. |
ipynbfs ? |
@yuvipanda As an alternative to nbviewer, you might want to consider creating PDFs on readthedocs.org. You can use nbsphinx to compile one notebook or several notebooks to PDF via Sphinx. The nice thing is that this can be done automatically on readthedocs.org. You can even execute your notebooks on the server (I think there is a 15-minute maximum runtime, though). Here's an example for a PDF file created on readthedocs.org: https://media.readthedocs.org/pdf/nbsphinx/latest/nbsphinx.pdf Note, however, that there is currently a problem: readthedocs/readthedocs.org#2127 (UPDATE: the problem is solved by upgrading to Sphinx >= 1.4). |
Would be quite cool, but also possibly more taxing on resources (at least for the public viewer).
Maybe could add it, and disable it for the public nbviewer (or just enable it, and disable it if it takes up too much resources?)
The text was updated successfully, but these errors were encountered: