Mobile app version of vmapp.org
Login or Join
Cooney243

: Inkscape: Is it possible to always save as both SVG and PDF Using Inkscape, I would like to automatically and always save my files in both PDF and SVG format. The reason is that I embed

@Cooney243

Posted in: #Inkscape #Pdf #Svg

Using Inkscape, I would like to automatically and always save my files in both PDF and SVG format. The reason is that I embed the PDF file into another document, while I want want to keep the SVG file for further editing. However, I am getting annoyed by always saving twice and hitting OK around five times (for approving export options and agreeing to overwrite existing files).

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cooney243

1 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh909

I am not aware of any GUI way of doing this, but you can use Inkscape’s command line interface to export SVGs to PDFs, e.g., like this:

inkscape image.svg --export-pdf=image.pdf


If you have some reasonable naming convention for your SVGs and PDFs, you can write a simple script that checks all SVG–PDF pairs as to whether the SVG is newer and makes a new PDF from the SVG in this case. Thus, you just need to save your SVGs and let the script run whenever you require it.

If you are using a Make-like build tool, you can use it to take care of this.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme