Hello,
In my main svg file i want to have an other svg file linked but not embedded. How to do that ?
Is it possible to link (but not import embedded) a layer, gradient or anything else of another svg file ?
Thanks.
How to link external svg file
Re: How to link external svg file
Hi sphaira,
I don't think you can link any portion of a file, such as layer or object. But you can import another SVG file. When you do that, you'll get a little dialog with a choice to link or embed.
You can paste objects of course, which contain gradients. But not gradients alone. And you can't paste layers either. ...OH, actually, there might be a way to paste a layer. That's because Inkscape layers are really special groups. And a group is an object, so you should be able to paste it. But I'm not sure how it would be done.....maybe using XML editor? That's the only way I know to access the layer as a group. Maybe someone else will have an idea about that?
That certainly would be a nice feature though, to be able to import part of a file, especially layers!
I don't think you can link any portion of a file, such as layer or object. But you can import another SVG file. When you do that, you'll get a little dialog with a choice to link or embed.
You can paste objects of course, which contain gradients. But not gradients alone. And you can't paste layers either. ...OH, actually, there might be a way to paste a layer. That's because Inkscape layers are really special groups. And a group is an object, so you should be able to paste it. But I'm not sure how it would be done.....maybe using XML editor? That's the only way I know to access the layer as a group. Maybe someone else will have an idea about that?
That certainly would be a nice feature though, to be able to import part of a file, especially layers!
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: How to link external svg file
I have the 0.48.2 inkscape's version and when i import svg file with Ctrl + I there isn't choice for link or embed. It is always embed.
In the svg specification it is possible to link other svg with the use of xlink attribut. Is it possible in inkscape ?
In the svg specification it is possible to link other svg with the use of xlink attribut. Is it possible in inkscape ?
Re: How to link external svg file
Not really supported in Inkscape yet (you can link to an external SVG file with the <image> tag (no GUI available), but the linked SVG image is rasterized in Inkscape at a fixed resolution (and it doesn't work in the current available Windows builds, and fails in Inkscape 0.48.2 for Mac OS X, too).sphaira wrote:In the svg specification it is possible to link other svg with the use of xlink attribut. Is it possible in inkscape ?
See also: Subject: Linking SVG files (inkscape-user mailing list)
Re: How to link external svg file
it's a pity, but perhaps in a future release.
Re: How to link external svg file
Sorry for necroposting but I understand this is yet not implemented? I'm using trunk and can't find any option to linking instead of embedding an external SVG.