Shapes with embedded images

2011-06-16 Thread Christopher Nelson
I created several shapes under my home directory (in ~/.dia) which reference images elsewhere under my home directory. When I deploy these shapes, the image links are broken. Looking at the .shape file I see things like "xlink:href="file:///home/chrisn/v/5ES.png". Can I put the image I want to e

Re: inline image, image relative path or...

2011-06-16 Thread Ron Wilson
On Thu, Jun 16, 2011 at 8:00 AM, wrote: > Date: Wed, 15 Jun 2011 21:09:21 +0200 > From: Steffen Macke > Hans: How about storing relative pathes with slashes only? Plus > slash-to-backslash when using > relative pathes on Windows? In my limited experience coding for MS Windows, Windows will acce

Re: Diagram Linking

2011-06-16 Thread Ron Wilson
On Thu, Jun 16, 2011 at 8:00 AM, wrote: > Date: Wed, 15 Jun 2011 21:05:09 +0200 > From: Hans Breuer > To: dia-list@gnome.org > > At 15.06.2011 19:55, Vikram Subramanian wrote: >> I think that is really a cool feature. In fact that will improve the >> presentation features of dia. > What is the "

Re: Shapes with embedded images

2011-06-16 Thread Hans Breuer
At 16.06.2011 01:48, Christopher Nelson wrote: I created several shapes under my home directory (in ~/.dia) which reference images elsewhere under my home directory. When I deploy these shapes, the image links are broken. Looking at the .shape file I see things like "xlink:href="file:///home/ch

Re: Shapes with embedded images

2011-06-16 Thread Christopher Nelson
> At 16.06.2011 01:48, Christopher Nelson wrote: >> I created several shapes under my home directory (in ~/.dia) which >> reference images elsewhere under my home directory.  When I deploy >> these shapes, the image links are broken.  Looking at the .shape file >> I see things like "xlink:href="fil

Re: Shapes with embedded images

2011-06-16 Thread Steffen Macke
Hi Christopher, On 06/16/2011 09:32 PM, Christopher Nelson wrote: .shape file to read "xlink:href="file://5ES.png" and the image in the shape is still broken. Please try xlink:href="./5ES.png" Unless you're on Windows, also make sure that the case of your filename is correct. Regards, Steffen

Re: Shapes with embedded images

2011-06-16 Thread Hans Breuer
At 16.06.2011 21:32, Christopher Nelson wrote: [...] Looking at the code this is supposed to work. Please get back to us if it doe not. I copied the source image into the shape directory and changed the .shape file to read "xlink:href="file://5ES.png" and the image in the shape is still broken.

Re: inline image, image relative path or...

2011-06-16 Thread Hans Breuer
At 15.06.2011 21:09, Steffen Macke wrote: [...] Hans: How about storing relative pathes with slashes only? Plus slash-to-backslash when using relative pathes on Windows? Getting rid of that platform specific part in the Dia file format should definitely be considered. But I don't want to have m

Re: Changing page setup for new dia(gram)s

2011-06-16 Thread Hans Breuer
At 16.06.2011 07:14, Michael Ross wrote: I have settled on a page setup preference of 0.5in margins all around and a scale of 38%. So every Dia I make I have to change this, because I can't figure out how to make it a default for new Dia(gram)s. Is there some way to make these settings stick?

Re: Changing page setup for new dia(gram)s

2011-06-16 Thread Michael Ross
Hans, I am happy to make a template - can I get Dia to call it when I hit the New? I have saved my start up Dia all over the place as Diagram1.dia, but it never gets used - or at least the Page Setup doesn't travel with it. Perhaps I have to give it a special name or extension, as well as find