On Mon, 31 Jul 2017 10:03:50 +0200 Christoph Raab <christoph@...3258...> wrote:
I was wondering if anyone here had a solution for this before I dive into trying to hack something together. The situation is that I have an SVG, where different layers have different languages, and other layers have different graphics. The various combinations of these get exported to in total 9 PDFs, with that number bound to increase. How do I automate that?
When I needed something similar I wrote an Awk program that read in a "config" file then switched layers on and off as specified in there and created a new temporary .inkscape file and exported from that. The config file also set options on colours to use for some elements and where various OS utilities were located because I used this on machines with different distros of Linux.
You are welcome to have the program, config and sample inkscape drawing. It works but I decided that if I ever needed to do it again for a new project I would use XSLT templates.
Mike