Convert SVG figures to pdf_latex before submitting to arxiv

Convert SVG figures to pdf_latex before submitting to arxiv

Problem: arxiv does not accept SVG figures. So I have to update code from

\includesvg[test.svg]

to

\includegraphics[width=0.5\textwidth]{test.png}

or I can update code like this

\includeinkscape[width=0.5\textwidth]{test.pdf_latex}

This svg to pdf_latex conversion is done by inkscape package if you run this compilation

pdflatex -shell-escape test.tex

pdf_latex figures are stored in directories svg_inkscape

And you can use arxiv-latex-cleaner to convert

\includesvg[test.svg]

to

\includeinkscape[width=0.5\textwidth]{test_svg.pdf_latex}

for you.

This can help you save your time manually updating source code which is very handy.

https://github.com/google-research/arxiv-latex-cleaner




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Learning-based memory allocation for C++ server workloads summary
  • my question:
  • Binary search algorithm variant
  • Docker Rocksdb build
  • Difference between Dockerfile and Docker Compose