Help inkscape – wikimedia commons electricity merit badge pamphlet

As well as the possibility of exporting in various formats, Inkscape allows you to save SVGs mainly in two different ways (since 0.47, you can also save as “Optimized Inkscape SVG” with Scour implemented, which is in most cases more preferred for Commons). At the drop-down box in the save dialogue, you can choose between "Inkscape SVG" and "Plain SVG". You should be aware of how these two options differ, and make an informed decision. Advantages of uploading Inkscape images to Commons

Inkscape SVGs created in Inkscape versions prior to 0.46 record the name of the folder in which they are saved. If this is your desktop on Windows XP, this will reveal your Windows log-on name. Plain SVGs strip this sort of personal info. (You could fix that by manually clearing sodipodi:docbase)

If it is important for you, it is possible to embed metadata, including author, full file description, license info and more. Even if someone takes your file and uses it on their website without attribution, the info will always be inside the file itself for anyone who looks at it.

Files saved as SVG by other programs (e.g. Adobe Illustrator) may have the same bugs as Inkscape SVGs. It is therefore often a good idea to open these files in Inkscape and then save them as plain SVG in order to clean out the bugs and other junk.

If you think the file will need further editing in Inkscape, then save as an Inkscape SVG. On the other hand, saving as "Plain SVG" may lose information useful to you. You may wish to create a plain version just for uploading and keep a ‘fancy’ master version for your own purposes, or tag your graphic with {{ Created with Inkscape| IMPORTANT=yes}} to tell it is “stored in Inkscape SVG”.

If you find Wikimedia sites render your Inkscape-generated SVGs with incorrect or mangled text, please see Help:SVG #Fonts. The most likely problem is that the Wikimedia site may not support all fonts. You may find that very few fonts provided by Inkscape are in fact supported, or – in some cases – none at all. Look for a list of free fonts here, although your Inkscape may have none of them.

Mysterious rectangles (usually black) in Commons rendered PNGs are almost always due to the presence of "flowtext" elements which are not compatible with the software used on Commons. This can be diagnosed at Commons:SVG Check. The solution is to unflow all text, and to delete empty flowed text elements (though it may be difficult to locate and select such within Inkscape). The unflow command can be found under Text on the menu.

The most validating errors are not really harmful, they are simply from proprietary Inkscape/Sodipody extensions. But to make Inkscape SVG files anyway valid according to the guidelines of W3C and its validator, these steps are required and work every time:

• a) Select all elements and then ungroup all the elements of the picture by pressing the ungroup button several times (or by pressing CTRL+SHIFT+G) till even the words are ungrouped and every object becomes a single element. (no sensible reason yet for this, except of eliminating code) But be aware, this can destroy some important structure in more complex SVG. Also Inkscape can’t handle this without some strange bugs. [1]

• It might be that the file is still not W3C-valid. One reason could be the text in the SVG file. (reasons?) (A quick and dirty solution would be the convert the still selected text to path. But this is will be never a sensible solution from that reasoning.)