W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2003

Re: Is it possible to use one SVG to contain other SVGs, in a way that also enables the user to copy the contained SVGs and paste them into another document, for instance into ms Word?

From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
Date: Thu, 15 May 2003 09:29:59 +0100
Cc: www-amaya@w3.org
To: Paul Cheyrou-lagreze <Paul.Cheyrou-Lagreze@inrialpes.fr>
Message-Id: <6A4DC9D2-86AF-11D7-8A41-0003939B5AD0@btinternet.com>
Paul,

Examples are so great!
I had the impression from 
http://www.w3.org/TR/SVG/struct.html#UseElement
"Unlike 'image', the 'use' element cannot reference entire files." that 
image might work, but not 'use'. Your New.svg shows me the way to go.

So far I can cut (CTRL-C) a colorbox out from New.svg, but not move it 
or paste it into the same, or another document.
Am I being dim? how does one paste it, or move it?
This only works on the PC not mac. and like you when uploaded to 
http://www.peepo.com/svg it fails to work :-(

thanks

Jonathan

I upgraded to 8.0,

On Thursday, May 15, 2003, at 06:57 AM, Paul Cheyrou-lagreze wrote:

>
>> your example does not display in amaya7.1 on max os x10.2, or amaya7.2
>> on msXP for me,
>
>
> It worked on my local hard drive...
> I found out a problem in file mime-type problem with my provider !
> Until I can solve the problem, you should download the two files 
> locally in the same directory :
>
> http://tuan.kuranes.free.fr/svg/New.svg
> http://tuan.kuranes.free.fr/svg/colorbox.svg
>
> test them from here...
> (you should try the 8.0 version (specially the OpenGL that is far more 
> stable on XP now and allow transformation and animation...))
>
>> the colorbox looks great when linked too directly.
>> Please can you post me another?
>
> It's a sample from the SVG library that's in Amaya (XML->SVG->Show SVG 
> LIBRARY)
> There's more in (the SVGs are in the Amaya/config/libsvg/ directory)
> You should definitly check it out... Did you manage to use it ?
>
>> assuming it works for you, can you
>> confirm that the colorbox only is copied as a single entity and not a
>> part of it, or the <svg> containing <use> .
>
> Not sure to understand the statement here...
> The svg containing the colorbox could contains lots of <symbol> tags 
> containing graphics entity,
> the results would be the same, as the <use> specify to link only the 
> one named "colorbox"
> (as in <use xlink:href="colorbox.svg#colorbox">)
>
> Look at the new version I've done in order to be more explicit:
> in colorbox.svg there are two group defining a different box..
> And in the main view (New.svg), you can add them separatly or add the 
> same twice,
> even change some inherited properties (stroke), etc.
> try removing in New.svg the first box (select it then usr the del 
> key.) other box from the same file
> are still there.
>
>
>> These are my main concerns,
>> one reason not to use amaya, is that print preview is limited, but 
>> this
>> is perhaps not critical, only a consideration.
>
> It's important that you point out your needs in order to make us aware 
> of them.
> If we found out that it's a big need, we can consider adding "print 
> preview".
>
> -Paul
>
Received on Thursday, 15 May 2003 04:26:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:27 UTC