[gimp-help-2] Cleanup some filter docs



commit 62b185287eb1db654ab11c1e9da87466d3cd60ba
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date:   Sun Jun 13 18:28:54 2010 +0200

    Cleanup some filter docs

 src/filters/blur/gauss.xml              |   33 +++++--
 src/filters/blur/gauss_select.xml       |    4 +-
 src/filters/blur/mblur.xml              |    2 +-
 src/filters/blur/pixelise.xml           |   31 ++-----
 src/filters/enhance.xml                 |   13 +--
 src/filters/enhance/deinterlace.xml     |   27 ++----
 src/filters/enhance/despeckle.xml       |   19 ++---
 src/filters/enhance/destripe.xml        |   13 +--
 src/filters/enhance/red-eye-removal.xml |    6 +-
 src/filters/enhance/sharpen.xml         |   13 +--
 src/filters/enhance/unsharp_mask.xml    |    4 +-
 src/filters/generic/convol-matrix.xml   |  153 ++++++++++++++++++-------------
 src/filters/generic/dilate.xml          |   58 +++++-------
 src/filters/generic/erode.xml           |   12 ++-
 14 files changed, 192 insertions(+), 196 deletions(-)
---
diff --git a/src/filters/blur/gauss.xml b/src/filters/blur/gauss.xml
index 91a3433..f93de0b 100644
--- a/src/filters/blur/gauss.xml
+++ b/src/filters/blur/gauss.xml
@@ -95,17 +95,28 @@
       <varlistentry>
         <term>Blur Method</term>
         <listitem>
-          <para>
-            <guilabel>IIR</guilabel>: IIR stands for <quote>Infinite Impulse
-            Response</quote>.This blur works best for large radius values and
-            for images which are not computer generated.
-          </para>
-          <para>
-            <guilabel>RLE</guilabel>: RLE stands for run-length
-            encoding. RLE Gaussian Blur is best used on
-            computer-generated images or those with large areas of
-            constant intensity.
-          </para>
+          <variablelist>
+            <varlistentry>
+              <term><guilabel>IIR</guilabel></term>
+              <listitem>
+                <para>
+                  IIR stands for <quote>infinite impulse response</quote>. This
+                  blur works best for large radius values and for images which
+                  are not computer generated.
+                </para>
+              </listitem>
+            </varlistentry>
+            <varlistentry>
+              <term><guilabel>RLE</guilabel></term>
+              <listitem>
+                <para>
+                  RLE stands for <quote>run-length encoding</quote>. RLE
+                  Gaussian Blur is best used on computer-generated images or
+                  those with large areas of constant intensity.
+                </para>
+              </listitem>
+            </varlistentry>
+          </variablelist>
         </listitem>
       </varlistentry>
     </variablelist>
diff --git a/src/filters/blur/gauss_select.xml b/src/filters/blur/gauss_select.xml
index 6b54255..59d20b2 100644
--- a/src/filters/blur/gauss_select.xml
+++ b/src/filters/blur/gauss_select.xml
@@ -82,7 +82,7 @@
     </figure>
     <variablelist>
       <varlistentry>
-        <term>Blur Radius</term>
+        <term>Blur radius</term>
         <listitem>
           <para>
             Here you can set the blur intensity, in pixels.
@@ -90,7 +90,7 @@
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term>Max. Delta</term>
+        <term>Max. delta</term>
         <listitem>
           <para>
             Here you can set the maximum difference (0-255) between the
diff --git a/src/filters/blur/mblur.xml b/src/filters/blur/mblur.xml
index afb4dc4..7455b51 100644
--- a/src/filters/blur/mblur.xml
+++ b/src/filters/blur/mblur.xml
@@ -150,7 +150,7 @@
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term>Blur settings</term>
+        <term>Blur Parameters</term>
         <listitem>
           <variablelist>
             <varlistentry>
diff --git a/src/filters/blur/pixelise.xml b/src/filters/blur/pixelise.xml
index fb85195..b5af745 100644
--- a/src/filters/blur/pixelise.xml
+++ b/src/filters/blur/pixelise.xml
@@ -41,7 +41,7 @@
             fileref="images/filters/examples/blur-taj-pixelise.jpg"/>
         </imageobject>
         <caption>
-          <para>Blur applied</para>
+          <para><quote>Pixelize</quote> applied</para>
         </caption>
       </mediaobject>
     </figure>
@@ -78,33 +78,20 @@
     </figure>
     <variablelist>
       <varlistentry>
-        <term>Pixel Width</term>
+        <term>Pixel width</term>
+        <term>Pixel height</term>
         <listitem>
           <para>
-            Here you can set the desired width of the blocks.
+            Here you can set the desired width and height of the blocks.
           </para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>Pixel Height</term>
-        <listitem>
-          <para>Here you can set the height of the blocks.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>Chain Button</term>
-        <listitem>
           <para>
-            If the chain is broken, you can set width and height separately.
-            Otherwise, they are linked.
+            By default, width and height are linked, indicated by the chain
+            symbol next to the input boxes. If you want to set width and
+            height separately, click on that chain symbol to unlink them.
           </para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>Unit Input Box</term>
-        <listitem>
           <para>
-            Here you can select the unit of measure for height and width.
+            Using the unit selection box you can select the unit of measure
+            for height and width.
           </para>
         </listitem>
       </varlistentry>
diff --git a/src/filters/enhance.xml b/src/filters/enhance.xml
index 1a4085d..80ddad9 100644
--- a/src/filters/enhance.xml
+++ b/src/filters/enhance.xml
@@ -1,19 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.docbook.org/xml/4.3/docbookx.dtd";>
-<!-- section history:
-  2007-08-20 AntI: added 'es'
-  2007-04-11 KoSt: added 'no'
-  2005-08-30 de reviewed by axel.wernicke
--->
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+                       "http://www.docbook.org/xml/4.3/docbookx.dtd";>
+
 <sect1 xmlns:xi="http://www.w3.org/2001/XInclude"; id="filters-enhance">
   <title>Enhance Filters</title>
 
   <xi:include href="enhance/introduction.xml"/>
   <xi:include href="enhance/deinterlace.xml"/>
   <xi:include href="enhance/despeckle.xml"/>
+  <xi:include href="enhance/destripe.xml"/>
   <xi:include href="enhance/NL_filter.xml"/>
   <xi:include href="enhance/red-eye-removal.xml"/>
-  <xi:include href="enhance/destripe.xml"/>
-  <xi:include href="enhance/unsharp_mask.xml"/>
   <xi:include href="enhance/sharpen.xml"/>
+  <xi:include href="enhance/unsharp_mask.xml"/>
 </sect1>
diff --git a/src/filters/enhance/deinterlace.xml b/src/filters/enhance/deinterlace.xml
index e024e5e..137a284 100644
--- a/src/filters/enhance/deinterlace.xml
+++ b/src/filters/enhance/deinterlace.xml
@@ -1,13 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
-<!-- section history:
-  2007-08-19 AntI: added 'es'
-  2007-04-12 KoSt: added 'no'
-  2005-12-07 replaced <simplesect> by <sect3> by lexa
-  050930 de replaced informalfigure by axel.wernicke
-  050830 de added by axel.wernicke
--->
+
 <sect2 id="plug-in-deinterlace">
   <title>Deinterlace</title>
 
@@ -59,9 +53,7 @@
   <sect3>
     <title>Options</title>
     <figure>
-      <title>
-          Deinterlace filter options
-      </title>
+      <title>Deinterlace filter options</title>
       <mediaobject>
         <imageobject>
           <imagedata format="PNG"
@@ -74,17 +66,18 @@
         <term>Preview</term>
         <listitem>
           <para>
-            When <guilabel>Do preview</guilabel> is checked, parameter
-            setting results are interactively displayed in preview.
+            If checked, parameter setting results are interactively displayed
+            in preview.
           </para>
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term>Mode</term>
+        <!-- Mode -->
+        <term>Keep odd fields</term>
+        <term>Keep even fields</term>
         <listitem>
-          <para><guilabel>Keep odd lines</guilabel> and <guilabel>Keep even
-              lines</guilabel>: One of them may render a better result.
-            You must try both.
+          <para>
+            One of them may render a better result. You must try both.
           </para>
         </listitem>
       </varlistentry>
@@ -115,7 +108,7 @@
         </imageobject>
         <caption>
           <para>
-            <quote>Keep even fields checked</quote>.
+            <quote>Keep even fields</quote> checked.
             Top: odd lines have been shifted to the right, to align
             themselves with the even lines. Bottom: the empty line has been
             filled with red.
diff --git a/src/filters/enhance/despeckle.xml b/src/filters/enhance/despeckle.xml
index a9a48d1..36af8cf 100644
--- a/src/filters/enhance/despeckle.xml
+++ b/src/filters/enhance/despeckle.xml
@@ -1,13 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
-<!-- section history:
-  2007-08-19 AntI: added 'es'
-  2007-04-12 KoSt: added 'no'
-  2005-12-07 replaced <simplesect> by <sect3> by lexa
-  050930 de replaced informalfigure by axel.wernicke
-  050830 de added by axel.wernicke
--->
+
 <sect2 id="plug-in-despeckle">
   <title>Despeckle</title>
 
@@ -45,9 +39,7 @@
   <sect3>
     <title>Options</title>
     <figure>
-      <title>
-        <quote>Despeckle</quote> filter options
-      </title>
+      <title><quote>Despeckle</quote> filter options</title>
       <mediaobject>
         <imageobject>
           <imagedata format="PNG"
@@ -60,12 +52,13 @@
         <term>Preview</term>
         <listitem>
           <para>
-            Parameter setting results are interactively displayed in preview.
+            If checked, parameter setting results are interactively displayed
+            in preview.
           </para>
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term>Type</term>
+        <term>Median</term>
         <listitem>
           <variablelist>
             <varlistentry>
@@ -102,6 +95,7 @@
       </varlistentry>
       <varlistentry>
         <term>Black level</term>
+        <!-- TODO: check range (-1-255) -->
         <listitem>
           <para>
             Removes pixels darker than set value (0-255).
@@ -110,6 +104,7 @@
       </varlistentry>
       <varlistentry>
         <term>White level</term>
+        <!-- TODO: check range (0-256) -->
         <listitem>
           <para>
             Removes pixels whiter than set value (0-255).
diff --git a/src/filters/enhance/destripe.xml b/src/filters/enhance/destripe.xml
index 05fb130..a99d7a6 100644
--- a/src/filters/enhance/destripe.xml
+++ b/src/filters/enhance/destripe.xml
@@ -1,15 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
-<!-- section history:
-  2007-08-19 AntI: added 'es'
-  2007-04-14 KoSt: added 'no'
-  2005-12-07 replaced <simplesect> by <sect3> by lexa
-  050930 de replaced informalfigure by axel.wernicke
-  050831 de added by axel.wernicke
--->
+
 <sect2 id="plug-in-destripe">
   <title>Destripe</title>
+
   <indexterm>
     <primary>Filters</primary>
     <secondary>Enhance</secondary>
@@ -65,8 +60,8 @@
         <term>Preview</term>
         <listitem>
           <para>
-            Parameter setting results are interactively displayed in preview.
-            Scroll bars allow you to move around the image.
+            If checked, parameter setting results are interactively displayed
+            in preview. Scroll bars allow you to move around the image.
           </para>
         </listitem>
       </varlistentry>
diff --git a/src/filters/enhance/red-eye-removal.xml b/src/filters/enhance/red-eye-removal.xml
index c2e2817..c03cdf5 100644
--- a/src/filters/enhance/red-eye-removal.xml
+++ b/src/filters/enhance/red-eye-removal.xml
@@ -66,9 +66,7 @@
   <sect3>
     <title>Options</title>
     <figure>
-      <title>
-        <quote>Red Eye Removal</quote> options
-      </title>
+      <title><quote>Red Eye Removal</quote> options</title>
       <mediaobject>
         <imageobject>
           <imagedata format="PNG"
@@ -82,7 +80,7 @@
         <listitem>
           <para>
             If you check <quote>Preview</quote>
-            case you can see the modifications in real-time in the preview
+            you can see the modifications in real-time in the preview
             window. And you can choose the good value of threshold compared
             with what you see, and then validate it.
           </para>
diff --git a/src/filters/enhance/sharpen.xml b/src/filters/enhance/sharpen.xml
index 729868b..83d2c76 100644
--- a/src/filters/enhance/sharpen.xml
+++ b/src/filters/enhance/sharpen.xml
@@ -1,15 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
-<!-- section history:
-  2007-08-19 AntI: added 'es'
-  2007-04-15 KoSt: added 'no'
-  2005-12-07 replaced <simplesect> by <sect3> by lexa
-  050930 de replaced informalfigure by axel.wernicke
-  050831 de added by axel.wernicke
--->
+
 <sect2 id="plug-in-sharpen">
   <title>Sharpen</title>
+
   <indexterm>
     <primary>Filters</primary>
     <secondary>Enhance</secondary>
@@ -86,8 +81,8 @@
         <term>Preview</term>
         <listitem>
           <para>
-            Parameter setting results are interactively displayed in preview.
-            Scroll bars allow you to move around the image.
+            If checked, parameter setting results are interactively displayed
+            in preview. Scroll bars allow you to move around the image.
           </para>
         </listitem>
       </varlistentry>
diff --git a/src/filters/enhance/unsharp_mask.xml b/src/filters/enhance/unsharp_mask.xml
index 1206f11..a5a27be 100644
--- a/src/filters/enhance/unsharp_mask.xml
+++ b/src/filters/enhance/unsharp_mask.xml
@@ -119,8 +119,8 @@
         <term>Preview</term>
         <listitem>
           <para>
-            Parameter setting results are interactively displayed in preview.
-            Scroll bars allow you to move around the image.
+            If checked, parameter setting results are interactively displayed
+            in preview. Scroll bars allow you to move around the image.
           </para>
         </listitem>
       </varlistentry>
diff --git a/src/filters/generic/convol-matrix.xml b/src/filters/generic/convol-matrix.xml
index 4688a3e..dc70421 100644
--- a/src/filters/generic/convol-matrix.xml
+++ b/src/filters/generic/convol-matrix.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.docbook.org/xml/4.3/docbookx.dtd";>
+<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+                       "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 <!-- section history:
   2008-12-09 ude: moved "activate filter" paras to separate sect3
   2008-06-01 j.h: adopted 'de' example.
@@ -11,6 +12,7 @@
 -->
 <sect2 id="plug-in-convmatrix">
   <title>Convolution Matrix</title>
+
   <indexterm>
     <primary>Filters</primary>
     <secondary>Generic</secondary>
@@ -56,7 +58,8 @@
     </para>
     <mediaobject>
       <imageobject>
-        <imagedata fileref="images/filters/examples/convolution-calculate.png" format="PNG"/>
+        <imagedata format="PNG"
+          fileref="images/filters/examples/convolution-calculate.png"/>
       </imageobject>
     </mediaobject>
     <para>
@@ -94,7 +97,8 @@
       <title><quote>Convolution matrix</quote> options</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/filters-generic-convolution.png" format="PNG"/>
+          <imagedata format="PNG"
+            fileref="images/filters/filters-generic-convolution.png"/>
         </imageobject>
       </mediaobject>
     </figure>
@@ -106,15 +110,28 @@
             This is the 5x5 kernel matrix: you enter wanted values directly
             into boxes.
           </para>
-          <para><guilabel>Divisor</guilabel>: The result of previous calculation
-            will be divided by this divisor. You will hardly use 1, which
-            lets result unchanged, and 9 or 25 according to matrix size,
-            which gives the average of pixel values.
-          </para>
-          <para><guilabel>Offset</guilabel>: this value is added to the division
-            result. This is useful if result may be negative. This offset may
-            be negative.
-          </para>
+          <variablelist>
+            <varlistentry>
+              <term><guilabel>Divisor</guilabel></term>
+              <listitem>
+                <para>
+                  The result of previous calculation will be divided by this
+                  divisor. You will hardly use 1, which lets result unchanged,
+                  and 9 or 25 according to matrix size, which gives the
+                  average of pixel values.
+                </para>
+              </listitem>
+            </varlistentry>
+            <varlistentry>
+              <term><guilabel>Offset</guilabel></term>
+              <listitem>
+                <para>
+                  This value is added to the division result. This is useful
+                  if result may be negative. This offset may be negative.
+                </para>
+              </listitem>
+            </varlistentry>
+          </variablelist>
         </listitem>
       </varlistentry>
       <varlistentry>
@@ -123,22 +140,26 @@
           <para>
             <inlinemediaobject>
               <imageobject>
-                <imagedata fileref="images/filters/filters-convolution-milord.png" format="PNG"/>
+                <imagedata format="PNG"
+                  fileref="images/filters/filters-convolution-milord.png"/>
               </imageobject>
             </inlinemediaobject>
             <inlinemediaobject>
               <imageobject>
-                <imagedata fileref="images/filters/filters-convolution-extend.png" format="PNG"/>
+                <imagedata format="PNG"
+                  fileref="images/filters/filters-convolution-extend.png"/>
               </imageobject>
             </inlinemediaobject>
             <inlinemediaobject>
               <imageobject>
-                <imagedata fileref="images/filters/filters-convolution-wrap.png" format="PNG"/>
+                <imagedata format="PNG"
+                  fileref="images/filters/filters-convolution-wrap.png"/>
               </imageobject>
             </inlinemediaobject>
             <inlinemediaobject>
               <imageobject>
-                <imagedata fileref="images/filters/filters-convolution-crop.png" format="PNG"/>
+                <imagedata format="PNG"
+                  fileref="images/filters/filters-convolution-crop.png"/>
               </imageobject>
             </inlinemediaobject>
           </para>
@@ -147,24 +168,32 @@
             When the initial pixel is on a border, a part of kernel is out of
             image. You have to decide what filter must do:
           </para>
-          <itemizedlist>
-            <listitem>
-              <para><guilabel>Extend</guilabel>: this part of kernel is not
-                taken into account.
-              </para>
-            </listitem>
-            <listitem>
-              <para><guilabel>Wrap</guilabel>: this part of kernel will study
-                pixels of the opposite border, so pixels disappearing from
-                one side reappear on the other side.
-              </para>
-            </listitem>
-            <listitem>
-              <para><guilabel>Crop</guilabel>: Pixels on borders are not
-                modified, but they are cropped.
-              </para>
-            </listitem>
-          </itemizedlist>
+          <variablelist>
+            <varlistentry>
+              <term><guilabel>Extend</guilabel></term>
+              <listitem>
+                <para>This part of kernel is not taken into account.</para>
+              </listitem>
+            </varlistentry>
+            <varlistentry>
+              <term><guilabel>Wrap</guilabel></term>
+              <listitem>
+                <para>
+                  This part of kernel will study pixels of the opposite
+                  border, so pixels disappearing from one side reappear on the
+                  other side.
+                </para>
+              </listitem>
+            </varlistentry>
+            <varlistentry>
+              <term><guilabel>Crop</guilabel></term>
+              <listitem>
+                <para>
+                  Pixels on borders are not modified, but they are cropped.
+                </para>
+              </listitem>
+            </varlistentry>
+          </variablelist>
         </listitem>
       </varlistentry>
       <varlistentry>
@@ -189,7 +218,7 @@
         </listitem>
       </varlistentry>
       <varlistentry>
-        <term>Alpha weighting</term>
+        <term>Alpha-weighting</term>
         <listitem>
           <para>
             If this option is not checked, the filter doesn't take in account
@@ -202,85 +231,83 @@
   </sect3>
 
   <sect3>
-    <title>
-      Examples
-    </title>
+    <title>Examples</title>
     <para>
       Design of kernels is based on high levels mathematics. You can find
       ready-made kernels on the Web. Here are a few examples:
     </para>
     <figure>
-      <title>
-        Sharpen
-      </title>
+      <title>Sharpen</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/convolution-sharpen.png" format="PNG"/>
+          <imagedata format="PNG"
+            fileref="images/filters/examples/convolution-sharpen.png"/>
         </imageobject>
       </mediaobject>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/generic-taj-convmatrix-sharpen.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/generic-taj-convmatrix-sharpen.jpg"/>
         </imageobject>
       </mediaobject>
     </figure>
     <figure>
-      <title>
-        Blur
-      </title>
+      <title>Blur</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/convolution-blur.png" format="PNG"/>
+          <imagedata format="PNG"
+            fileref="images/filters/examples/convolution-blur.png"/>
         </imageobject>
       </mediaobject>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/generic-taj-convmatrix-blur.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/generic-taj-convmatrix-blur.jpg"/>
         </imageobject>
       </mediaobject>
     </figure>
     <figure>
-      <title>
-        Edge enhance
-      </title>
+      <title>Edge enhance</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/convolution-edge.png" format="PNG"/>
+          <imagedata format="PNG"
+            fileref="images/filters/examples/convolution-edge.png"/>
         </imageobject>
       </mediaobject>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/generic-taj-convmatrix-edge-enhance.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/generic-taj-convmatrix-edge-enhance.jpg"/>
         </imageobject>
       </mediaobject>
     </figure>
     <figure>
-      <title>
-        Edge detect
-      </title>
+      <title>Edge detect</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/convolution-edge-detect1.png" format="PNG"/>
+          <imagedata format="PNG"
+            fileref="images/filters/examples/convolution-edge-detect1.png"/>
         </imageobject>
       </mediaobject>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/generic-taj-convmatrix-edge-detect.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/generic-taj-convmatrix-edge-detect.jpg"/>
         </imageobject>
       </mediaobject>
     </figure>
     <figure>
-      <title>
-        Emboss
-      </title>
+      <title>Emboss</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/convolution-emboss.png" format="PNG"/>
+          <imagedata format="PNG"
+            fileref="images/filters/examples/convolution-emboss.png"/>
         </imageobject>
       </mediaobject>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/generic-taj-convmatrix-emboss.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/generic-taj-convmatrix-emboss.jpg"/>
         </imageobject>
       </mediaobject>
     </figure>
diff --git a/src/filters/generic/dilate.xml b/src/filters/generic/dilate.xml
index 871c224..c35902f 100644
--- a/src/filters/generic/dilate.xml
+++ b/src/filters/generic/dilate.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.docbook.org/xml/4.3/docbookx.dtd";>
+<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+                       "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 <!-- section history:
   2008-12-09 ude: moved "activate filter" paras to separate sect3
   2007-08-23 AntI: added 'es'
@@ -9,9 +10,8 @@
   050901 de added by axel.wernicke
 -->
 <sect2 id="plug-in-dilate">
-  <title>
-    Dilate
-  </title>
+  <title>Dilate</title>
+
   <indexterm>
     <primary>Filters</primary>
     <secondary>Generic</secondary>
@@ -22,16 +22,13 @@
   </indexterm>
 
   <sect3>
-    <title>
-      Overview
-    </title>
+    <title>Overview</title>
     <figure>
-      <title>
-        Applying example for the Dilate filter
-      </title>
+      <title>Applying example for the Dilate filter</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/taj_orig.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/taj_orig.jpg"/>
         </imageobject>
         <caption>
           <para>Original image</para>
@@ -39,7 +36,8 @@
       </mediaobject>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/generic-taj-dilate.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/generic-taj-dilate.jpg"/>
         </imageobject>
         <caption>
           <para>Filter <quote>Dilate</quote> applied</para>
@@ -54,13 +52,13 @@
       For every image pixel, it brings the pixel Value (luminosity) into line
       with the lowest Value (the darkest) of the 8 neighbouring pixels (3x3
       matrix). So, a dark pixel is added around dark areas. An isolated pixel
-      on a brighter background will be changed to a big <quote>pixel
-      </quote>, composed of 9 pixels, and that will create some noise in the
-      image.
+      on a brighter background will be changed to a big <quote>pixel</quote>,
+      composed of 9 pixels, and that will create some noise in the image.
     </para>
     <mediaobject>
       <imageobject>
-        <imagedata fileref="images/filters/filters-dilate-pixel.png" format="PNG"/>
+        <imagedata format="PNG"
+          fileref="images/filters/filters-dilate-pixel.png"/>
       </imageobject>
     </mediaobject>
     <para>
@@ -74,7 +72,8 @@
     </para>
     <mediaobject>
       <imageobject>
-        <imagedata fileref="images/filters/filters-dilate-zone.png" format="PNG"/>
+        <imagedata format="PNG"
+          fileref="images/filters/filters-dilate-zone.png"/>
       </imageobject>
     </mediaobject>
     <para>
@@ -86,7 +85,8 @@
     </para>
     <mediaobject>
       <imageobject>
-        <imagedata fileref="images/filters/filters-dilate-image.png" format="PNG"/>
+        <imagedata format="PNG"
+          fileref="images/filters/filters-dilate-image.png"/>
       </imageobject>
     </mediaobject>
     <para>
@@ -96,9 +96,7 @@
   </sect3>
 
   <sect3>
-    <title>
-      Activating the filter
-    </title>
+    <title>Activating the filter</title>
     <para>
       This filter is found in the image window menu under
       <menuchoice>
@@ -110,26 +108,22 @@
   </sect3>
 
   <sect3>
-    <title>
-      Examples
-    </title>
+    <title>Examples</title>
     <figure>
-      <title>
-        Dilate text
-      </title>
+      <title>Dilate text</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/dilate-text.png" format="PNG"/>
+          <imagedata format="PNG"
+            fileref="images/filters/examples/dilate-text.png"/>
         </imageobject>
       </mediaobject>
     </figure>
     <figure>
-      <title>
-        Dilate neon effect
-      </title>
+      <title>Dilate neon effect</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/dilate-neon.png" format="PNG"/>
+          <imagedata format="PNG"
+            fileref="images/filters/examples/dilate-neon.png"/>
         </imageobject>
       </mediaobject>
     </figure>
diff --git a/src/filters/generic/erode.xml b/src/filters/generic/erode.xml
index 06d113a..190bfc1 100644
--- a/src/filters/generic/erode.xml
+++ b/src/filters/generic/erode.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.docbook.org/xml/4.3/docbookx.dtd";>
+<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+                       "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 <!-- section history:
   2008-12-09 ude: moved "activate filter" paras to separate sect3
   2007-08-23 AntI: added 'es'
@@ -26,7 +27,8 @@
       <title>Erode noise</title>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/taj_orig.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/taj_orig.jpg"/>
         </imageobject>
         <caption>
           <para>Original image</para>
@@ -34,7 +36,8 @@
       </mediaobject>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/generic-taj-erode.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/generic-taj-erode.jpg"/>
         </imageobject>
         <caption>
           <para>Filter <quote>Erode noise</quote> applied</para>
@@ -62,7 +65,8 @@
         <title><quote>Erode noise</quote> example</title>
         <mediaobject>
           <imageobject>
-            <imagedata fileref="images/filters/examples/erode-noise.png" format="PNG"/>
+            <imagedata format="PNG"
+              fileref="images/filters/examples/erode-noise.png"/>
           </imageobject>
         </mediaobject>
       </figure>



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