2

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).

1 Answer 1

3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.