> Le 10 févr. 2023 à 09:29, Roberto Bagnara <bagn...@cs.unipr.it> a écrit : > > extensions = [ > 'sphinx.ext.todo', > 'sphinx.ext.imgmath', > 'sphinx.ext.ifconfig', > 'sphinxcontrib.bibtex', > 'sphinx_rtd_theme', > 'sphinxcontrib.inkscapeconverter' > ] > > # The name of an image file (relative to this directory) to place at the top > of > # the title page. > latex_logo = 'image.svg' > > I have inkscape installed, but but I still get: > > ! LaTeX Error: Unknown graphics extension: .svg. > > In fact, it seems to me that the converter does not even > come into play, as I see in the LaTeX generated code: > > \newcommand{\sphinxlogo}{\sphinxincludegraphics{image.svg}\par} > > What am I missing?
Including SVGs in LaTeX is tricky. See https://tex.stackexchange.com/questions/2099/how-to-include-svg-diagrams-in-latex AFAICS, Sphinx does not support it. Use a different image format. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/D5D499C5-51C5-497D-8EBF-0350A506A730%40abou-samra.fr.