Closed agstephens closed 3 years ago
conda package nbconvert
exists. Including in new candidate release. But still need to check about webpdf.
Working for conversion to python scripts (with jupyter nbconvert --to python my_notebook.ipynb
). Conversion to HTML also working.
Webpdf component is not installed. In any case, standard pdf conversion is also broken because necessary LaTeX components are unavailable. Attempts to install these, either via RPM or via conda resulted in a lot of probably irrelevant packages but still did not provide all the necessary components (style sheets etc). A comment at https://forums.centos.org/viewtopic.php?t=54410 states "TeXlive in distros like CentOS 7 is crippled" and maybe this applies also to Conda? (That comment then recommends "Install the regular TeXlive" and links to a page, which says to download and run the TeXlive installer, not something we can do on JASMIN.)
We are already going to be installing various texlive components via RPMs (new jasmin-sci release) for sake of matplotlib users, but if we can't easily get the extra needed for nbconvert
, then I think we should leave it.
The title of this ticket suggests that output as python scripts is the objective in any case....
@agstephens If python script output is all we require, then this ticket can be closed, because that functionality is already in there (environment for autumn release) and working.
discussed, and agreed that we just add it for python script output support. Closing.
https://nbconvert.readthedocs.io/en/latest/usage.html
Need: