Inkscape comes with a command line interface for scripting various commands. Batch converter for windows using InkScape and the command line Just download the file InkscapeBatchConvert.bat Put it in the folder where you have files you wish to convert. higgs:~ abradley$ python -c "from nbconvert.preprocessors.svg2pdf import SVG2PDFPreprocessor; print(SVG2PDFPreprocessor().inkscape)" Traceback (most recent call last): File "", line 1, in I upgraded python (was 2 in command line), but that didn't fix it. There are not a lot of tools for it. That’s a pain in the arse for adjusting 52 images. I just fixed it in SVN (rev 18892) so now this will work: inkscape file.pdf --export-plain-svg=file.svg It will take the first page of the PDF and all the default import options. This is compatible with latest version of InkScape Ok, I get it. Luckily, Inkscape will take command line arguments (called verbs). -svg : generate a Scalable Vector Graphics (SVG) file the best output format for your needs may be the svg , so after converted the pdf page you can open this svg with any svg app (with inkscape or the good old sodipodi for instance), select the vector elements you want extract and save In my opinion, the cleanest method is to use Inkscape. However, these are only documented on the Inkscape website (Manpage of INKSCAPE), but not in the documentation accessible from the program.The real gem in the command line options is are the export options. it should produce a svg with "assigned fonts" as Inkscape-0.92.4-x86 Only using the new switch "pdf-poppler" it should produce a svg "symbols(glyphs). Batch convert svg|pdf|eps|emf|wmf to eps|pdf|png|svg. Then I prefer to do it manually and generate the last two files for embeded svg in a pdf from .tex. now produces a svg with "symbols"(glyphs) like when importing via poppler What should have happened? In Inkscape 0.92 or earlier if I use a .svg file in a .tex I only use the lualatex --shell-scape myfile.tex and this compiler creates a folder svg-inkscape with a couple of files name_svg_tex.pdf and name_svg-tex.pdf_tex. On Thu, Jun 12, 2008 at 8:26 AM, Matei Stroila <[hidden email]> wrote: > Are there any command line options for the inkscape executable to convert PDF to SVG? inkscape --verb=FitCanvasToDrawing --verb=FileSave --verb=FileClose *.svg Answer for 2020 (an update was asked for): PDF rendering is hard to do well. not sure, just running jupyter lab from the command line, installed with homebrew. This means we can point it to all SVG files in a directory, instruct it to Fit to Drawing, and save the file again. To export an Inkscape SVG file image.svg to a PDF image.pdf, we can use the following command But maybe, you don’t know how to use Inkscape or you’re just in a hurry. running command line: inkscape in.pdf -l out.svg What happened? Then I saw _michael_'s post this morning and thought the command line and script might be the answer. Inkscape is a graphic design software program that allows you to create, edit and open svg files and make custom fonts. It all takes place on one line. Your answer seemed to confirm that, but again I wanted to export .png's and I can't write a script. It turns out that Inkscape (an SVG editor) has a few useful command-line options for non-interactive use. Inkscape is a great GUI Vector graphic editors, but can also be used in command line mode. Would it be as simple as substituting '.png' for '.svg' in your extension (in "write(listoflayers[counter]+'.svg')? Then double click the file to start it.