1 .\" ** You probably do not want to edit this file directly **
2 .\" It was generated using the DocBook XSL Stylesheets (version 1.69.0).
3 .\" Instead of manually editing it, you probably should edit the DocBook XML
4 .\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
5 .TH "DIA" "1" "2004\-11\-26" "" ""
6 .\" disable hyphenation
8 .\" disable justification (adjust text to left margin only)
11 dia \- a diagram drawing program
14 \fBdia\fR [\fB\-c\fR] [\fB\-\-credits\fR] [\fB\-e\ \fR\fB\fIOUTPUT\fR\fR] [\fB\-\-export=\fR\fB\fIOUTPUT\fR\fR] [\fB\-L\ \fR\fB\fILAYER,LAYER,...\fR\fR] [\fB\-\-show\-layers=\fR\fB\fILAYER,LAYER,...\fR\fR] [\fB\-h\fR] [\fB\-\-help\fR] [\fB\-n\fR] [\fB\-\-nosplash\fR] [\fB\-s\ \fR\fB\fIWxH\fR\fR] [\fB\-\-size=\fR\fB\fIWxH\fR\fR] [\fB\-t\ \fR\fB\fIFORMAT\fR\fR] [\fB\-\-filter=\fR\fB\fIFORMAT\fR\fR] [\fB\-v\fR] [\fB\-\-version\fR] [file\ ...]
18 is used to create diagrams. Dia has a number of basic tools, like lines and boxes but can also dynamically load
19 \fIsheets\fR. A sheet is a collection of tools that are used in a certain type of diagram.
21 Most diagram objects in
24 \fIconnection points\fR. Lines can be connected to these connection points and this way graph structures can be formed. When objects are moved or resized the connections will follow the objects.
28 can be exported PostScript.
32 accepts the following options:
34 \fB\-c\fR \fB\-\-credits\fR
35 Display credits list and exit.
37 \fB\-e \fR\fB\fIOUTPUT\fR\fR \fB\-\-export=\fR\fB\fIOUTPUT\fR\fR
38 Export loaded file to OUTPUT and exit.
40 \fB\-h\fR \fB\-\-help\fR
41 Display a list of all commandline options.
43 \fB\-n\fR \fB\-\-nosplash\fR
44 Do not show the splash screen.
46 \fB\-s \fR\fB\fIWxH\fR\fR \fB\-\-size=\fR\fB\fIWxH\fR\fR
47 Export loaded file in decimal given width and/or height. It is allowed to only select width or height. E.g.
48 \fB\-\-size=\fR\fB\fI520x\fR\fR
49 exports an image that is 520 pixels wide, while
50 \fB\-\-size=\fR\fB\fIx900\fR\fR
51 exports an image of 900 pixels height.
54 .nr an-no-space-flag 1
58 This option is currently only implemented for the PNG export filter.
60 \fB\-L \fR\fB\fILAYER,LAYER,...\fR\fR \fB\-\-show\-layers=\fR\fB\fILAYER,LAYER,...\fR\fR
61 Only include specified layers when exporting. Layers can be specified either as a layer name, the layer number or a numeric range X\-Y of layers. \-\-show\-layers=background,2\-5 shows the layer named background and layers 2\-5, \-\-show\-layers=2\- shows layers 2 and up.
63 \fB\-t \fR\fB\fIFORMAT\fR\fR \fB\-\-export\-to\-format=\fR\fB\fIFORMAT\fR\fR
64 Export loaded file in FORMAT and exit. Format are described below.
66 \fB\-v\fR \fB\-\-version\fR
72 The following export formats are supported by
77 (Computer Graphics Metafile, ISO 8632)
85 (Drawing Interchange File)
93 (Encapsulated PostScript)
95 The format specifications
99 both use the font renderer of the Pango library, while
101 uses a dia specific font renderer. If you have problems with Pango rendering, e.g. Unicode, try
111 (TeX MetaPost macros)
117 (HP Graphics Language)
121 (Portable Network Graphics)
129 (Scalable Vector Graphics)
133 (TeX PSTricks macros)
137 (WordPerfect Graphics)
147 in the user's home, which contains different files to store user preferences. To reset
149 to it's default behaviour, just remove the respective file:
152 \fIdefaults.dia\fR: contains default values for elements (XML format).
160 \fIhistory\fR: keeps the list of last edited diagrams (ASCII).
163 \fImenurc\fR: contains an automated accelerator map dump (Lisp).
166 \fIpersistence\fR: contains GUI information, e.g. open windows (XML).
169 \fIpluginrc\fR: the list of loaded plugins (XML).
181 Copyright 1999 Alexander Larsson.
183 Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.
188 This manual was written by
191 Fredrik Hallenberg <hallon@lysator.liu.se>, W. Borgert <debacle@debian.org>, Alan Horkan <horkana@tcd.ie>.
195 \%http://www.pango.org/