You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm currently embedding an SVG into a RestructuredText document using this code:
.. image:: https://api.star-history.com/svg?repos=wildmountainfarms/solarthing&type=Date:target:https://star-history.com/#wildmountainfarms/solarthing:alt:Star History Chart
Putting this in my Sphinx documentation works perfectly for HTML, but is subpar when generating my PDF. latexpdf does support SVG images, however, it internally renders the SVG to an image via ImageMagick. I've found this to work OK, but an actual image would be better in my particular situation. Plus the resulting PNG doesn't look quite right.
I was hoping for an API to download the PNG image, but replacing svg with png didn't seem to work.
I was wondering if this feature already did exist, will exist, or if there's a reason it doesn't exist. I love SVGs, but I was hoping an additional PNG option could be provided.
The text was updated successfully, but these errors were encountered:
Hi, I'm currently embedding an SVG into a RestructuredText document using this code:
Putting this in my Sphinx documentation works perfectly for HTML, but is subpar when generating my PDF.
latexpdf does support SVG images, however, it internally renders the SVG to an image via ImageMagick. I've found this to work OK, but an actual image would be better in my particular situation. Plus the resulting PNG doesn't look quite right.
I was hoping for an API to download the PNG image, but replacing
svg
withpng
didn't seem to work.I was wondering if this feature already did exist, will exist, or if there's a reason it doesn't exist. I love SVGs, but I was hoping an additional PNG option could be provided.
The text was updated successfully, but these errors were encountered: