[dia] Add missing <para/> and <title/> to pass docbook validation



commit 3969e8ad3cb5d99b9aff43966402d4d78f48af60
Author: Hans Breuer <hans breuer org>
Date:   Sun May 10 17:52:37 2009 +0200

    Add missing <para/> and <title/> to pass docbook validation
    
    Fixing bug #581189 reported by Thomas Dreibholz.
    Note to self and everyone who wants to debug stuff like this.
    The error:
            doc/en/dia.xml:261: element figure: validity error
    can be located by:
            grep -n figure doc/en/*.xml | grep 261
    here giving:
            doc/en/usage-customization.xml:261:      <figure>
---
 doc/en/usage-customization.xml |    3 +++
 doc/en/usage-objects-basic.xml |    4 +++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/doc/en/usage-customization.xml b/doc/en/usage-customization.xml
index caaab0b..9d3f8b7 100644
--- a/doc/en/usage-customization.xml
+++ b/doc/en/usage-customization.xml
@@ -253,10 +253,13 @@
 	</sect2>
     <sect2 id="preferences-favorites">
       <title>File export favorites</title>
+      <para>
       When exporting files there are often multiple filters capable to save to one format. 
       This preference allows to choose the one used, when not explicit selected in the file 
       export dialog, i.e. <menuchoice><guimenuitem>By extension</guimenuitem></menuchoice> gets used.
+      </para>
       <figure>
+	<title>File export favorites</title>
         <screenshot>
           <screeninfo>File export favorites</screeninfo>
           <graphic format="PNG" fileref="graphics/file-preferences-favorites" 
diff --git a/doc/en/usage-objects-basic.xml b/doc/en/usage-objects-basic.xml
index f484a58..385fd52 100644
--- a/doc/en/usage-objects-basic.xml
+++ b/doc/en/usage-objects-basic.xml
@@ -28,7 +28,7 @@
       <para>
        Text in <application>Dia</application> can use almost any font available in the system.
        But if you plan to exchange diagrams with people using a different plattform, it would
-       be samrt to restrict yourself to a common subset.
+       be smart to restrict yourself to a common subset.
       </para>
       </note>
       <para>
@@ -332,12 +332,14 @@ as you need them (i.e., instead of using the Toolbox icons).
    </sect2>
     <sect2 id="outline">
       <title>Outline</title>
+      <para>
       One of the most requested features for <application>Dia</application> is rotated text;
       shortly before having transformation capabilities for everything ;-)
       The Outline object is a small step in that direction. It has known limitations in
       convenience (you need to open the properties dialog to change the text) and 
       rendering style (Dia's drawing model does not yet allow to 
       <ulink url="http://bugzilla.gnome.org/show_bug.cgi?id=568168";>render holes</ulink>).
+      </para>
     </sect2>
   </sect1>
 </chapter>



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