I am trying to write some SVG files of some electrical circuits for a wiki page but am having some major issues...
I followed the instructions at the following URL:
http://en.wikipedia.org/wiki/Wikipedia: ... g_Xcircuit
I got a valid SVG file that I was able to open in Inkscape and add a few pieces of text, but when I save the file and upload it to my Wiki it is FUBAR, it is missing the circuit and has only the text. Below is the URL:
https://sourceforge.net/apps/mediawiki/ ... ircuit.svg
So from the summary page you see the text I added, along with a couple of the objects from the circuit, but it is missing a ton. But if you download the open file:
https://sourceforge.net/apps/mediawiki/ ... ircuit.svg
It has everything. I am thinking I need to merge some layers or something? Any ideas?
SVG + Wiki + Xcircuit
Re: SVG + Wiki + Xcircuit
This is probably the same issue as in another recent thread, except that this time the bug is in whatever MediaWiki uses to render SVG files. You could test this by uploading the example file in that thread to the wiki, to see if the red line fails to display.
If this is the problem, you should be able to work around it by selecting the "Force repeat commands" option in the "SVG output" section of Inkscape Preferences. (After doing this, open your image, ungroup it and then re-group, and then save. This should change the path data to a form that the wiki can handle.)
If this is the problem, you should be able to work around it by selecting the "Force repeat commands" option in the "SVG output" section of Inkscape Preferences. (After doing this, open your image, ungroup it and then re-group, and then save. This should change the path data to a form that the wiki can handle.)