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 Dia-list gnome org 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
Attachment:
dia2pdftex
Description: application/shellscript