Re: font scaling

2004-11-14 Thread Jon A. Solworth
Vaclav,
I use dia for pdflatex (which uses .pdf) graphics and
you can also use it for latex to produces .ps.  After extensive
experimentation, I found the best way was to export to fig
format and then have fig produce the .pdf and .pdftex_t files.

Attached is a small script to produce the files, ie
type dia2pdftex name.dia and it will produce name.pdf and name.pdftex_t.

Jon


On Wed, 2004-08-04 at 13:15, Vaclav Smidl wrote:
> Hi all,
> first, thanks for a great software, I used to draw diagrams in xfig, but dia 
> is definitely more suitable for what I need.
> 
> However, I still have troubles producing a reasonable file to include in 
> Latex.
> If I am right, there are basically 4 export filters I can use:
> (i) pstricks, (ii) metapost, (iii) eps Latin-1, and (iv) eps Pancho.
> 
> I have tried all of them and I got 4 significantly different results.
> (i) pstricks: fonts are at typed using default latex font without any scaling
> 
> I have got the impression that the command \setfont{} in the pstricks filter, 
> is not used at all. I mean, the empty command is used.
> In Dia FAQ, there is a line:
>  "unless you have a PSTricks with this functionality implemented"
> I was trying to find a pstricks with defined \setfont but I failed.
> Is there any such version?
> 
> (ii) metapost, scale of the fonts is way too big if _scale_ in the Page_setup 
> dialog is not 100%, even then, sometimes, trivial changes in the document 
> trigers change of the font scaling to 2x bigger, etc.
> (BTW, ellipse looks awful in this export)
> 
> (iii), (iv) does not produce formulas, but especially the Pancho variant is 
> close to what I see in Dia.
> 
> Did I miss something, or should I fill a bug report?
> 
> All this seems to be related to scaling of the whole document.
> What are the basic units "1" for the grid? 
> I like the idea that everything is relative to that measure, but I can not 
> figure out, to what it is relative. Grid "1" with 100% scaling gives about 15 
> horizontal grid point per A4 page. It seem to me like a very coarse grid...
> 
> 
> Thanks,
> 
> Vasek
> ___
> Dia-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://www.gnome.org/projects/dia/faq.html
> Main page at http://www.gnome.org/projects/dia
-- 
___
Jon A. Solworth 
Computer Science Dept. (M/C 152)url: http://parsys.cs.uic.edu/~solworth
University of Illinois at Chicago   telephone: (312) 996-0955
851 S. Morgan Rm 1120 SEO   FAX:   (312) 413-0024
Chicago, IL 60607-7053


dia2pdftex
Description: application/shellscript
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



How to type accents?

2004-11-14 Thread asierra
Hello:

In the old versions of dia one was able to type accents with an
international keyboard. Dia currently supports utf8 and latin1
(iso-8859-1) so I can edit the dia file and introduce the accent but I
cant with the Text object. I am using a recent CVS version and I know it
is not the first time this problem is reported.

Is this problem going to be fixed soon? As a former developer of dia, I am
not asking that someone else fix my problem but I just want to know if
this is being considered to be fixed some day and, if not, where should I
look in the code.

I am no more suscribed to this list.

Thank you in advance.

Alejandro
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



diaV0.94-good but some bugs

2004-11-14 Thread Olaf Scheidt
Olaf Scheidt 20.08.04
[EMAIL PROTECTED]


Dear Dia-Team,

I hope you understand my english.
The Dia Tool is very great.
My professors are really impressed what your developed tool can do. 
I have used it for a network presentation at my university here in
Germany/Emden.


I use the Version Dia V0.94 and have covered some bugs:
1. You cannot apply to a selected group of classes UML/Classes the same font
properties.
Only the last selected one changes.
2. When do you want to reload a diagram all font properties to the
UML/Classes objects are gone.
You have to edit each Class Diagramm separately to change the font
properties where it was
 before you have saved it.


Sincerly

Olaf



-- 
Olaf Scheidt
[EMAIL PROTECTED]

NEU: Bis zu 10 GB Speicher für e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



arc standard with text

2004-11-14 Thread mario diaz
hello my name is Mario
,and modifies the standard arch by dia, and I put a
text.
I work with the version 0.90, and he wanted to know
since I have to do they to be sent by the modificacoin
that I did

I do not speak English this message envie with help of
a translator, if something is not understood answer me
bye





___
100mb gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



dia

2004-11-14 Thread chris oloo
hi,
i'm french, and i have discover dia when i update my
mandrake 10.0 to 10.1 :)
dia is really funny, i love it :)
but there is one little matter
i find there are to few electrical symbol to do a
simple scheme.(i'm a student in electrical work and i
make scheme often)
i mean i can help you to add more symbol, to complete
this domain...(i you want)
i think it's really a good program,i hused it this
morning to do a diagram for a report.
thank you very much for this program :)







Vous manquez d’espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour 
dialoguer instantanément avec vos amis. A télécharger gratuitement sur 
http://fr.messenger.yahoo.com
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



mind mapping/topic mapping/dependency mapping?

2004-11-14 Thread Mike
I have a requirement to create a picture of all the dependencies
of my servers and their applications. I don't want to draw the
picture/diagram nor do I wanto maintain that image. What I want
(unless someone has a better idea) is to create a file of
dependencies (A: B C D -> B/C/D all depend on A) and have a
script generate a file (a dia file, an xfig file, something)
that describes these dependencies and the have the program (dia/xfig)
read the file, create the little boxes with their associated
labels, run an auto-layout algorithm to spread out the little
boxes, and then generate either a postscript, HPGL, dvi, jpg,
png, etc., file that I can print and hand to my manager.

Anyone have any thoughts how to do this easily?

Mike
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



paste buffer

2004-11-14 Thread Claude Girard
I would like to past object done with Dia into other
windows programs ( like word or DesignWorks) but it
seems the format created does not create compatible object.
Is it possible to paste into other windows programs.
Salutations!
Claude Girard
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


Possible bug?

2004-11-14 Thread Leandro Lucarella
Hi, I'm trying to open an old dia file (I don't remember with wich version
I created the file) in version 0.93 (Debian unstable) but I don't see the
objects colors.
Is this normal?

Here's the problematic file:
http://svn.llucax.hn.org/svn/facultad/tronco/arbol_mis_materias.dia

And here's a PNG exported with an old version where you can see the
objects colors:
http://svn.llucax.hn.org/svn/facultad/tronco/arbol_mis_materias.png
(the PNG is a little outdated but I think it shows the problem)


PD: Please, CC me, I'm not in the list.

-- 
 LUCA - Leandro Lucarella - JID: luca(en)lugmen.org.ar - Debian GNU/Linux
.,
 \  GPG: B08B4FB2 // D9E1 4545 0F4B 7928 E82C  375D 4B02 0FE0 B08B 4FB2 /
  ''
Do not clog intellect's sluices with bits of knowledge of questionable uses.
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



exporting all layers in different files

2004-11-14 Thread Philippe C. Martin
Hi,
I am new to dia and need to know wether it is possible to export all 
layers in different files (named after the layers names + extentsion)

Thanks,
Philippe
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


Re: Adding a new diagram type (ORM plug-in)?

2004-11-14 Thread Eric Schabell
On Thu, Aug 12, 2004 at 10:31:22AM +0200, [EMAIL PROTECTED] wrote:
> > Howdy all,
> >
> > I am working for a research group that has been testing Dia extensively as
> > a
> > permenant tool for drawing modeling diagrams. This seems to have resulted
> > in
> > positive responses from all the users, except that there are no ORM
> > diagram
> > elements available as in the provided ER, Flow charts, etc.
> >
> > No problem as it is open source and they have asked me to look into
> > creating a
> > plug-in (is this the right idea?) for ORM diagrams.
> >
> > I have looked at the lists a bit (this is not my first Open Source
> > project),
> > checked your site and even took a brief look at the sources. I noted that
> > your project would like to be contacted (on the developers page) about
> > "Other
> > diagram types" so here I am!
> >
> > Where could I best start looking to implement such an ORM diagram into
> > Dia? Do
> > you have examples, others working on such a thing, ideas, comments for me?
> 
> Haven't heard of ORM before, and I've certainly not heard of anyone
> working on it.  The best sources are the sources (*grin*) and the Dia
> TWiki (http://faemalia.org/wiki/view/Technical/DiaEditor).  You should be
> aware of the difference between shapes and objects, shapes are very easy
> to create, but very limited in functionality.  You can mix the two in a
> sheet.
> 
> Making new objects involves a fair amount of boilerplate (ought to make
> something that can generate it:), but there's very little that takes
> actual though, mostly the drawing part where you have to calculate margins
> and other stuff as needed.
> 
> Looking at some samples (http://www.orm.net/pdf/ORMwhitePaper.pdf), I
> don't see any major problems in implementing this.  You'll want to look at
> the movable text label (see the FS lines).  The fact boxes will need a bit
> of work -- if you want arbitrarily many fact connections, it'll be a
> little tricky (need PROP_LIST), but if you just want two or three facts,
> it can be hardcoded with the little arrows, connection points etc.
> 
> One warning:  Do not look to the UML Class object for inspiration, it is
> horrible.
> 
Hello, 

Thanks for the tips, I have already started playing around and thought a
good place to start would be to copy sybase as an orm sheet with three
figures (just renamed existing sybase figure files).

I have added orm code in :

objects/orm
objects/Makefile.am

po/POTFILES.*

shapes/orm
shapes/Makefile.am

sheets/orm.sheet.in
sheets/Makefile.am

I run ./autogen.sh, ./configure and make.

I seem to see the actual plugins being built in objects (no sybase or
orm), all builds ok, no errors and only see sybase as a tab with the
icons. I was hoping to see orm tab... I must be missing something, but
not sure what. Ideas?

Thanks,
erics
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



JPEG62.DLL Missing

2004-11-14 Thread Meriam, Thomas
Title: JPEG62.DLL Missing






I tried to import a .JPG picture and got:


"The dynamic link library jpeg62.dll could not be found in the specified path C:\Program files\Dia\Bin;C:\Winnt\system32…."

JPEG62.dll is not on my C: anywhere.


???


Thanks.


--Tom in Concord

  [EMAIL PROTECTED]



___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: 0.94 on XP: installation problems

2004-11-14 Thread Steffen Macke
Dear Alan,

> liked what they saw.  They downloaded 0.94 and
> tried to install it.  They saw two problems:
> Dia crashed frequently, and when it did not crash
> the screen redraws were slow and infrequent.
> 
> They have switched to 0.92 and are using it without
> problem.

Thanks for the feedback - I hope that stability and performance
of 0.94 and above will improve again. If you could identify those
actions causing the instability, this would be a big help to us.

Steffen
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



dia in Polish

2004-11-14 Thread Dr. Andrzej Cichy
Hi,
I DLed dia ver. 0.94, and since my XP Pro is in Polish the program was 
installed with almost all menus in Polish. Hence two questions: 1. Prefer 
to have English interface. I was counting to have access to Preferences. 2. 
So second problem. There is English help file where in Customization 
chapter I was suggested to select File ==> Preferences, but in Polish menu 
there is nothing like this.

Please help me
Dr. Andrzej Cichy
[EMAIL PROTECTED]
Int'l American School
Warszawa Polska 


--
Startuj z INTERIA.PL... >>> http://link.interia.pl/f1834
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


dia 0.94 install failure on freebsd w/ error " make: don't know how to make UML.sheet. Stop"

2004-11-14 Thread S P
I've seen JB & Lars's threads below on dia-list
mailinglist.(I'm not on it so if anyone has solution,
please cc: me directly).

And, on my FreeBsd box I tried to install dia 0.94
from source and ran into the same problem JD
mentioned.

I went to http://www.gnome.org/projects/dia/ for
updates/patch and didn't find a way to make the dia
installation work.

Please point me to the fix/patch and how I may apply
it as I'm pretty newbie on FreeBSD.  I've used dia on
linux preinstalled and since my workstation don't have
any diagram tool, I was trying to download it.

Thanks in advance.

-SP




Re: Unable to correctly compile dia on NetBSD

* From: Jean-Baka Domelevo
* Subject: Re: Unable to correctly compile dia on
NetBSD
* Date: Sun, 11 Jul 2004 12:49:43 -0700 

Lars Clausen wrote:


On Sun, 2004-07-11 at 20:56, Jean-Baka DOMELEVO
wrote:


Hello !
I've read the message at the link below:
http://mail.gnome.org/archives/dia-list/2004-April/msg00026.html
The fact is that I'm running in the very same problem
as reported at
that time:


make: don't know how to make UML.sheet. Stop
*** Error code 1


This occurs when I try to compile dia 0.93.
The command "configure" is executed with only a little
error, in the attached configure_errors.log file. But
the "make" is more problematic, with the fatal error
above.



That configure error is very unlikely to have anything
to do with the
fatal error.  Can you check the sheets/Makefile and
see if it contains


%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard
$(top_srcdir)/po/*.po) $(INTLTOOL_MERGE)
$(top_srcdir)/po $< $@ -x -u \
-c $(top_srcdir)/po/.intltool-merge-cache

And are you using Gnu make?


Thanks for your quick answer, but I do have the above
string in my sheets/Makefile, and yes I'm using gcc,
as reported below (it is the tail of the "configure"
output).
Anyway, any idea ?
Thanks again.
JB
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



dia in Polish

2004-11-14 Thread Dr. Andrzej Cichy
Hi,
I found Preferences, but nothing about selecting language of interface
Please help me
Dr. Andrzej Cichy
[EMAIL PROTECTED]
Int'l American School
Warszawa Polska  


--
Bar w Internecie wciaz bez cenzury! >>> http://link.interia.pl/f1835 

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


Using the Circuit library

2004-11-14 Thread Andrej Vodopivec
Hi,
  

As a beginner trying to find a replacement for xfig I was so impressed
by pointer and shape tools in the first 10 minutes that I spend hours
trying overcome the problems inserting the first shape from the
library. While inserting Circuit/vresistor_de.shape I was surprised when
I got hresistor_de.shape or so I thought until I found out it is
just distorted by scaling. Now, the shapes of electronic components
should not change the width/height aspect ratio (the body of a resistor
should be a rectangle with a ratio of 1:3) and all instances of a
component should be the same size. Is there a way to fix the width/height
aspect ratio of shapes and their relative size so I could still resize
a diagram to get more (and smaller) components in my diagram.
  

Andrej
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


Re: [PATCH] in app/makefile.msc "all:" should be the first target

2004-11-14 Thread Steffen Macke
Ulf,

did you read the document below?

http://dia-installer.sourceforge.net/dia_win32_compilation.html

I hope it's not too outdated. 

Steffen
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



How about C++ code generation?

2004-11-14 Thread Olaf Beckman Lapré



Hi,
 
How about putting C++ code generation in DIA, preferably 
round-trip capable? Tip: put the user code blocks between begin-end markers, and 
generate the rest each time anew. Coder can put in custom blocks (begin_global, 
end_global to add a global variables section for example). 
 
Regards,
 
Olaf
 
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



adding stencils to dia

2004-11-14 Thread andre passamani // maratimba
Hey,


I work as information architect in Sao Paulo City Hall and
Telecentros Projects, down there in Brazil. We are the
biggest gnome users in latin america (more than 2,500 PCs).

So, dia is something really good to me but, I spend lotta
time to improvise my stencils...

I thought if I could add some IA stencils to dia?

I got the templates but how should I proceed?



__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: Scaling, printing, etc. in Dia

2004-11-14 Thread Sven Herzberg
Am Sa, den 18.09.2004 schrieb Chris Green um 18:11:
> I've discovered the 'Page Setup' window but I can't see how that
> helps.  If you set it to "Fit to: 1 by 1" then the page varies in size
> as you draw which is most distracting and the edge of the drawing is
> at the edge of the paper with no margins so does it all print?
> 
> I also found with "Fit to: 1 by 1" I could end up with a drawing
> window that couldn't be scrolled to cover the whole page I was trying
> to draw on.

  Try using the scroll wheel of your mouse (for vertical scrolling),
press shift when using the wheel for horizontal scrolling.

  But this should be available via the scrollbars too. Please check
whether there's a bug for this filed against dia at bugzilla.gnome.org.
If not, file it there (even when the mouse wheel is a good workaround,
as there might be people who don't have mouse wheels).

Regards,
  Sven
-- 
Sven Herzberg <[EMAIL PROTECTED]> Â GNOME Deutschland 
Criawips  Â GnomeGCJ 
Jabber <[EMAIL PROTECTED]>  Â ICQ <177176642>
GnuPG Fingerprint 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Dia / Ground and Earth

2004-11-14 Thread [EMAIL PROTECTED]
Hello,
first, I want to thank you about Dia... Because it's exactly what I need.
Some suggestions :
About symbols :
(Circuit)
  |
-
---
  -
is earth (not ground)
but
  |
-
/ / / /
is ground (and should be add)
Moreover, you should add European Operational Amplifier (it's a 
rectangle with +/- and in the top-right the following symbol : Triangle 
Infinity)

You should also add
voltage source (a circle and a line)
current source (a circle and a perpendicular line)
An other suggestion :
why not a "svg with dia namespace" file format instead of dia...
It will be easier to import dia schematic in any application.
Thanks again
Regards
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


Re: Object / sheets

2004-11-14 Thread Eric Schabell
Howdy all,

Again I am posting as I am really stuck here. I would like to get these
implemented as stated below, but the icon views as seen in my sheet look
terrible.

Anyone have an idea why they look so sad and small?

I have even tried editing the .shape files but this does nothing with
the icon as seen on the sheet overview. I can scale the images with gimp
for example (the .xpm files), but this makes just ugly and fuzzy icons
on the sheet view.

Thanks in advance to anyone who can help me out,

erics

On Mon, Sep 20, 2004 at 11:18:21AM +, Eric Schabell wrote:
> Howdy all,
> 
> I have been busy and have a good idea of how to get the Object-Role
> Modeling sheets done and ready for inclusion if Lars would like to add
> them one day to dia.
> 
> I have one problem that I don't really understand:
> 
> When i make a custom shape, I export the diagram as a *.shape file, it
> is then available for inclusion into my ORM sheet via File -> Sheets and
> Objects. When I include my new shape and apply the changes, I get a very
> unreadable picture in the sheet view, like my diagrams are miniture.
> 
> How can I get the nice clear pictures you have for the other sheets?
> Make my diagrams huge? Fatter line widths?
> 
> Thanks,
> erics
> ___
> Dia-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://www.gnome.org/projects/dia/faq.html
> Main page at http://www.gnome.org/projects/dia
> 

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Compile problems on SuSE 9.0

2004-11-14 Thread Patrik Thalin
The problem seems to be in the wmf plugin. Any ideas?

I get the folowing error:

linux:/usr/local/dia/dia-0.94/plug-ins # make 
Making all in cgm
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/cgm'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/cgm'
Making all in cairo
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/cairo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/cairo'
Making all in pstricks
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/pstricks'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/pstricks'
Making all in hpgl
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/hpgl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/hpgl'
Making all in wpg
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/wpg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/wpg'
Making all in svg
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/svg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/svg'
Making all in shape
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/shape'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/shape'
Making all in dxf
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/dxf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/dxf'
Making all in python
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/python'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/python'
Making all in xfig
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/xfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/xfig'
Making all in wmf
make[1]: Entering directory `/usr/local/dia/dia-0.94/plug-ins/wmf'
source='wmf.cpp' object='wmf.lo' libtool=yes \
depfile='.deps/wmf.Plo' tmpdepfile='.deps/wmf.TPlo' \
depmode=none /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. 
-I.me/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 
-I/opt/gnome/include/pannome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include 
-I/usr/include/libxm0 -I/usr/include/freetype2 -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/gl
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I../../lib 
-I/opt/gnome/iinclude/atk-1.0 -I/opt/gnome/include/pango-1.0 
-I/usr/X11R6/include -I/usr/iib/glib-2.0/include -I/usr/include/libxml2 
-I/usr/include/libart-2.0 -I/opt//include/glib-2.0 
-I/opt/gnome/lib/glib-2.0/include -c wmf.cpp  -DPIC
../../libtool: line 1: g++: command not found
make[1]: *** [wmf.lo] Error 1
make[1]: Leaving directory `/usr/local/dia/dia-0.94/plug-ins/wmf'
make: *** [all-recursive] Error 1
linux:/usr/local/dia/dia-0.94/plug-ins #

/Patrik

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



New to dia devt... current CVS minor problem

2004-11-14 Thread Andy Piper
Hi folks,

I'm new to Dia development but have generally been making a
nuisance of myself in Bugzilla lately so thought I'd drop onto
the list to say hello.

I couldn't get current CVS to build on my FC1 system. make
failed in the app folder with an error about unresolved
symbols. After scratching my head as to why various libraries
were missing from the linker line, I spotted that Makefile.am
was updated in the past couple of weeks. By backing out the
change and using the previous revision of app/Makefile.am,
things build again for me.

No doubt I'll post more as I start to get to grips with the
current state of Dia development and the ways in which I might
contribute.

Andy

-- 
Andy Piper - Farnborough, Hampshire (UK)
http://jumpgate.homelinux.net/
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Problem reducing size for my Puppy Linux distro

2004-11-14 Thread Barry Kauler
Hi guys,
Could someone kindly advise me about a difficulty that I am having
with setting up Dia.
I am the developer of Puppy Linux, which is under 50M live-CD yet with
an amazing collection of apps.
I want to add Dia, but I need to cut the size a bit.

I targetted the sheets -- I ran them through grep and took out all the
non-English lines, as Puppy is English only.
Dia starts up ok and runs and does display the library shapes, but
spits out a heap of error messages like this:

"premature end of data in tag object in Assorted.sheet"

...so, should I put back dummy lines somehow to make it happy?

Also, a window pops up with this message:

"Could not find plugin init function in '/usr/local/lib/dia/libxslt_filter.la'"

I don't understand what this means.

I compiled Dia on Mandrake 9.2, then copied everything into my distro.
It's the same in Puppy as in mandrake except for the edited sheets, and
I left out a few.

Apart from all the error messages at startup, and the symbols window initially
blank, I can then select a set of symbols and they do appear and I can use Dia
and it all seems to work ok.

Any suggestions most welcome.

Checkout Puppy at:
http://www.goosee.com/puppy

I'm not on the Dia mail list, appreciate if you can reply with copy to me
at [EMAIL PROTECTED]

Regards,
Barry Kauler
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



print problems with dia.

2004-11-14 Thread lightwaveship
Hello , I have just tried to use your application. I had no trouble with the 
features, until i tried to print my finished document. The scale is 
unbelievably huge and cannot be reduced to a single 8*11 sheet. I have tried 
everything suggested by your site and nothing works. Any help would be 
appreciated. Otherwise I'll have to do it over in excel

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



how to display ext_attributes

2004-11-14 Thread [EMAIL PROTECTED]

Hello!

Thanks for Dia and the ext_attribute feature.

I want to create administrative shapes e.g. a server has got a name (string), 
an operation system(string) and is of type cluster(bool). This is no problem 
with ext_attribute. But i want these attributes to get displayed in svg. A box 
with the text "OS: " and after this fixed text should appear the content of the 
ext_attribute "name".

Would be nice if you can give an example how to refer to the value?!

Thanks for any help!
Michael

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



mp output broke?

2004-11-14 Thread cali
I exported a diagram from dia 0.92.2 as a metapost tex macro, the mp file
was processed with mpost version 0.641 and the resulting .1 file was ok and
worked in the latex file. I tried the same in dia 9.4 and mpost choked
saying:
C:\Documents and Settings\onionhead\Desktop\currentwork>
This is MetaPost, Version 0.641 (Web2c 7.3.7x)
**^C
C:\Documents and Settings\onionhead\Desktop\currentwork>
This is MetaPost, Version 0.641 (Web2c 7.3.7x)
(scud.mpmakempx: Command failed: tex mpxerr.tex; see mpxerr.l
scud.mp
scud.mpx
! Unable to make mpx file.
l.20   label.top(btex
 {\usefont{OT1}{cmtt}{b}{n} } etex scale
Transcript written on scud.log.
C:\Documents and Settings\onionhead\Desktop\currentwork>
Here is the full crap:
-- START OF CRAP 
This is TeX, Version 3.14159 (Web2c 7.3.7x) (format=tex 2004.4.12)  12 OCT
2004 21:55
**mpx2220.tex
(./mpx2220.tex
! Misplaced alignment tab character &.
l.1 &
latex
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
! Undefined control sequence.
l.2 \documentclass
 {minimal}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
l.3 \begin
 {document}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
 \hbox {\hbox {{\usefont
  {OT1}{cmtt}{b}{n} }}\vrule width1sp}
\next #1->\setbox \z@ \hbox {#1
  [EMAIL PROTECTED]
l.6 {\usefont{OT1}{cmtt}{b}{n} }}\vrule width1sp}}
 }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
[1]
! Undefined control sequence.
 \hbox {\hbox {{\usefont
  {OT1}{cmtt}{b}{n} }}\vrule width1sp}
\next #1->\setbox \z@ \hbox {#1
  [EMAIL PROTECTED]
l.8 {\usefont{OT1}{cmtt}{b}{n} }}\vrule width1sp}}
 }
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
[1] [1] )
Output written on mpx2220.dvi (3 pages, 396 bytes).
-- END OF CRAP 
Do I have to do something different in 9.4 to get metapost tex macros to
work. The reason I want to use 9.4 is that I heard it had fixed some bugs
about font size for metapost output. I can probably of course find a version
in between 9.2 and 9.4 that works, maybe, but in any case I thought you'd
want to know that there might be a problem with the metapost output?
psychadelic elephant onion
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


How to add points (corners) to a polygon?

2004-11-14 Thread Keith Bremer
Dear Dia People,
   This program is a really nice little tool - I use it quite a lot to 
produce UML, ERD and database design models.  However, I've encountered 
a situation where I'd really like to draw a >3-sided polygon and I can't 
see how.

   When I add a polygon to a diagram I get a triangle - fine as far as 
it goes, but I was expecting to be able to add new corner points to the 
object.  How do I do that?  I've tried almost every key combination I 
can think of while clicking the mouse on the edge I want to extend, but 
without any effect.  I'm sure It's just a simple thing but i can't 
figure it out - the FAQ doesn't seem to mention polygons, and the 
documentation doesn't say how as far as I can see.

   Any help will be much appreciated.
  Thanks in advance,
  Keith Bremer.
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


Trouble with link

2004-11-14 Thread Jefferson Miguel Goncalves Ferreira
Theres a trouble in this link!The latest bleeding edge version can be found in the Gnome CVS tree.I want a for Windows Version for Dia Draw! Can you help me?!Thanks,Jefferson___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



UTF-8 Charset & Java Plugin Development - Problems

2004-11-14 Thread joel
Dear Friends,

I'm writing a kind of a Java module that generates Dia diagrams, but I'm
facing some problems related to the UTF-8 File format. My Java class
generates
a file but when I try to open it using Dia comes a message saying the file
format is unknown.
Altough it is in the very beginning I'm appending the java code hoping it
may help.

Thanks in advance.

Joel Oliveira
Systems Engineer

-
/*
 * DiaMaker.java
 * This class drills into a directory structure and parses files named
 * *.php and *.inc writing the result into a file, supposed to be in UTF-8
 * charset to be read in Dia
 *
 * My environment is:
 *
 * java version "1.4.2_04"
 * Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
 * Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
 *
 * Linux slivre4 2.6.3-4mdk #1 Tue Mar 2 07:26:13 CET 2004 i686 unknown
unknown GNU/Linux
 *
 * Created on 28 de Outubro de 2004, 10:40
 */
import java.io.*;
import java.util.*;
/**
 *
 * @author  root
 */
public class DiaMaker {
PrintStream os ; // used into display method
DataOutputStream resFile;
OutputStreamWriter osw;
String rootDir ="/home/teleduc/public_html";
String resultDiaFile ="/home/teleduc/TeleducParsing.txt";
String format1 = ".php";
String format2 = ".inc";


/** Creates a new instance of DiaMaker */
public DiaMaker() {
try {
os = System.out;
resFile = new DataOutputStream(new FileOutputStream( new
File(resultDiaFile)));
osw = new
OutputStreamWriter(resFile,java.nio.charset.Charset.forName("UTF-8"));
}catch (Exception e){

}


}
public static void main(String s[]){
DiaMaker dm = new DiaMaker();
dm.start();

}
public void start(){
   this.beginDiagram();
   this.findfiles(rootDir);
   this.endDiagram();

}
public void findfiles(String pathname){
File dirRaiz = new File(pathname);
if (dirRaiz.exists() && dirRaiz.isDirectory()){
File[] conteudo = dirRaiz.listFiles();

for (int i=0 ; i < conteudo.length; i++ ){
File arquivo = conteudo[i];
if (arquivo.isFile()){
display("examinando conteudo do arquivo:
"+arquivo.getAbsolutePath());
parseFile(arquivo);
} else {
display("entrando no diretorio:
"+arquivo.getAbsolutePath());
findfiles(arquivo.getAbsolutePath());
}
}
}
}

public void display(String msg){
os.println(msg);

}

public void parseFile(File f){
try {
if (
(f.getName().indexOf(format1)>-1)||
(f.getName().indexOf(format2)>-1) ) {
FileReader fr = new FileReader(f);
BufferedReader br2 = new BufferedReader(fr);
String linha = null;
while ((linha = br2.readLine())!=null){
linha = linha.trim();
if (linha.indexOf("function ")==0){
display(extractName(linha));
createBox(linha);
}
if (linha.indexOf("select ")>-1){
display(linha);
}
if (linha.indexOf("update ")>-1){
display(linha);
}
if (linha.indexOf("insert ")>-1){
display(linha);
}
if (linha.indexOf("delete ")>-1){
display(linha);
}
//createBox(out


}
br2.close();
}
} catch  (Exception e){
}
}

public String extractName(String functionName){
String name = "";
StringTokenizer st = new StringTokenizer(functionName, " (");
st.nextToken();
name = st.nextToken();
return name;
}
public void beginDiagram(){
try {
writeToFileUTF("");

writeToFileUTF("http://www.lysator.liu.se/~alla/dia/\";>");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("#A4#");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
writeToFileUTF("");
wr

Dia Win32 error

2004-11-14 Thread Shu Hung (Koala)
Hello,
I've installed the Win32 version of Dia recently.

When I start the program, a command prompt windows poped up and give me
an error message repeatly:
"** (dia.exe:3820): WARNING **: Couldn't load font "新細明體 9" falling
back to "
Even after the program windows appeared, the command prompt windows keep
giving out the message.

My Windows XP is in Chinese and seems the problem has something to due
with the system default Chinese font "新細明體".

What should I do?


Koala


error message.rtf
Description: MS-Word document


smime.p7s
Description: S/MIME Cryptographic Signature
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



missing feature.

2004-11-14 Thread Peter Kovacs
Hi Dia-fans.

I try to cartograph a Opensource Project with UML.Diagramms.
It is nice and uncomplicated to do, but the descriptions 
for the Method is too long (about 4 pages wide by 0.5 letters)
Is there any possibility to break the line?

Peter

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Dia on TheOpenCD v2.0

2004-11-14 Thread Henrik Nilsen Omma
Hello,
Just writing to let you know that Dia has been selected for v2.0 of 
TheOpenCD scheduled for release in December. This is a compilation of 
the very best user-level FOSS available on the Windows platform. The 
program selection is slowly growing as more desktop applications mature, 
but the  current number is still just 25.

In the next few weeks we'll be working on the text and other content to 
be included with the CD browser. This time the installer will also be 
multi-lingual. You are invited to stop by our forum [1] and wiki [2] to 
help with text authoring, screenshot submissions or other suggestions 
that will help portray Dia in a favorable light. We would also 
appreciate any help you could provide with translations (esp. after the 
text freeze on Nov 10th). Thanks.

- Henrik
[1] http://theopencd.sunsite.dk/forum/
[2] http://www.theopencd.net/wiki/
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


sequence diagram support

2004-11-14 Thread Ing. Jiri Biba

Dear developers of Dia,

thank you for you product, it's usefull in many ways. However, if you thought 
of upgrade, it would be pleasant if Dia supported sequence diagrams as well.
Take it as a comment and an idea for a further development.

Best regards,
Ing. Jiri Biba

---
Czech Technical University in Prague
Faculty of Electrical Engineering
Department of Cybernetics
Gerstner Laboratory
Agent Technology Group
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Dia hex-grid vs. triangular grid

2004-11-14 Thread Felix Shvaiger
Hi All,
Hex-grid is great idea (I see it in v0.94) !
As evolution of it, I think,
triangular grid should be added or even
hex-grid should be replaced with triangular.
Triangular grid has all features and advantages of hex-grid
(in fact, tri-grid is exactly hex-grid with extra point in center of hexagon)
and some additional: guidelines are continuous,
more guided directions from each grid point, etc.
Could someone make it for Dia, please ?
Compare (fixed width font required):
  
 /\  /\  /\
/  \/  \/  \
\  /\  /\  /
 \/  \/  \/
 /\  /\  /\
/  \/  \/  \
\  /\  /\  /
 \/  \/  \/
 /\  /\  /\
/  \/  \/  \
\  /\  /\  /
 \/  \/  \/
_\/__\/__\/__\/__\/__\/__\/__\/_
 /\  /\  /\  /\  /\  /\  /\  /\
/__\/__\/__\/__\/__\/__\/__\/__\
\  /\  /\  /\  /\  /\  /\  /\  /
_\/__\/__\/__\/__\/__\/__\/__\/_
 /\  /\  /\  /\  /\  /\  /\  /\
/__\/__\/__\/__\/__\/__\/__\/__\
\  /\  /\  /\  /\  /\  /\  /\  /
_\/__\/__\/__\/__\/__\/__\/__\/_
 /\  /\  /\  /\  /\  /\  /\  /\
/__\/__\/__\/__\/__\/__\/__\/__\
\  /\  /\  /\  /\  /\  /\  /\  /
_\/__\/__\/__\/__\/__\/__\/__\/_
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


Change fill color from Python

2004-11-14 Thread Magnus Henoch
I want to change the fill color of an object from a Python function.
I try the following in the Python console, where obj is an object:

color = dia.DiaColor(1.0, 0.0, 0.0)
TypeError: cannot create 'DiaColor' instances

color = obj.properties["fill_colour"].value  # works

obj.properties["fill_colour"].value = color
TypeError: 'DiaProperty' object has only read-only attributes (assign to .value)

Are these things (creating DiaColor objects, and changing properties)
not implemented yet, or am I just missing something?

Magnus

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: sequence diagram support

2004-11-14 Thread Alexander
Ing. Jiri Biba schrieb:
Dear developers of Dia,
thank you for you product, it's usefull in many ways. However, if you thought 
of upgrade, it would be pleasant if Dia supported sequence diagrams as well.
Take it as a comment and an idea for a further development.

Best regards,
Ing. Jiri Biba
---
I don't know what version of dia you use, mine does support sequence 
diagrams. It is a bit tricky to cope with more than one activity focus per 
life line (just overlay them *g*) and needs some time to make messages look 
synchronous (straight forward horizontal, due to fixed/discrete connection 
points), but afterall I'm able to draw sequence diagrams.

Did I mix up something or is my sequence diagram (objects in horizontal 
line, vertical lifelines with rectangular boxes on them, cute crosses for 
destructions, pretty arrows for messages) different from yours?

Maybe sub-activities (call from one activity focus of object A to a 
sub-activity of the origin focus, maybe to illustrate recursion or stacking 
of method calls) are a point to do something. But everyday-sequence 
diagrams already look fine.
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: How about C++ code generation?

2004-11-14 Thread Alan Horkan

On Fri, 12 Nov 2004, [iso-8859-1] Olaf Beckman Lapré wrote:

> Date: Fri, 12 Nov 2004 13:41:00 +0100
> From: "[iso-8859-1] Olaf Beckman Lapré" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: How about C++ code generation?
>
> Hi,
>
> How about putting C++ code generation in DIA, preferably round-trip
> capable?
> Tip: put the user code blocks between begin-end markers, and
> generate the rest each time anew. Coder can put in custom blocks
> (begin_global, end_global to add a global variables section for
> example).

http://www.gnome.org/projects/dia/links.html

At the moment we recommend using projects such as "Dia 2 Code"
http://dia2code.sourceforge.net/ or "Diazy" http://diazy.sourceforge.net/
for code generation and to Generate Dia Diagrams from Code we would
recommend Autodia.

Work to better integrate those solutions with Dia or other functionality
that made them easier to use would certainly be welcomed.

Sincerely

Alan Horkan

http://advogato.org/person/AlanHorkan/
Inkscape, Draw Freely http://inkscape.org
Free SVG Clip Art http://OpenClipArt.org

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: dia in Polish

2004-11-14 Thread Alan Horkan

On Thu, 23 Sep 2004, Dr. Andrzej Cichy wrote:

> Date: Thu, 23 Sep 2004 20:09:21 +0200
> From: Dr. Andrzej Cichy <[EMAIL PROTECTED]>
> Reply-To: discussions about usage and development of dia
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: dia in Polish
>
> Hi,
>
> I DLed dia ver. 0.94, and since my XP Pro is in Polish the program was
> installed with almost all menus in Polish. Hence two questions:

> 1. Prefer to have English interface. I was counting to have access to
> Preferences. 2.  So second problem. There is English help file where in
> Customization chapter I was suggested to select File ==> Preferences,
> but in Polish menu there is nothing like this.

The simplest way to get an English version of Dia is to delete the
language files for other languages (.po files) and then the English text
will show through.  (There are other methods though).

- Alan

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: adding stencils to dia

2004-11-14 Thread Alan Horkan

On Fri, 17 Sep 2004, andre passamani // maratimba wrote:

> Date: Fri, 17 Sep 2004 06:31:25 -0700 (PDT)
> From: andre passamani // maratimba <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: adding stencils to dia
>
> Hey,
>
>
> I work as information architect in Sao Paulo City Hall and
> Telecentros Projects, down there in Brazil. We are the
> biggest gnome users in latin america (more than 2,500 PCs).
>
> So, dia is something really good to me but, I spend lotta
> time to improvise my stencils...
>
> I thought if I could add some IA stencils to dia?

Please, what does I.A. stand for?

> I got the templates but how should I proceed?

You can create a new sheet by choosing (from the Toolbox window)
File, Sheets and Objects...

You can create new shapes by drawing them in Dia and then saving them by
choosing (from the Image window)
File, Export...
Dia Shape File (.shape)

Then add those shapes to your sheet again using the "Sheets and Objects"
Dialog.

Hope that helps.

Sincerely

Alan Horkan

http://advogato.org/person/AlanHorkan/
Inkscape, Draw Freely http://inkscape.org
Free SVG Clip Art http://OpenClipArt.org
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: How to add points (corners) to a polygon?

2004-11-14 Thread Alan Horkan

On Sun, 17 Oct 2004, Keith Bremer wrote:

> Date: Sun, 17 Oct 2004 17:51:30 +
> From: Keith Bremer <[EMAIL PROTECTED]>
> Reply-To: discussions about usage and development of dia
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: How to add points (corners) to a polygon?
>
> Dear Dia People,
>
> This program is a really nice little tool - I use it quite a lot to
> produce UML, ERD and database design models.  However, I've encountered
> a situation where I'd really like to draw a >3-sided polygon and I can't
> see how.

I can understand your pain, it is not obvious.

> When I add a polygon to a diagram I get a triangle - fine as far as
> it goes, but I was expecting to be able to add new corner points to the
> object.  How do I do that?

Middle click on the object
(if you have a three button mouse and the menu bar disabled)

If you have the menubar enabled then right clicking (as opposed to middle
clicking) on the object should prompt you to Add Corner or Delete Corner.


If you double click on the icons in the toolbox you will get extra options
for some of the tools.  I wish there was an option set the default number
of sides of the polygon but there isn't and I haven't gotten around to
adding it but if you are a programmer then help improving Dia is always
appreciated.

> I've tried almost every key combination I can think of while clicking
> the mouse on the edge I want to extend, but without any effect.  I'm
> sure It's just a simple thing but i can't figure it out - the FAQ
> doesn't seem to mention polygons, and the documentation doesn't say how
> as far as I can see.

Thanks for using Dia.

Sincerely

Alan Horkan

http://advogato.org/person/AlanHorkan/
Inkscape, Draw Freely http://inkscape.org
Free SVG Clip Art http://OpenClipArt.org

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: Trouble with link

2004-11-14 Thread Alan Horkan

On Mon, 18 Oct 2004, Jefferson Miguel Goncalves Ferreira wrote:

> Date: Mon, 18 Oct 2004 10:29:57 -0300 (ART)
> From: Jefferson Miguel Goncalves Ferreira
> <[EMAIL PROTECTED]>
> Reply-To: discussions about usage and development of dia
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Trouble with link
>
> Theres a trouble in this link!
> The latest bleeding edge version can be found in the Gnome CVS tree.
>
> I want a for Windows Version for Dia Draw! Can you help me?!

Say please!

Thanks to the work of Steffen Macke windows binaries of Dia are available
http://dia-installer.sourceforge.net/


Sincerely

Alan Horkan

http://advogato.org/person/AlanHorkan/
Inkscape, Draw Freely http://inkscape.org
Free SVG Clip Art http://OpenClipArt.org

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: Dia hex-grid vs. triangular grid

2004-11-14 Thread Alan Horkan

On Wed, 10 Nov 2004, Felix Shvaiger wrote:

> Date: Wed, 10 Nov 2004 12:30:42 +0200
> From: Felix Shvaiger <[EMAIL PROTECTED]>
> Reply-To: discussions about usage and development of dia
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Dia hex-grid vs. triangular grid
>
> Hi All,
>
> Hex-grid is great idea (I see it in v0.94) !
>
> As evolution of it, I think,
> triangular grid should be added or even
> hex-grid should be replaced with triangular.
> Triangular grid has all features and advantages of hex-grid
> (in fact, tri-grid is exactly hex-grid with extra point in center of hexagon)
> and some additional: guidelines are continuous,
> more guided directions from each grid point, etc.
>
> Could someone make it for Dia, please ?

Sounds like a good idea.

Please add a request in Bugzilla.  http://bugzilla.gnome.org

It might get added eventually by some generous soul but if you really want
it you will need to try and add it yourself or sponsor a programmer to do
it for you.

Thanks for using Dia.

Sincerely

Alan Horkan


Earlier for no particular reason I took a screenshot Screenshot of Dia
http://matrix.netsoc.tcd.ie/~horkana/dia/screenshots/Dia-Screenshot-4-KeiraKnightley.png
(Dimensions 1024, 1280 pixels.  File Size 509 kilobytes)


___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: dia

2004-11-14 Thread Alan Horkan

On Tue, 31 Aug 2004, [iso-8859-1] chris oloo wrote:

> Date: Tue, 31 Aug 2004 13:40:41 +0200 (CEST)
> From: "[iso-8859-1] chris oloo" <[EMAIL PROTECTED]>
> Reply-To: discussions about usage and development of dia
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: dia
>
> hi,

> i'm french, and i have discover dia when i update my
> mandrake 10.0 to 10.1 :)

> dia is really funny, i love it :)
> but there is one little matter
> i find there are to few electrical symbol to do a
> simple scheme.(i'm a student in electrical work and i
> make scheme often)
> i mean i can help you to add more symbol, to complete
> this domain...(i you want)

Please do let us know when you have created new shapes, and we will tyr
and include them.

> i think it's really a good program,i hused it this
> morning to do a diagram for a report.

Glad you like it.  We look forward to you helping us make it even better.

> thank you very much for this program :)

Thanks for using Dia.

Sincerely

Alan Horkan

Inkscape, Draw Freely http://inkscape.org
Free SVG Clip Art http://OpenClipArt.org

Earlier for no particular reason I took a screenshot Screenshot of Dia
http://netsoc.tcd.ie/~horkana/dia/screenshots/Dia-Screenshot-4-KeiraKnightley.png
(Dimensions 1024, 1280 pixels.  File Size 509 kilobytes)

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: mind mapping/topic mapping/dependency mapping?

2004-11-14 Thread Alan Horkan

On Wed, 1 Sep 2004, Mike wrote:

> Date: Wed, 1 Sep 2004 13:07:32 -0500
> From: Mike <[EMAIL PROTECTED]>
> Reply-To: discussions about usage and development of dia
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: mind mapping/topic mapping/dependency mapping?
>
> I have a requirement to create a picture of all the dependencies
> of my servers and their applications. I don't want to draw the
> picture/diagram nor do I wanto maintain that image. What I want
> (unless someone has a better idea) is to create a file of
> dependencies (A: B C D -> B/C/D all depend on A) and have a
> script generate a file (a dia file, an xfig file, something)

When it comes to generating Diagrams we usually recommend AutoDia
http://droogs.org/autodia/
http://autodia.cuckoo.org/ (mirror but seems faster to connect)

there may be other approaches you could take but I dont know.

> that describes these dependencies and the have the program (dia/xfig)
> read the file, create the little boxes with their associated
> labels, run an auto-layout algorithm to spread out the little
> boxes, and then generate either a postscript, HPGL, dvi, jpg,
> png, etc., file that I can print and hand to my manager.

By all accounts autolayout is very difficult.

Using the Dia command line options you can automate the task of exporting
to more than one file format


Usage: dia [OPTION...]
  --load-modules=MODULE1,MODULE2,... Dynamic modules to load

Application options
  -e, --export=OUTPUTExport loaded file and exit
  -t, --export-to-format=FORMAT  Export to file format and exit.

Supported formats are: cgm, dia, dxf, eps, eps-pango, fig, mp, plt, hpgl,
png, shape, svg, tex, wpg

  -n, --nosplash Don't show the splash screen
  -c, --credits  Display credits list and exit
  -v, --version  Display version and exit


> Anyone have any thoughts how to do this easily?

Hope that helps.  Thanks for using Dia.

Sincerely

Alan Horkan

http://advogato.org/person/AlanHorkan/
Inkscape, Draw Freely http://inkscape.org
Free SVG Clip Art http://OpenClipArt.org

> Dia-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://www.gnome.org/projects/dia/faq.html
> Main page at http://www.gnome.org/projects/dia

Screenshot of Dia
http://matrix.netsoc.tcd.ie/~horkana/dia/screenshots/Dia-Screenshot-4-KeiraKnightley.png
(Dimensions 1024, 1280 pixels.  File Size 509 kilobytes)

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



dia 0.94 Win32, Save failed

2004-11-14 Thread Juergen Zimmermann
Hi,

I use DIA 0.94 (German) on Win98-System. I create a Draw and save it.
Then I modify it and would save it again with file - save or Strg+S
but I get two messages and the saving failed:

"Die Ausgabedatei C:\Daten... konnte nicht geöffnet werden. No such
file or directory."

"Datei ... konnte nicht gespeichert werden."

The error appears only when in the path a umlaut (ü, ö, ä, ...).

But File - Save As works fine.

Is there a solution or workaround to fix this?

Thanks
Jürgen




<>___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



dia 0.94 Win32, double-click on dia-file failed

2004-11-14 Thread Juergen Zimmermann
Hi,

I use DIA 0.94 (German) on Win98-System.

When I would open a dia-file with double-click, then I get an error
from LIBGTK-Win32-2.0-0.DLL. Please see the attached GIF.

When I open a file in DIA with file - open, there are no errors.

Is there a workaround or solution to stop this?

Thanks
Jürgen

--
Jürgen Zimmermann
http://edv.zimmermann.com/
PGP Public Key:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=
0x259752A9
Fingerprint: 16E3 BB30 BD86 B5D0 24B9 E75B 3DE3 FC89

<>___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia