Cameron Laird schrieb: > Some images are straightforward to manage; I certainly > know what to do with a PNG or JPEG, for example. > > I have diagrams that are best maintained as vector-based > graphics, though. How does Sphinx handle that? Are > there Sphinx automations for transformation of SVG to > TeX or images embeddable in HTML? Is the Sphinx attitude, > "use a browser that supports SVG"? Are there plans for > enhancement in this area? How should I think about > maintenance of vector-based graphics within a Sphinx > project?
I had thought about some automatic image conversion in the past but since PNG is a nice format for both HTML and PDF output, it hasn't been done. SVG is another story: Sphinx cannot e.g. provide an SVG renderer (it could do raster image conversion via PIL), it's probably best if you add a build step yourself that uses some renderer to create embeddable PNG and PDF versions. Georg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
