dia r4077 - in trunk: . bindings doc/eu doc/fr



Author: hans
Date: Sun Jun 29 14:53:18 2008
New Revision: 4077
URL: http://svn.gnome.org/viewvc/dia?rev=4077&view=rev

Log:
2008-06-29  Hans Breuer  <hans breuer org>

	* doc/fr/dia-cmdline.xml doc/eu/dia-1.xml : added, bug #465460
	* doc/eu/dia.1 : updated

	* configure.in bindings/Makefile.am : some more autotools trial and 
	error not fixing bug #540694 - help appreciated


Added:
   trunk/doc/eu/dia-1.xml
   trunk/doc/fr/dia-cmdline.xml
Modified:
   trunk/ChangeLog
   trunk/bindings/Makefile.am
   trunk/configure.in
   trunk/doc/eu/dia.1

Modified: trunk/bindings/Makefile.am
==============================================================================
--- trunk/bindings/Makefile.am	(original)
+++ trunk/bindings/Makefile.am	Sun Jun 29 14:53:18 2008
@@ -13,7 +13,8 @@
 if WITH_PYTHON
 PYTHON_EXTRA_SOURCE = \
 	dia-python-extra.cpp \
-	dia-python-extra.h
+	dia-python-extra.h \
+	$(BUILT_SOURCES)
 endif
 
 ## the rest of the sources is independent of SWIG and Python
@@ -45,11 +46,9 @@
 	dia-extra.cpp \
 	dia-extra.h \
 	\
-	$(PYTHON_EXTRA_SOURCE) \
-	\
-	$(BUILT_SOURCES)
+	$(PYTHON_EXTRA_SOURCE)
 
-_dia_la_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/lib
+_dia_la_CPPFLAGS = $(PYTHON_INCLUDES) -I$(top_srcdir)/lib
 _dia_la_LDFLAGS = -export-dynamic -module -avoid-version
 ## must link ../lib/libdia.la but don't know how;(
 _dia_la_LIBADD = $(PYTHON_LIBS) $(GTK_LIBS)
@@ -72,7 +71,7 @@
 
 SWIG_PYTHON_OPT = -python -modern -extranative -c++
 
-$(srcdir)/dia-python.cpp : $(INTERFACES)
+dia-python.cpp : $(INTERFACES)
 	$(SWIG) $(SWIG_PYTHON_OPT) -I$(top_srcdir) -I../lib -o $@ $<
 
 GCCXMLINC = -I.. -I../lib -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libart-2.0   -I/usr/include/python2.5 -I/usr/include/libxml2

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Sun Jun 29 14:53:18 2008
@@ -464,8 +464,6 @@
 
 if test "x$with_swig" != xno; then
   AC_PROG_SWIG(1.3.31)
-  #SWIG_ENABLE_CXX
-  #SWIG_PYTHON
   if test -z "$SWIG_LIB"; then
     AC_MSG_ERROR([could not find SWIG required to generate the bindings])
   else

Added: trunk/doc/eu/dia-1.xml
==============================================================================
--- (empty file)
+++ trunk/doc/eu/dia-1.xml	Sun Jun 29 14:53:18 2008
@@ -0,0 +1,348 @@
+  <refentryinfo>
+    <copyright>
+      <year>1999</year>
+      <year>2004</year>
+      <holder>Fredrik Hallenberg, W. Borgert, Alan Horkan</holder>
+    </copyright>
+    <date>2004-11-26</date>
+    <authorgroup>
+      <author>
+	<firstname>Fredrik</firstname>
+	<surname>Hallenberg</surname>
+	<email>hallon lysator liu se</email>
+      </author>
+      <author>
+	<firstname>W.</firstname>
+	<surname>Borgert</surname>
+	<email>debacle debian org</email>
+      </author>
+      <author>
+	<firstname>Alan</firstname>
+	<surname>Horkan</surname>
+	<email>horkana tcd ie</email>
+      </author>
+    </authorgroup>
+    <revhistory>
+      <revision>
+	<revnumber>4</revnumber>
+	<date>2004-11-26</date>
+	<authorinitials>AH</authorinitials>
+	<revremark>added to See Also, corrected grammar</revremark>
+      </revision>
+      <revision>
+	<revnumber>3</revnumber>
+	<date>2003-11-26</date>
+	<authorinitials>WB</authorinitials>
+	<revremark>added --size option</revremark>
+      </revision>
+      <revision>
+	<revnumber>2</revnumber>
+	<date>2003-10-16</date>
+	<authorinitials>WB</authorinitials>
+	<revremark>added different EPS variants and section on
+	files</revremark>
+      </revision>
+      <revision>
+	<revnumber>1</revnumber>
+	<date>2003-10-12</date>
+	<authorinitials>WB</authorinitials>
+	<revremark>1st DocBook/XML version</revremark>
+      </revision>
+    </revhistory>
+  </refentryinfo>
+
+  <refmeta>
+    <refentrytitle>dia</refentrytitle>
+
+    <manvolnum>1</manvolnum>
+  </refmeta>
+
+  <refnamediv>
+    <refname>dia</refname>
+
+    <refpurpose>a diagram drawing program</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>dia</command>
+
+      <arg><option>-c</option></arg>
+
+      <arg><option>--credits</option></arg>
+
+      <arg><option>-e <replaceable>OUTPUT</replaceable></option></arg>
+
+      <arg><option>--export=<replaceable>OUTPUT</replaceable></option></arg>
+
+      <arg><option>-L <replaceable>LAYER,LAYER,...</replaceable></option></arg>
+
+      <arg><option>--show-layers=<replaceable>LAYER,LAYER,...</replaceable></option></arg>
+
+      <arg><option>-h</option></arg>
+
+      <arg><option>--help</option></arg>
+
+      <arg><option>-n</option></arg>
+
+      <arg><option>--nosplash</option></arg>
+
+      <arg><option>-s <replaceable>WxH</replaceable></option></arg>
+
+      <arg><option>--size=<replaceable>WxH</replaceable></option></arg>
+
+      <arg><option>-t <replaceable>FORMAT</replaceable></option></arg>
+
+      <arg><option>--filter=<replaceable>FORMAT</replaceable></option></arg>
+
+      <arg><option>-v</option></arg>
+
+      <arg><option>--version</option></arg>
+
+      <arg>file ...</arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+
+  <refsect1>
+    <title>Description</title>
+
+    <para><command>Dia</command> is used to create diagrams.  Dia has
+    a number of basic tools, like lines and boxes but can also
+    dynamically load <emphasis>sheets</emphasis>.  A sheet is a
+    collection of tools that are used in a certain type of
+    diagram.</para>
+
+    <para>Most diagram objects in <command>Dia</command> have
+    <emphasis>connection points</emphasis>.  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.</para>
+
+    <para>Diagrams drawn in <command>Dia</command> can be exported as
+    PostScript.</para>
+  </refsect1>
+
+  <refsect1>
+    <title>Options</title>
+
+    <para><command>Dia</command> accepts the following options:</para>
+
+    <variablelist>
+      <varlistentry>
+	<term><option>-c</option>
+	  <option>--credits</option></term>
+	<listitem>
+	  <para>Display credits list and exit.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-e <replaceable>OUTPUT</replaceable></option>
+	  <option>--export=<replaceable>OUTPUT</replaceable></option></term>
+	<listitem>
+	  <para>Export loaded file to OUTPUT and exit.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-h</option>
+	  <option>--help</option></term>
+	<listitem>
+	  <para>Display a list of all commandline options.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-n</option>
+	  <option>--nosplash</option></term>
+	<listitem>
+	  <para>Do not show the splash screen.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-s <replaceable>WxH</replaceable></option>
+	  <option>--size=<replaceable>WxH</replaceable></option></term>
+	<listitem>
+	  <para>Export loaded file in decimal given width and/or
+	  height.  It is allowed to only select width or height.
+	  E.g. <option>--size=<replaceable>520x</replaceable></option>
+	  exports an image that is 520 pixels wide, while
+	  <option>--size=<replaceable>x900</replaceable></option>
+	  exports an image of 900 pixels height.</para>
+
+	  <note>
+	    <para>This option is currently only implemented for the
+	    PNG export filter.</para>
+	  </note>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-L <replaceable>LAYER,LAYER,...</replaceable></option>
+	  <option>--show-layers=<replaceable>LAYER,LAYER,...</replaceable></option></term>
+	<listitem>
+	  <para>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.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-t <replaceable>FORMAT</replaceable></option>
+	  <option>--export-to-format=<replaceable>FORMAT</replaceable></option></term>
+	<listitem>
+	  <para>Export loaded file in FORMAT and exit.  Format are
+	  described below.</para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term><option>-v</option>
+	  <option>--version</option></term>
+	<listitem>
+	  <para>Display <command>dia</command> version and exit.</para>
+	</listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+
+  <refsect1>
+    <title>Export Formats</title>
+
+    <para>The following export formats are supported by
+    <command>dia</command>.</para>
+
+    <itemizedlist>
+      <listitem>
+	<para><literal>cgm</literal> (Computer Graphics Metafile, ISO
+        8632)</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>dia</literal> (Native dia diagram)</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>dxf</literal> (Drawing Interchange File)</para>
+      </listitem>
+
+      <listitem>
+        <para><literal>eps</literal>  or
+	<literal>eps-builtin</literal> or <literal>eps-pango</literal>
+	(Encapsulated PostScript)</para>
+
+        <para>The format specifications <literal>eps</literal> and <literal>eps-pango</literal> both
+	use the font renderer of the Pango library, while
+        <literal>eps-builtin</literal> uses a dia specific font
+        renderer.  If you have problems with Pango rendering,
+        e.g. Unicode, try <literal>eps-builtin</literal>
+	instead.</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>fig</literal> (XFig format)</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>mp</literal> (TeX MetaPost macros)</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>plt</literal> or <literal>hpgl</literal> (HP
+	Graphics Language)</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>png</literal> (Portable Network
+	Graphics)</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>shape</literal> (Dia Shape File)</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>svg</literal> (Scalable Vector Graphics)</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>tex</literal> (TeX PSTricks macros)</para>
+      </listitem>
+
+      <listitem>
+	<para><literal>wpg</literal> (WordPerfect Graphics)</para>
+      </listitem>
+
+      <listitem arch="win32">
+	<para><literal>wmf</literal> (Windows MetaFile)</para>
+      </listitem>
+    </itemizedlist>
+  </refsect1>
+
+  <refsect1>
+    <title>Files</title>
+
+    <para><command>dia</command> creates a directory
+    <filename>.dia</filename> in the user&apos;s home, which contains
+    different files to store user preferences.  To reset
+    <command>dia</command> to it&apos;s default behaviour, just remove
+    the respective file:</para>
+
+    <itemizedlist>
+      <listitem>
+	<para><filename>defaults.dia</filename>: contains default
+        values for elements (XML format).</para>
+      </listitem>
+      <listitem>
+	<para><filename>diarc</filename>: keeps
+        <command>dia</command> preferences (ASCII).</para>
+      </listitem>
+      <listitem>
+	<para><filename>history</filename>: keeps the list of last
+        edited diagrams (ASCII).</para>
+      </listitem>
+      <listitem>
+	<para><filename>menurc</filename>: contains an automated
+	accelerator map dump (Lisp).</para>
+      </listitem>
+      <listitem>
+	<para><filename>persistence</filename>: contains GUI
+	information, e.g. open windows (XML).</para>
+      </listitem>
+      <listitem>
+	<para><filename>pluginrc</filename>: the list of loaded
+	plugins (XML).</para>
+      </listitem>
+    </itemizedlist>
+  </refsect1>
+
+  <refsect1>
+    <title>See Also</title>
+
+    <para><ulink url="http://www.pango.org/";>Pango</ulink></para>
+    <para>X (1)</para>
+    <para>xfig (1)</para>
+    <para>inkscape (1)</para>
+  </refsect1>
+
+  <refsect1>
+    <title>Copyright</title>
+
+    <para>Copyright 1999 Alexander Larsson.</para>
+
+    <para>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.</para>
+  </refsect1>
+
+  <refsect1>
+    <title>Authors</title>
+
+    <para><author><firstname>Alexander</firstname>
+	<surname>Larsson</surname>
+	<email>alla lysator liu se</email></author></para>
+
+    <para>This manual was written by
+    <author><firstname>Fredrik</firstname>
+	<surname>Hallenberg</surname>
+	<email>hallon lysator liu se</email></author>.</para>
+  </refsect1>
+

Modified: trunk/doc/eu/dia.1
==============================================================================
--- trunk/doc/eu/dia.1	(original)
+++ trunk/doc/eu/dia.1	Sun Jun 29 14:53:18 2008
@@ -1,11 +1,11 @@
-.\"     Title: diadiadia
+.\"     Title: dia
 .\"    Author: Fredrik Hallenberg <hallon lysator liu se>
 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\"      Date: 1999-07-03
+.\"      Date: 2004-11-26
 .\"    Manual: 
 .\"    Source: 
 .\"
-.TH "DIADIADIA" "1" "1999\-07\-03" "" ""
+.TH "DIA" "1" "2004\-11\-26" "" ""
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
@@ -14,7 +14,7 @@
 dia - a diagram drawing program
 .SH "SYNOPSIS"
 .HP 4
-\fBdia\fR [\fB\-c\fR] [\fB\-\-credits\fR] [\fB\-e\ \fR\fB\fIOUTPUT\fR\fR] [\fB\-\-export=\fR\fB\fIOUTPUT\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\ \.\.\.]
+\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\ \.\.\.]
 .SH "DESCRIPTION"
 .PP
 \fBDia\fR
@@ -23,12 +23,12 @@
 .PP
 Most diagram objects in
 \fBDia\fR
-has
-\fIhandles\fR\. Lines can be connected to these handles and this way graph structures can be formed\. When objects are moved or resized the connections will follow the objects\.
+have
+\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\.
 .PP
 Diagrams drawn in
 \fBDia\fR
-can be exported PostScript\.
+can be exported as PostScript\.
 .SH "OPTIONS"
 .PP
 \fBDia\fR
@@ -70,212 +70,9 @@
 This option is currently only implemented for the PNG export filter\.
 .RE
 .PP
-\fB\-t \fR\fB\fIFORMAT\fR\fR \fB\-\-export\-to\-format=\fR\fB\fIFORMAT\fR\fR
+\fB\-L \fR\fB\fILAYER,LAYER,\.\.\.\fR\fR \fB\-\-show\-layers=\fR\fB\fILAYER,LAYER,\.\.\.\fR\fR
 .RS 4
-Export loaded file in FORMAT and exit\. Format are described below\.
-.RE
-.PP
-\fB\-v\fR \fB\-\-version\fR
-.RS 4
-Display
-\fBdia\fR
-version and exit\.
-.RE
-.SH "EXPORT FORMATS"
-.PP
-The following export formats are supported by
-\fBdia\fR\.
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'cgm
-(Computer Graphics Metafile, ISO 8632)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'dia
-(Native dia diagram)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'dxf
-(Drawing Interchange File)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'eps
-or
-epsi
-or
-eps\-builtin
-or
-eps\-pango
-(Encapsulated PostScript)
-.sp
-The format specifications
-eps,
-epsi, and
-eps\-pango
-all use the font renderer of the Pango library, while
-eps\-builtin
-uses a dia specific font renderer\. If you have problems with Pango rendering, e\.g\. Unicode, try
-eps\-builtin
-instead\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'fig
-(XFig format)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'mp
-(TeX MetaPost macros)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'plt
-or
-hpgl
-(HP Graphics Language)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'png
-(Portable Network Graphics)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'shape
-(Dia shape file)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'svg
-(Scalable Vector Graphics)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'tex
-(TeX PSTricks macros)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'wpg
-(WordPerfect Graphics)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'wmf
-(Windows MetaFile)
-.RE
-.SH "FILES"
-.PP
-\fBdia\fR
-creates a directory
-\fI\.dia\fR
-in the user\'s home, which contains different files to store user preferences\. To reset
-\fBdia\fR
-to it\'s default behaviour, just remove the respective file:
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIdefaults\.dia\fR: contains default values for elements (XML format)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIdiarc\fR: keeps
-\fBdia\fR
-preferences (ASCII)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIhistory\fR: keeps the list of last edited diagrams (ASCII)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fImenurc\fR: contains an automated accelerator map dump (Lisp)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIpersistence\fR: contains GUI information, e\.g\. open windows (XML)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIpluginrc\fR: the list of loaded plugins (XML)\.
-.RE
-.SH "SEE ALSO"
-.PP
-\fIPango\fR\&[1]
-.PP
-X (1)
-.SH "COPYRIGHT"
-.PP
-Copyright 1999 Alexander Larsson\.
-.PP
-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\.
-.SH "AUTHORS"
-.PP
-Alexander Larsson
-.PP
-This manual was written by
-Fredrik Hallenberg\.
-.br
-dia - a diagram drawing program
-.SH "SYNOPSIS"
-.HP 4
-\fBdia\fR [\fB\-c\fR] [\fB\-\-credits\fR] [\fB\-e\ \fR\fB\fIOUTPUT\fR\fR] [\fB\-\-export=\fR\fB\fIOUTPUT\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\ \.\.\.]
-.SH "DESCRIPTION"
-.PP
-\fBDia\fR
-is used to create diagrams\. Dia has a number of basic tools, like lines and boxes but can also dynamically load
-\fIsheets\fR\. A sheet is a collection of tools that are used in a certain type of diagram\.
-.PP
-Most diagram objects in
-\fBDia\fR
-has
-\fIhandles\fR\. Lines can be connected to these handles and this way graph structures can be formed\. When objects are moved or resized the connections will follow the objects\.
-.PP
-Diagrams drawn in
-\fBDia\fR
-can be exported PostScript\.
-.SH "OPTIONS"
-.PP
-\fBDia\fR
-accepts the following options:
-.PP
-\fB\-c\fR \fB\-\-credits\fR
-.RS 4
-Display credits list and exit\.
-.RE
-.PP
-\fB\-e \fR\fB\fIOUTPUT\fR\fR \fB\-\-export=\fR\fB\fIOUTPUT\fR\fR
-.RS 4
-Export loaded file to OUTPUT and exit\.
-.RE
-.PP
-\fB\-h\fR \fB\-\-help\fR
-.RS 4
-Display a list of all commandline options\.
-.RE
-.PP
-\fB\-n\fR \fB\-\-nosplash\fR
-.RS 4
-Do not show the splash screen\.
-.RE
-.PP
-\fB\-s \fR\fB\fIWxH\fR\fR \fB\-\-size=\fR\fB\fIWxH\fR\fR
-.RS 4
-Export loaded file in decimal given width and/or height\. It is allowed to only select width or height\. E\.g\.
-\fB\-\-size=\fR\fB\fI520x\fR\fR
-exports an image that is 520 pixels wide, while
-\fB\-\-size=\fR\fB\fIx900\fR\fR
-exports an image of 900 pixels height\.
-.sp
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-Note
-This option is currently only implemented for the PNG export filter\.
+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\.
 .RE
 .PP
 \fB\-t \fR\fB\fIFORMAT\fR\fR \fB\-\-export\-to\-format=\fR\fB\fIFORMAT\fR\fR
@@ -312,18 +109,16 @@
 .RS 4
 \h'-04'\(bu\h'+03'eps
 or
-epsi
-or
 eps\-builtin
 or
 eps\-pango
 (Encapsulated PostScript)
 .sp
 The format specifications
-eps,
-epsi, and
+eps
+and
 eps\-pango
-all use the font renderer of the Pango library, while
+both use the font renderer of the Pango library, while
 eps\-builtin
 uses a dia specific font renderer\. If you have problems with Pango rendering, e\.g\. Unicode, try
 eps\-builtin
@@ -354,7 +149,7 @@
 .sp
 .RS 4
 \h'-04'\(bu\h'+03'shape
-(Dia shape file)
+(Dia Shape File)
 .RE
 .sp
 .RS 4
@@ -415,214 +210,10 @@
 \fIPango\fR\&[1]
 .PP
 X (1)
-.SH "COPYRIGHT"
-.PP
-Copyright 1999 Alexander Larsson\.
-.PP
-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\.
-.SH "AUTHORS"
-.PP
-Alexander Larsson
 .PP
-This manual was written by
-Fredrik Hallenberg\.
-.br
-dia - a diagram drawing program
-.SH "SYNOPSIS"
-.HP 4
-\fBdia\fR [\fB\-c\fR] [\fB\-\-credits\fR] [\fB\-e\ \fR\fB\fIOUTPUT\fR\fR] [\fB\-\-export=\fR\fB\fIOUTPUT\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\ \.\.\.]
-.SH "DESCRIPTION"
-.PP
-\fBDia\fR
-is used to create diagrams\. Dia has a number of basic tools, like lines and boxes but can also dynamically load
-\fIsheets\fR\. A sheet is a collection of tools that are used in a certain type of diagram\.
-.PP
-Most diagram objects in
-\fBDia\fR
-has
-\fIhandles\fR\. Lines can be connected to these handles and this way graph structures can be formed\. When objects are moved or resized the connections will follow the objects\.
-.PP
-Diagrams drawn in
-\fBDia\fR
-can be exported PostScript\.
-.SH "OPTIONS"
-.PP
-\fBDia\fR
-accepts the following options:
-.PP
-\fB\-c\fR \fB\-\-credits\fR
-.RS 4
-Display credits list and exit\.
-.RE
+xfig (1)
 .PP
-\fB\-e \fR\fB\fIOUTPUT\fR\fR \fB\-\-export=\fR\fB\fIOUTPUT\fR\fR
-.RS 4
-Export loaded file to OUTPUT and exit\.
-.RE
-.PP
-\fB\-h\fR \fB\-\-help\fR
-.RS 4
-Display a list of all commandline options\.
-.RE
-.PP
-\fB\-n\fR \fB\-\-nosplash\fR
-.RS 4
-Do not show the splash screen\.
-.RE
-.PP
-\fB\-s \fR\fB\fIWxH\fR\fR \fB\-\-size=\fR\fB\fIWxH\fR\fR
-.RS 4
-Export loaded file in decimal given width and/or height\. It is allowed to only select width or height\. E\.g\.
-\fB\-\-size=\fR\fB\fI520x\fR\fR
-exports an image that is 520 pixels wide, while
-\fB\-\-size=\fR\fB\fIx900\fR\fR
-exports an image of 900 pixels height\.
-.sp
-.it 1 an-trap
-.nr an-no-space-flag 1
-.nr an-break-flag 1
-.br
-Note
-This option is currently only implemented for the PNG export filter\.
-.RE
-.PP
-\fB\-t \fR\fB\fIFORMAT\fR\fR \fB\-\-export\-to\-format=\fR\fB\fIFORMAT\fR\fR
-.RS 4
-Export loaded file in FORMAT and exit\. Format are described below\.
-.RE
-.PP
-\fB\-v\fR \fB\-\-version\fR
-.RS 4
-Display
-\fBdia\fR
-version and exit\.
-.RE
-.SH "EXPORT FORMATS"
-.PP
-The following export formats are supported by
-\fBdia\fR\.
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'cgm
-(Computer Graphics Metafile, ISO 8632)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'dia
-(Native dia diagram)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'dxf
-(Drawing Interchange File)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'eps
-or
-epsi
-or
-eps\-builtin
-or
-eps\-pango
-(Encapsulated PostScript)
-.sp
-The format specifications
-eps,
-epsi, and
-eps\-pango
-all use the font renderer of the Pango library, while
-eps\-builtin
-uses a dia specific font renderer\. If you have problems with Pango rendering, e\.g\. Unicode, try
-eps\-builtin
-instead\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'fig
-(XFig format)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'mp
-(TeX MetaPost macros)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'plt
-or
-hpgl
-(HP Graphics Language)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'png
-(Portable Network Graphics)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'shape
-(Dia shape file)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'svg
-(Scalable Vector Graphics)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'tex
-(TeX PSTricks macros)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'wpg
-(WordPerfect Graphics)
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'wmf
-(Windows MetaFile)
-.RE
-.SH "FILES"
-.PP
-\fBdia\fR
-creates a directory
-\fI\.dia\fR
-in the user\'s home, which contains different files to store user preferences\. To reset
-\fBdia\fR
-to it\'s default behaviour, just remove the respective file:
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIdefaults\.dia\fR: contains default values for elements (XML format)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIdiarc\fR: keeps
-\fBdia\fR
-preferences (ASCII)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIhistory\fR: keeps the list of last edited diagrams (ASCII)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fImenurc\fR: contains an automated accelerator map dump (Lisp)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIpersistence\fR: contains GUI information, e\.g\. open windows (XML)\.
-.RE
-.sp
-.RS 4
-\h'-04'\(bu\h'+03'\fIpluginrc\fR: the list of loaded plugins (XML)\.
-.RE
-.SH "SEE ALSO"
-.PP
-\fIPango\fR\&[1]
-.PP
-X (1)
+inkscape (1)
 .SH "COPYRIGHT"
 .PP
 Copyright 1999 Alexander Larsson\.
@@ -646,27 +237,12 @@
 .IP "" 4
 Author.
 .PP
-\fBFredrik Hallenberg\fR <\&hallon lysator\ liu\ se\&>
-.sp -1n
-.IP "" 4
-Author.
-.PP
-\fBW\. Borgert\fR <\&debacle debian\ org\&>
-.sp -1n
-.IP "" 4
-Author.
-.PP
-\fBFredrik Hallenberg\fR <\&hallon lysator\ liu\ se\&>
-.sp -1n
-.IP "" 4
-Author.
-.PP
-\fBW\. Borgert\fR <\&debacle debian\ org\&>
+\fBAlan Horkan\fR <\&horkana tcd\ ie\&>
 .sp -1n
 .IP "" 4
 Author.
 .SH "COPYRIGHT"
-Copyright \(co 1999, 2003 Fredrik Hallenberg, W. Borgert
+Copyright \(co 1999, 2004 Fredrik Hallenberg, W. Borgert, Alan Horkan
 .br
 .SH "NOTES"
 .IP " 1." 4

Added: trunk/doc/fr/dia-cmdline.xml
==============================================================================
--- (empty file)
+++ trunk/doc/fr/dia-cmdline.xml	Sun Jun 29 14:53:18 2008
@@ -0,0 +1,21 @@
+<chapter id="commandline" label="12"> 
+  <title>Dia en ligne de commande</title> 
+    <sect1 id="commandline-intro"> 
+        <title>Introduction</title> 
+        <para> 
+        Dia peut Ãtre utilisà via la ligne de commande, 
+        ou, mÃme, DEPUIS la ligne de commande (traitement par lots, 
+        par exemple pour l'exportation vars un autre format de fichiers. 
+        On n'oubliera pas d'ajouter l'option <option>--nosplash</option> 
+        dans le cas de l'utilisation de dia depuis la ligne de commande,  
+        afin d'Ãviter l'apparition de l'Ãcran d'accueil Dia. 
+        </para> 
+    </sect1> 
+    <sect1 id="commandline-manpage"> 
+        <title>Manuel de la ligne de commande</title>
+      <refentry>
+      &DIA-1;
+      </refentry>
+    </sect1> 
+</chapter>
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]