On Tue, 26 Aug 2025 at 00:00, Tom Rini <tr...@konsulko.com> wrote: > > On Mon, Aug 25, 2025 at 11:44:47PM +0100, Adriano Carvalho wrote: > > > SVG files are not handled directly in the *.tex files. > > This commit adds sphinxcontrib.inkscapeconverter (from the > > sphinxcontrib-svg2pdfconverter package) to sphinx's extensions in conf.py > > to ensure SVG files are converted to PDF before the compilation of *.tex > > files. > > The needed steps are also updated and inkscape is specified as a dependency. > > This seems very heavy, is there not some other conversion we can do in > order to support PDF output? > > -- > Tom
The extension itself is quite simple. inkscape on the other hand, according to apt-rdepends has 755 dependencies on Ubuntu 25.04. rsvg-convert (librsvg2-bin) "only" has 179. So, instead of sphinxcontrib.inkscapeconverter we can use sphinxcontrib.rsvgconverter and reduce the number of dependencies quite significantly. Does this address your concern? Com os melhores cumprimentos. / Best regards. Adriano Carvalho