././@PaxHeader0000000000000000000000000000003300000000000010211 xustar0027 mtime=1772734946.283309 sphinxcontrib_svg2pdfconverter-2.1.0/0000775000175000017500000000000015152344742017410 5ustar00thomasthomas././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1673633696.0 sphinxcontrib_svg2pdfconverter-2.1.0/LICENSE.txt0000664000175000017500000000261214360317640021231 0ustar00thomasthomasIf not otherwise noted, the extensions in this package are licensed under the following license. Copyright (c) 2018-2023 by Missing Link Electronics, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ././@PaxHeader0000000000000000000000000000003300000000000010211 xustar0027 mtime=1772734946.283309 sphinxcontrib_svg2pdfconverter-2.1.0/PKG-INFO0000644000175000017500000000635115152344742020510 0ustar00thomasthomasMetadata-Version: 2.4 Name: sphinxcontrib-svg2pdfconverter Version: 2.1.0 Summary: Sphinx SVG to PDF or PNG converter extension Author-email: Stefan Wiehler License-Expression: BSD-2-Clause Project-URL: Homepage, https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter Project-URL: Download, https://pypi.org/project/sphinxcontrib-svg2pdfconverter Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Console Classifier: Environment :: Web Environment Classifier: Framework :: Sphinx :: Extension Classifier: Intended Audience :: Developers Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Documentation Classifier: Topic :: Utilities Requires-Python: >=3.6 Description-Content-Type: text/x-rst License-File: LICENSE.txt Requires-Dist: Sphinx>=1.6.3 Provides-Extra: cairosvg Requires-Dist: cairosvg>=1.0; extra == "cairosvg" Dynamic: license-file ******************************************** Sphinx SVG to PDF or PNG Converter Extension ******************************************** This extension converts SVG images to PDF or PNG in case the builder does not support SVG images natively (e.g. LaTeX). Internally, either `Inkscape `_, ``rsvg-convert`` from `libRSVG `_ or `CairoSVG `_ as progressively more lightweight alternatives are used to convert images. Installation ============ Just install via ``pip``: .. code-block:: console $ pip install sphinxcontrib-svg2pdfconverter You can choose between Inkscape, libRSVG and CairoSVG by adding ``sphinxcontrib.inkscapeconverter``, ``sphinxcontrib.rsvgconverter`` or ``sphinxcontrib.cairosvgconverter`` to the ``extensions`` list in your ``conf.py``. Make sure to have either ``inkscape`` or the ``rsvg-convert`` command available in your systems ``PATH`` and, if necessary, adapt the ``inkscape_converter_bin`` or ``rsvg_converter_bin`` config value respectively. CairoSVG requires additional dependencies to be installed with: .. code-block:: console $ pip install sphinxcontrib-svg2pdfconverter[CairoSVG] CairoSVG and its dependencies may require additional tools during the installation depending on the OS you are using; see the `CairoSVG documentation `_ for further details. Configuration ============= Inkscape -------- ``inkscape_converter_bin`` Path to Inkscape binary. By default, this is ``inkscape``. ``inkscape_converter_args`` Additional command-line arguments for Inkscape, as a list. By default, this is ``['--export-area-drawing']``. RSVG ---- ``rsvg_converter_bin`` Path to RSVG converter binary. By default, this is ``rsvg-convert``. ``rsvg_converter_format`` The value provided to the RSVG converter's ``--format`` argument when converting to PDF. In more recent RSVG builds, the ``pdf1.5`` format will generate the fewest warnings with LaTeX backends. By default, this is ``pdf``. ``rsvg_converter_args`` Additional command-line arguments for the RSVG converter, as a list. By default, this is the empty list ``[]``. CairoSVG -------- No configuration is required. ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1764614784.0 sphinxcontrib_svg2pdfconverter-2.1.0/README.rst0000664000175000017500000000437015113361200021064 0ustar00thomasthomas******************************************** Sphinx SVG to PDF or PNG Converter Extension ******************************************** This extension converts SVG images to PDF or PNG in case the builder does not support SVG images natively (e.g. LaTeX). Internally, either `Inkscape `_, ``rsvg-convert`` from `libRSVG `_ or `CairoSVG `_ as progressively more lightweight alternatives are used to convert images. Installation ============ Just install via ``pip``: .. code-block:: console $ pip install sphinxcontrib-svg2pdfconverter You can choose between Inkscape, libRSVG and CairoSVG by adding ``sphinxcontrib.inkscapeconverter``, ``sphinxcontrib.rsvgconverter`` or ``sphinxcontrib.cairosvgconverter`` to the ``extensions`` list in your ``conf.py``. Make sure to have either ``inkscape`` or the ``rsvg-convert`` command available in your systems ``PATH`` and, if necessary, adapt the ``inkscape_converter_bin`` or ``rsvg_converter_bin`` config value respectively. CairoSVG requires additional dependencies to be installed with: .. code-block:: console $ pip install sphinxcontrib-svg2pdfconverter[CairoSVG] CairoSVG and its dependencies may require additional tools during the installation depending on the OS you are using; see the `CairoSVG documentation `_ for further details. Configuration ============= Inkscape -------- ``inkscape_converter_bin`` Path to Inkscape binary. By default, this is ``inkscape``. ``inkscape_converter_args`` Additional command-line arguments for Inkscape, as a list. By default, this is ``['--export-area-drawing']``. RSVG ---- ``rsvg_converter_bin`` Path to RSVG converter binary. By default, this is ``rsvg-convert``. ``rsvg_converter_format`` The value provided to the RSVG converter's ``--format`` argument when converting to PDF. In more recent RSVG builds, the ``pdf1.5`` format will generate the fewest warnings with LaTeX backends. By default, this is ``pdf``. ``rsvg_converter_args`` Additional command-line arguments for the RSVG converter, as a list. By default, this is the empty list ``[]``. CairoSVG -------- No configuration is required. ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734587.0 sphinxcontrib_svg2pdfconverter-2.1.0/pyproject.toml0000664000175000017500000000177015152344173022327 0ustar00thomasthomas[build-system] requires = ["setuptools >=61.0.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "sphinxcontrib-svg2pdfconverter" version = "2.1.0" description = "Sphinx SVG to PDF or PNG converter extension" readme = "README.rst" license = "BSD-2-Clause" authors = [ {name = "Stefan Wiehler", email = "sphinx_contribute@missinglinkelectronics.com"}, ] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Web Environment", "Framework :: Sphinx :: Extension", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Documentation", "Topic :: Utilities", ] requires-python = ">=3.6" dependencies = [ "Sphinx>=1.6.3", ] [project.urls] Homepage = "https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter" Download = "https://pypi.org/project/sphinxcontrib-svg2pdfconverter" [project.optional-dependencies] CairoSVG = [ "cairosvg>=1.0", ] ././@PaxHeader0000000000000000000000000000003300000000000010211 xustar0027 mtime=1772734946.283309 sphinxcontrib_svg2pdfconverter-2.1.0/setup.cfg0000664000175000017500000000004615152344742021231 0ustar00thomasthomas[egg_info] tag_build = tag_date = 0 ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1741372425.0 sphinxcontrib_svg2pdfconverter-2.1.0/setup.py0000664000175000017500000000004114762636011021114 0ustar00thomasthomas__import__('setuptools').setup() ././@PaxHeader0000000000000000000000000000003300000000000010211 xustar0027 mtime=1772734946.271309 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/0000775000175000017500000000000015152344742022302 5ustar00thomasthomas././@PaxHeader0000000000000000000000000000003300000000000010211 xustar0027 mtime=1772734946.282309 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/cairosvgconverter/0000775000175000017500000000000015152344742026047 5ustar00thomasthomas././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734523.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/cairosvgconverter/__init__.py0000664000175000017500000000144715152344073030163 0ustar00thomasthomas# -*- coding: utf-8 -*- """ sphinxcontrib.cairosvgconverter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Converts SVG images to PDF or PNG using CairoSVG in case the builder does not support SVG images natively (e.g. LaTeX). See . :copyright: Copyright 2018-2023 by Stefan Wiehler and Copyright 2020 by Marko Kohtala . :license: BSD, see LICENSE.txt for details. """ from .cairosvgconverter import CairoSVGConverter def setup(app): # type: (Sphinx) -> Dict[unicode, Any] app.add_post_transform(CairoSVGConverter) return { 'version': 'builtin', 'parallel_read_safe': True, 'parallel_write_safe': True, } ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734523.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/cairosvgconverter/cairosvgconverter.py0000664000175000017500000000351015152344073032162 0ustar00thomasthomas# -*- coding: utf-8 -*- # SPDX-License-Indentifier: BSD-2-Clause # Copyright (C) 2018-2023 Stefan Wiehler # Copyright (C) 2020 by Marko Kohtala from sphinx.errors import ExtensionError from sphinx.locale import __ from sphinx.transforms.post_transforms.images import ImageConverter from sphinx.util import logging from urllib.error import URLError if False: # For type annotation from typing import Any, Dict # NOQA from sphinx.application import Sphinx # NOQA logger = logging.getLogger(__name__) class CairoSVGConverter(ImageConverter): conversion_rules = [ ('image/svg+xml', 'application/pdf'), ('image/svg+xml', 'image/png'), ] def is_available(self): # type: () -> bool """Confirms if CairoSVG package is available or not.""" try: import cairosvg # noqa: F401 return True except ImportError: logger.warning(__('CairoSVG package cannot be imported. ' 'Check if CairoSVG has been installed properly')) return False def convert(self, _from, _to): # type: (unicode, unicode) -> bool """Converts the image from SVG to PDF or PNG via CairoSVG.""" import cairosvg import pathlib try: # Guess output format based on file extension fmt = pathlib.Path(str(_to)).suffix[1:] if fmt == 'png': cairosvg.svg2png(file_obj=open(_from, 'rb'), write_to=_to) else: cairosvg.svg2pdf(file_obj=open(_from, 'rb'), write_to=_to) except (OSError, URLError) as err: raise ExtensionError(__('CairoSVG converter failed with reason: ' '%s') % err.reason) return True ././@PaxHeader0000000000000000000000000000003300000000000010211 xustar0027 mtime=1772734946.282309 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/inkscapeconverter/0000775000175000017500000000000015152344742026027 5ustar00thomasthomas././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734523.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/inkscapeconverter/__init__.py0000664000175000017500000000151715152344073030141 0ustar00thomasthomas# -*- coding: utf-8 -*- """ sphinxcontrib.inkscapeconverter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Converts SVG images to PDF or PNG using Inkscape in case the builder does not support SVG images natively (e.g. LaTeX). :copyright: Copyright 2018-2023 by Stefan Wiehler . :license: BSD, see LICENSE.txt for details. """ from .inkscapeconverter import InkscapeConverter def setup(app): # type: (Sphinx) -> Dict[unicode, Any] app.add_post_transform(InkscapeConverter) app.add_config_value('inkscape_converter_bin', 'inkscape', 'env') app.add_config_value('inkscape_converter_args', ['--export-area-drawing'], 'env') return { 'version': 'builtin', 'parallel_read_safe': True, 'parallel_write_safe': True, } ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734523.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/inkscapeconverter/inkscapeconverter.py0000664000175000017500000000731215152344073032126 0ustar00thomasthomas# -*- coding: utf-8 -*- # SPDX-License-Indentifier: BSD-2-Clause # Copyright (C) 2018-2023 Stefan Wiehler import re import subprocess from sphinx.errors import ExtensionError from sphinx.locale import __ from sphinx.transforms.post_transforms.images import ImageConverter from sphinx.util import logging from errno import ENOENT, EPIPE, EINVAL if False: # For type annotation from typing import Any, Dict # NOQA from sphinx.application import Sphinx # NOQA logger = logging.getLogger(__name__) class InkscapeConverter(ImageConverter): conversion_rules = [ ('image/svg+xml', 'application/pdf'), ('image/svg+xml', 'image/png'), ] inkscape_version: str = "" def is_available(self): # type: () -> bool """Confirms if Inkscape is available or not.""" try: args = [self.config.inkscape_converter_bin, '--version'] logger.debug('Invoking %r ...', args) output = subprocess.check_output( args, stdin=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) match = re.search('Inkscape (.+)', output) if not match: logger.warning(__('Inkscape command %r returned invalid result: %s\n ' 'Check the inkscape_converter_bin setting'), self.config.inkscape_converter_bin, output) return False InkscapeConverter.inkscape_version = match.group(1) logger.debug('Inkscape version: %s', InkscapeConverter.inkscape_version) return True except subprocess.CalledProcessError: return False except (OSError, IOError): logger.warning(__('Inkscape command %r cannot be run. ' 'Check the inkscape_converter_bin setting'), self.config.inkscape_converter_bin) return False def convert(self, _from, _to): # type: (unicode, unicode) -> bool """Converts the image from SVG to PDF via Inkscape.""" try: args = ([self.config.inkscape_converter_bin] + self.config.inkscape_converter_args) if InkscapeConverter.inkscape_version.startswith('1.') or not InkscapeConverter.inkscape_version: args += ['--export-filename=' + str(_to), str(_from)] else: import pathlib # Guess output format based on file extension fmt = pathlib.Path(str(_to)).suffix[1:] args += [f'--export-{fmt}=' + str(_to), str(_from)] logger.debug('Invoking %r ...', args) p = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) except OSError as err: if err.errno != ENOENT: # No such file or directory raise logger.warning(__('Inkscape command %r cannot be run. ' 'Check the inkscape_converter_bin setting'), self.config.inkscape_converter_bin) return False try: stdout, stderr = p.communicate() except (OSError, IOError) as err: if err.errno not in (EPIPE, EINVAL): raise stdout, stderr = p.stdout.read(), p.stderr.read() p.wait() if p.returncode != 0: raise ExtensionError(__('Inkscape exited with error:\n' '[stderr]\n%s\n[stdout]\n%s') % (stderr, stdout)) return True ././@PaxHeader0000000000000000000000000000003300000000000010211 xustar0027 mtime=1772734946.282309 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/rsvgconverter/0000775000175000017500000000000015152344742025213 5ustar00thomasthomas././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734523.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/rsvgconverter/__init__.py0000664000175000017500000000163515152344073027326 0ustar00thomasthomas# -*- coding: utf-8 -*- """ sphinxcontrib.rsvgconverter ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Converts SVG images to PDF or PNG using libRSVG in case the builder does not support SVG images natively (e.g. LaTeX). :copyright: Copyright 2018-2023 by Stefan Wiehler . :license: BSD, see LICENSE.txt for details. """ from .rsvgconverter import RSVGConverter def setup(app): # type: (Sphinx) -> Dict[unicode, Any] app.add_post_transform(RSVGConverter) app.add_config_value('rsvg_converter_bin', 'rsvg-convert', 'env') # Applies to both PDF and PNG output app.add_config_value('rsvg_converter_args', [], 'env') # Only applies to PDF output app.add_config_value('rsvg_converter_format', 'pdf', 'env') return { 'version': 'builtin', 'parallel_read_safe': True, 'parallel_write_safe': True, } ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734523.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib/rsvgconverter/rsvgconverter.py0000664000175000017500000000603515152344073030477 0ustar00thomasthomas# -*- coding: utf-8 -*- # SPDX-License-Indentifier: BSD-2-Clause # Copyright (C) 2018-2023 Stefan Wiehler import pathlib import subprocess from sphinx.errors import ExtensionError from sphinx.locale import __ from sphinx.transforms.post_transforms.images import ImageConverter from sphinx.util import logging from errno import ENOENT, EPIPE, EINVAL if False: # For type annotation from typing import Any, Dict # NOQA from sphinx.application import Sphinx # NOQA logger = logging.getLogger(__name__) class RSVGConverter(ImageConverter): conversion_rules = [ ('image/svg+xml', 'application/pdf'), ('image/svg+xml', 'image/png'), ] def is_available(self): # type: () -> bool """Confirms if RSVG converter is available or not.""" try: args = [self.config.rsvg_converter_bin, '--version'] logger.debug('Invoking %r ...', args) ret = subprocess.call(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE) if ret == 0: return True else: return False except (OSError, IOError): logger.warning(__('RSVG converter command %r cannot be run. ' 'Check the rsvg_converter_bin setting'), self.config.rsvg_converter_bin) return False def convert(self, _from, _to): # type: (unicode, unicode) -> bool """Converts the image from SVG to PDF or PNG via libRSVG.""" try: # Guess output format based on file extension fmt = pathlib.Path(str(_to)).suffix[1:] # rsvg-convert supports different standards of PDF, so use the # rsvg_converter_format config when building a PDF if fmt == 'pdf': fmt = self.config.rsvg_converter_format args = ([self.config.rsvg_converter_bin] + self.config.rsvg_converter_args + ['--format=' + fmt, '--output=' + str(_to), str(_from)]) logger.debug('Invoking %r ...', args) p = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE) except OSError as err: if err.errno != ENOENT: # No such file or directory raise logger.warning(__('RSVG converter command %r cannot be run. ' 'Check the rsvg_converter_bin setting'), self.config.rsvg_converter_bin) return False try: stdout, stderr = p.communicate() except (OSError, IOError) as err: if err.errno not in (EPIPE, EINVAL): raise stdout, stderr = p.stdout.read(), p.stderr.read() p.wait() if p.returncode != 0: raise ExtensionError(__('RSVG converter exited with error:\n' '[stderr]\n%s\n[stdout]\n%s') % (stderr, stdout)) return True ././@PaxHeader0000000000000000000000000000003300000000000010211 xustar0027 mtime=1772734946.283309 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib_svg2pdfconverter.egg-info/0000775000175000017500000000000015152344742027357 5ustar00thomasthomas././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734946.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib_svg2pdfconverter.egg-info/PKG-INFO0000644000175000017500000000635115152344742030457 0ustar00thomasthomasMetadata-Version: 2.4 Name: sphinxcontrib-svg2pdfconverter Version: 2.1.0 Summary: Sphinx SVG to PDF or PNG converter extension Author-email: Stefan Wiehler License-Expression: BSD-2-Clause Project-URL: Homepage, https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter Project-URL: Download, https://pypi.org/project/sphinxcontrib-svg2pdfconverter Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: Console Classifier: Environment :: Web Environment Classifier: Framework :: Sphinx :: Extension Classifier: Intended Audience :: Developers Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Documentation Classifier: Topic :: Utilities Requires-Python: >=3.6 Description-Content-Type: text/x-rst License-File: LICENSE.txt Requires-Dist: Sphinx>=1.6.3 Provides-Extra: cairosvg Requires-Dist: cairosvg>=1.0; extra == "cairosvg" Dynamic: license-file ******************************************** Sphinx SVG to PDF or PNG Converter Extension ******************************************** This extension converts SVG images to PDF or PNG in case the builder does not support SVG images natively (e.g. LaTeX). Internally, either `Inkscape `_, ``rsvg-convert`` from `libRSVG `_ or `CairoSVG `_ as progressively more lightweight alternatives are used to convert images. Installation ============ Just install via ``pip``: .. code-block:: console $ pip install sphinxcontrib-svg2pdfconverter You can choose between Inkscape, libRSVG and CairoSVG by adding ``sphinxcontrib.inkscapeconverter``, ``sphinxcontrib.rsvgconverter`` or ``sphinxcontrib.cairosvgconverter`` to the ``extensions`` list in your ``conf.py``. Make sure to have either ``inkscape`` or the ``rsvg-convert`` command available in your systems ``PATH`` and, if necessary, adapt the ``inkscape_converter_bin`` or ``rsvg_converter_bin`` config value respectively. CairoSVG requires additional dependencies to be installed with: .. code-block:: console $ pip install sphinxcontrib-svg2pdfconverter[CairoSVG] CairoSVG and its dependencies may require additional tools during the installation depending on the OS you are using; see the `CairoSVG documentation `_ for further details. Configuration ============= Inkscape -------- ``inkscape_converter_bin`` Path to Inkscape binary. By default, this is ``inkscape``. ``inkscape_converter_args`` Additional command-line arguments for Inkscape, as a list. By default, this is ``['--export-area-drawing']``. RSVG ---- ``rsvg_converter_bin`` Path to RSVG converter binary. By default, this is ``rsvg-convert``. ``rsvg_converter_format`` The value provided to the RSVG converter's ``--format`` argument when converting to PDF. In more recent RSVG builds, the ``pdf1.5`` format will generate the fewest warnings with LaTeX backends. By default, this is ``pdf``. ``rsvg_converter_args`` Additional command-line arguments for the RSVG converter, as a list. By default, this is the empty list ``[]``. CairoSVG -------- No configuration is required. ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734946.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib_svg2pdfconverter.egg-info/SOURCES.txt0000664000175000017500000000112215152344742031237 0ustar00thomasthomasLICENSE.txt README.rst pyproject.toml setup.py sphinxcontrib/cairosvgconverter/__init__.py sphinxcontrib/cairosvgconverter/cairosvgconverter.py sphinxcontrib/inkscapeconverter/__init__.py sphinxcontrib/inkscapeconverter/inkscapeconverter.py sphinxcontrib/rsvgconverter/__init__.py sphinxcontrib/rsvgconverter/rsvgconverter.py sphinxcontrib_svg2pdfconverter.egg-info/PKG-INFO sphinxcontrib_svg2pdfconverter.egg-info/SOURCES.txt sphinxcontrib_svg2pdfconverter.egg-info/dependency_links.txt sphinxcontrib_svg2pdfconverter.egg-info/requires.txt sphinxcontrib_svg2pdfconverter.egg-info/top_level.txt././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734946.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib_svg2pdfconverter.egg-info/dependency_links.txt0000664000175000017500000000000115152344742033425 0ustar00thomasthomas ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734946.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib_svg2pdfconverter.egg-info/requires.txt0000664000175000017500000000005015152344742031752 0ustar00thomasthomasSphinx>=1.6.3 [CairoSVG] cairosvg>=1.0 ././@PaxHeader0000000000000000000000000000002600000000000010213 xustar0022 mtime=1772734946.0 sphinxcontrib_svg2pdfconverter-2.1.0/sphinxcontrib_svg2pdfconverter.egg-info/top_level.txt0000664000175000017500000000001615152344742032106 0ustar00thomasthomassphinxcontrib