Skip to content

Look into the conversion of SVGs, for use in LaTeX #178

Open
@chrisjsewell

Description

@chrisjsewell

How do you trigger the conversion though

For SVG in standard rST files the conversion is just triggered by adding the extension to conf.py (sphinx.ext.imgconverter or sphinxcontrib-svg2pdfconverter).
Obviously without either of these extensions loaded, having only SVG will definitely fail at present.

The two sphinx extensions I mentioned do it on the sphinx end (prior to writing latex): this could be an issue, given that we inject the image into the doctree at quite a late stage (hence why I am not certain of compatibility). In the last few years there is now also a latex package which does similar on the latex end: https://ctan.org/pkg/svg?lang=en, which may be another option.

This should be raised as an issue to look into as a long-term goal

Originally posted by @chrisjsewell in #176 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions