-
Notifications
You must be signed in to change notification settings - Fork 70
Can you please install the package "librsvg2-bin"? #78
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
Labels
Improvement
Minor improvement to code
Milestone
Comments
Moving this to our docker build images, this is feature addition there. Edit: thanks GitHub issue transfer! 🎉 |
Also, the change is pretty easy, feel free to open a PR against our master branch |
mgeier
added a commit
to mgeier/readthedocs-docker-images
that referenced
this issue
Nov 12, 2018
Merged
Thanks @agjohnson, I've created #79, I hope that's the right way. |
FYI, the issue transfer disabled two issue links in the original issue description. |
lentinj
added a commit
to mahlberg-lab/clic
that referenced
this issue
Dec 6, 2018
readthedocs doesn't support converting the SVG logo to PDF, so we can use it in LaTeX. Ideally we would use https://github.com/sephalon/sphinxcontrib-svg2pdfconverter and convert to PDF, but rsvg-convert isn't available in RTD yet: readthedocs/readthedocs-docker-images#78 readthedocs/readthedocs-docker-images#79
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would allow auto-converting SVG images to PDF images with the Sphinx extension https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter.
There is an old issue about converting SVG to PDF which would be properly solved by this: #905.
Alternatively, Inkscape could be installed, but
librsvg2-bin
is much more lightweight, even more so since its dependencylibrsvg2-2
seems to be already installed.Using the built-in Sphinx extension
sphinx.ext.imgconverter
(http://www.sphinx-doc.org/en/master/usage/extensions/imgconverter.html) would be and alternative (but much inferior) solution. This usesconvert
from ImageMagick (see #3979 and #70), which rasterizes vector graphics and produces bitmaps.Expected Result
When the PyPI package
sphinxcontrib-svg2pdfconverter
is installed and'sphinxcontrib.rsvgconverter'
is listed in theextensions
inconf.py
, SVG images should be automatically be converted to PDF images to be included in the LaTeX/PDF output.Actual Result
The text was updated successfully, but these errors were encountered: