Hi Andrey and Steffen, 

Thanks a million for the quick replies. I checked my files again, based on the 
"Hazeron" example, and got it working now. The root cause was that the linking 
by naming convention wasn't clear to me. After adding the correct sheet name in 
front of the shape name in the shape's XML file, it all worked out ok. I will 
create the rest of the shapes now and then package them. 

@Steffen, do you reckon this would be useful for the Dia community at all? 
Seems to be quite a niche interest to me. Have a look at the recipe designs 
here:  www.saschawahlbrink.de/index.php/ein_kochbuch.html (sample attached; in 
German only, sorry) 

Cheers, 

Martin

 

Attachment: Bärlauchpasta_mit_Flusskrebsen.PDF
Description: Adobe PDF document


Am 10.09.2012 um 11:36 schrieb Andrey Repin:

> Greetings, Martin Wunderlich!
> 
>> I have recently discovered Dia as a tool to create recipe diagrams as per
>> the design by Sascha Wahlbrink (
>> www.saschawahlbrink.de/index.php/ein_kochbuch.html )
>> In order to make the creation of these recipes easier, I wanted to create a
>> number of custom shapes and add them to a new Dia sheet. I have been able to
>> create a shape and export it. I have also created a new sheet. However, I am
>> stuck now in trying to add the shape to the sheet so that it shows up in the
>> object selector. There seem to be two problems:
>> - I am not able to add the shape using the built-in dialog, because the .dia
>> directory is hidden on the Mac and is not showing up in the selection dialog.
> 
> You can always enter the path manually.
> 
>> - Adding the shape manually by editing the sheet XML doesn't seem to work,
>> because there is not pointer to the shape file ( I have posted my sheet XML
>> below).
> 
> You could attach your files next time. Would be way faster to give your code a
> try.
> 
>> Any ideas what I might be doing wrong?
> 
> Simplest answer I can give is "you have your files in wrong place."
> On Mac, the path is likely
> ~/Library/Application Support/Dia
> Check that the directory contains other Dia files.
> If all else fails, I've attached a very simple sheet, that should get you
> started.
> Shapes are linked by shape name, not by file name.
> Also, you're missing category name in your shape names. That could be another
> case for it to not work.
> 
> 
> --
> WBR,
> Andrey Repin (anrdae...@freemail.ru) 10.09.2012, <13:23>
> 
> Sorry for my terrible 
> english...<dia-Hazeron-2011-11-06.zip>_______________________________________________
> dia-list mailing list
> dia-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://live.gnome.org/Dia/Faq
> Main page at http://live.gnome.org/Dia
> 

_______________________________________________
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia

Reply via email to