$ pdf2svg $ pdftocairo -svg $ inkscape -l out.svg in.pdf $ inkscape \ --without-gui \ --file=input.pdf \ --export-plain-svg=output.svg $ pstoedit -f plot-svg -dt -ssp eqn.ps eqn.svg
Fonts don’t match
An option seems to be to first convert the fonts to path on the pdf side with:
$ gs -o target.pdf -dNoOutputFonts -sDEVICE=pdfwrite source.pdf
Q&A
Convert PDF to SVG by command line
convert pdf to svg
PDF to SVG conversion with grouping and proper text conversion
Convert PDF to clean SVG?
pdf2svg