I'm curious about the current state / roadmap / priority for linking SVG files in Inkscape.
This seems to be a reasonable summary of the current state:
https://answers.launchpad.net/inkscape/+question/97946
In brief:
1) <use xlink:href='file:///path/to/foo.svg#thing'/> gives an "Unsupported URI" warning, and no content. I think a <use/> linked to the whole doc. would be invalid, but targeting an element should work / works in Batik?
2) <image xlink:href='file:///path/to/foo.svg'/> gives the foo.svg page rasterized at 90 dpi according to the inches in foo.svg
3) <image xlink:href='file:///path/to/foo.svg#thing'/> gives nothing, perhaps it's invalid anyway.
4) there's no UI for creating <image/> links to .svg files, or for setting the aspect ratio to match the source, except the XML editor
For (2) keeping the vector data instead of rasterizing is a wishlist bug from 2008-1-5 (171795), and I'm not aware of any wishlist items for UI elements.
It seems to me that allowing links to other SVG files in this way would be really useful in many cases, but there seems to be little interest from users or developers, and I wonder why. Is there some obvious alternate mechanism I'm overlooking?
One use case which would make Inkscape particularly useful to the open-source map community would be linking to generated SVG map content so post GIS enhancements could be made and the underlying map(s) automagically updated. But I think there must be countless cases where this functionality would be helpful. Is it just a case of so many things to do and so little time?
Cheers -Terry
It seems to me that allowing links to other SVG files in this way would be really useful in many cases, but there seems to be little interest from users or developers, and I wonder why. Is there some obvious alternate mechanism I'm overlooking?
One use case which would make Inkscape particularly useful to the open-source map community would be linking to generated SVG map content so post GIS enhancements could be made and the underlying map(s) automagically updated. But I think there must be countless cases where this functionality would be helpful. Is it just a case of so many things to do and so little time?
Cheers -Terry
That would be extremely useful - and there is a huge demand from users, they just don't call it this (i.e. linked SVGs). A quick search on lp using the terms library and symbol gives me:
PALETTE: Object Library, aka shapes, stencils, etc https://bugs.launchpad.net/inkscape/+bug/170059 Scrapbook-like symbol library https://bugs.launchpad.net/inkscape/+bug/170567 a library of UI Widgets as SVG obejcts https://bugs.launchpad.net/inkscape/+bug/171641
All of these would be easy/easier if SVG linking existed, as (ignoring the UI) each object/symbol could just be implemented as an SVG xref to the template file.
-Rob A>
On 08/08/2011 17:51, Terry Brown wrote:
I'm curious about the current state / roadmap / priority for linking SVG files in Inkscape.
Oh boy, would I love that too.
I am writing a post about all kinds of ideas and one of them is linking. I call them symbols or clones.
Anyone wanting to be bored silly can read it on: http://otherwiseingle.blogspot.com/2011/08/if-inkscape-could-wouldnt-it-be-g... (under the DRY heading).
\d
<off-topic>
On 9/8/11 09:42, donn wrote:
I am writing a post about all kinds of ideas and one of them is linking. I call them symbols or clones.
Anyone wanting to be bored silly can read it on: http://otherwiseingle.blogspot.com/2011/08/if-inkscape-could-wouldnt-it-be-g... (under the DRY heading).
Quoting from the blog:
Make the gui 'go away'
I don't need bars that cross the entire canvas just to hold file, edit, etc.
(…)
In fact, nothing but the canvas.
Ever tried <Shift+F11>? The dock still can be shown/hidden with <F12> (or all dialogs switched to floating instead of docked, in 'Inkscape Preferences > Windows > Dialog behavior'). Rulers (Ctrl+R) and scrollbars (Ctrl+B) can be toggled on/off individually even if all GUI parts are hidden.
</off-topic>
hth, ~suv
On 10/08/2011 10:41, ~suv wrote:
Ever tried<Shift+F11>?
Hi, yes - but not recently. Thanks for the reminder.
I'd love to have some way to: 1. Change shift + f11 to, say, right-alt. I find the whole top-half of my kbd is too far away from me when I am designing. I tend to sit back and mouse, with left hand on alt/ctrl/shift and other lower-half keys.
2. Have a way to call just the tools up - not the whole gui everytime.
3. Have a way to call the tool's properties (like the stuff under the node tool) up - directly where the mouse is at the moment.
Thanks for reading my post. What do you think of Mypaint and Blender as far as interfaces go? I find that they have put serious thought into speed and ease of use; things are just quicker to access and you can focus on what you are doing.
\d
participants (4)
-
donn
-
Rob Antonishen
-
Terry Brown
-
~suv