Hi Christoph,
I don't know about an extension that does /exactly/ this, but here are links to two extensions that /almost/ do what you want:
https://gitlab.com/su-v/inx-exportobjects (exports pdf, too! Also has a mechanism to limit export to certain layers and to keep a master layer. Combine with a CSV file, or write something that parses similar layer names and you should be done.)
https://github.com/jespino/inkscape-export-layers (allows to mark a layer that is supposed to be kept fixed by name)
Kind Regards, Maren
Am 31.07.2017 um 10:03 schrieb Christoph Raab:
Dear fellow Inkscapists,
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?
Two ideas
- Does someone have a script that finds a group by its "label", and
sets an attribute? (In this case, finds it breadth-first, with the label being the layer name, and setting style=display:none or display:inline.)
- Is it possible to "include" parts of a document, like in C or LaTeX,
but editable and with changes being saved to the individual files?
Best, Christoph
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user