-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Convert svg images to png for pdf documentation #3979
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
Comments
This is a sphinx issue sphinx-doc/sphinx#4720. There are some solutions there. |
Hi,
How can it be fixed? |
I'm not sure how the imagemagick plugin works, I'll try to search about that later |
Ok, reading the docs http://www.sphinx-doc.org/en/master/ext/imgconverter.html RTD needs to install This would be a feature request. |
…vg > pdf conversion (readthedocs/readthedocs.org#3979). Added path to svg image as alternative link instead
Alternatively, the extension |
Tbh. I don't care very much about the 'how', but I would definitely like to see vector graphics used at readthedocs in exported pdfs. I'm trying to build an Inkscape Manual here.... |
I suppose that this extension needs readthedocs/readthedocs-docker-images#79 ( By default, without any kind of extension, Sphinx will automatically use If I'm right in both, I would say that we want to add |
I read your suggestion from readthedocs/readthedocs-docker-images#70 (comment) and I think that I'm right and you have a point with that extension. Although, I think we should support both possibilities. |
Yes, it needs the
You still need to explicitly enable the built-in extension
I agree, having both would be good. Even though most of the times SVG -> PDF looks better, there are also cases where SVG -> PNG is preferable (e.g. when the SVG is overly complex). |
@mgeier thanks! I'm closing this issue in favor of readthedocs/readthedocs-docker-images#78 and readthedocs/readthedocs-docker-images#79 and readthedocs/readthedocs-docker-images#80 |
Details
Expected Result
Hi,
I have some svg dynamically generated server-side by external services (badges).
Is it possible to automatically convert them to png in the pdf documentation?
Actual Result
Currently they doesn't appear at all in the pdf.
The text was updated successfully, but these errors were encountered: