I am designing a card game. I made a card template in Inkscape and then wrote a Python script to copy the template and make a new SVG file for each card, filling in the title and so on from a CSV file.
What I would like to do with the resulting SVGs is put them in a 3x3 grid on a single page so I can print them on normal paper. I would also like them to be a particular size (specified in the original Inkscape SVG). Note that I have more than one page's worth of cards.
I think normally I could just put them in a wrapper SVG and convert that to PDF, but Inkscape puts id
attributes on all elements, which I expect would cause issues.
How can I put these SVGs on a page in a 3x3 grid?