I use the svg package in Overleaf, with the pdfLaTeX compiler, to include SVGs in my document. I am preparing to upload to arXiv, but images have to be JPEGs, PNGs, or PDFs.
One benefit of using the svg package is that I can very easily include math equations (with commands) in the SVG, which the compiler typesets nicely. For example, I could include a file containing <text>Math: $frac{1}{3}$</text>, and I don't want to lose this functionality if possible. What is the simplest way to convert my document and figures so that it looks the same as when Overleaf compiles it? I think Overleaf uses Inkscape, so doing something like this is a worst-case option.
svgpackage does under the hood;svgjust automates the process. See also the extensive discussion here. – Willie Wong Feb 26 '24 at 06:59svg-extractwhich can be used to extract (and convert) all files included with\includesvgto standalone files. – mrpiggi Feb 26 '24 at 09:52