Donn wrote:
Klaus, When I said we would help you, I meant the boffins on the list -- I'm an idjit :)
You seem to be saying that if you start with a template .svg file that contains (say) "19mm" and "15mm" , when you open the document properties dialog and change *something* (not specified), the dimension of the page, in the svg, change to numbers without units.
I think he is talking about the width and height of the entire document, which is pretty much the only way to properly use real-world units in SVG (as far as I'm concerned at least). Inkscape doesn't really support this though (at least not yet), so for the moment you'll have to work around it.
Inkscape does understand documents which use this feature though and it only seems to remove the necessary attributes when you change the document size, so just create a document of the right size manually. For example, to create a document which is 10cm wide and 5cm tall:
<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg width="100mm" height="50mm" viewBox="0 0 100 50" xmlns="http://www.w3.org/2000/svg" version="1.1"> </svg>