Hi All,

I use Inkscape in conjunction with the Sozi extension to create slides, and I'm fairly happy with this setup. However, my student often request the slides in PDF format.

Sozi works with me drawing rectangles which are then marked to become individual slides. I have created a home-brewed python script that locates these rectangles, and I then run

  inkscape -f myslides.svg --export-id=rect_id --export-dpi=300 --export-png=rect_id.png

from the command line for each identified rectangle. This gives me a png file for each slide, which I can then join in a PDF that I can distribute to my students.

The problem with this approach is that I export each slide to a PNG, which is really sad because then everything is rasterized. I'd much rather export each slide to a PDF, but I cannot seem to make that work from the command line.

Does anybody have a trick I can apply?

Thanks
Søren