-
Notifications
You must be signed in to change notification settings - Fork 564
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
Consider using librsvg over Inkscape #745
Comments
svg42pdf looks like a handy tool for this, though I'm a bit wary that it might produce confusingly different results on different systems depending on what tools are installed. I think we went with inkscape because there's a good chance of users already having it installed, but it's definitely not optimal for installing into docker containers for this functionality. |
As of macOS 10.15 "Catalina", the stable version of Inkscape no longer runs (it's 32-bit), and the Inkscape 64-bit beta lacks the "inkscape" command-line executable. You may want to look at the recently released CairoSVG https://cairosvg.org as an alternative. |
That might be something to investigate for nbconvert 6 release. We should take a closer look at the library. |
If |
FYI, a windows version is now available: conda-forge/librsvg-feedstock#45 |
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there: https://discourse.jupyter.org/t/svg-in-jupyter-conversion-with-nbconvert-fails/2724/15 |
See JuliaLang/IJulia.jl#1038 (comment) on how to configure
See JuliaPlots/Plots.jl#4288 about a possible solution for |
Inkscape has been removed from the minimal-notebook: jupyter/docker-stacks#1765 @clkao May you close this issue? FYI @mathbunnyru |
Inkscape, which is now in the minimal-notebook image, pulls in about 120M dependency. For standalone use it's also an additional requirement to install a large GUI app.
We should consider using librsvg-convert or svg42pdf python library.
The text was updated successfully, but these errors were encountered: