[gimp-help] xml: clean colors/auto



commit a7a4cb28b432ee4a2a5bf228afd864e7d41ef8dd
Author: Julien Hardelin <jhardlin orange fr>
Date:   Thu Jun 27 16:33:50 2019 +0200

    xml: clean colors/auto

 src/menus/colors.xml                           |  5 +-
 src/menus/colors/auto.xml                      | 40 ++++--------
 src/menus/colors/auto/normalize.xml            | 86 --------------------------
 src/menus/colors/auto/stretch-contrast-hsv.xml | 26 ++++----
 4 files changed, 26 insertions(+), 131 deletions(-)
---
diff --git a/src/menus/colors.xml b/src/menus/colors.xml
index b8dbf8233..abbe68280 100644
--- a/src/menus/colors.xml
+++ b/src/menus/colors.xml
@@ -42,11 +42,10 @@
   <xi:include href="colors/auto.xml"/>
   <xi:include href="colors/auto/equalize.xml"/>
   <xi:include href="colors/auto/white-balance.xml"/>
-  <xi:include href="colors/auto/color-enhance.xml"/>
-  <xi:include href="colors/auto/color-enhance-legacy.xml"/>
-  <xi:include href="colors/auto/normalize.xml"/>
   <xi:include href="colors/auto/stretch-contrast.xml"/>
   <xi:include href="colors/auto/stretch-contrast-hsv.xml"/>
+  <xi:include href="colors/auto/color-enhance.xml"/>
+  <xi:include href="colors/auto/color-enhance-legacy.xml"/>
   
   <xi:include href="colors/components.xml"/>
   <xi:include href="colors/components/channel-mixer.xml"/>
diff --git a/src/menus/colors/auto.xml b/src/menus/colors/auto.xml
index b38e9ab12..5d2c0b7f3 100644
--- a/src/menus/colors/auto.xml
+++ b/src/menus/colors/auto.xml
@@ -134,35 +134,18 @@
     <para>
       <figure>
         <title>
-          The <link linkend="plug-in-color-enhance">Color Enhance</link>
+          The <link linkend="gimp-filter-stretch-contrast">Stretch 
+Contrast</link>
           command
         </title>
         <mediaobject>
           <imageobject>
             <imagedata format="PNG"
-              fileref="images/menus/colors/auto/color-enhance.png"/>
-          </imageobject>
-          <caption>
-            <para>
-              <quote>Color Enhance</quote> example
-            </para>
-          </caption>
-        </mediaobject>
-      </figure>
-    </para>
-    <para>
-      <figure>
-        <title>
-          The <link linkend="plug-in-normalize">Normalize</link> command
-        </title>
-        <mediaobject>
-          <imageobject>
-            <imagedata format="PNG"
-              fileref="images/menus/colors/auto/normalize.png"/>
+              fileref="images/menus/colors/auto/c-stretch.png"/>
           </imageobject>
           <caption>
             <para>
-              <quote>Normalize</quote> example
+              <quote>Stretch Contrast</quote> example
             </para>
           </caption>
         </mediaobject>
@@ -171,18 +154,18 @@
     <para>
       <figure>
         <title>
-          The <link linkend="gimp-filter-stretch-contrast">Stretch 
-Contrast</link>
+          The <link linkend="gimp-filter-stretch-contrast-hsv">Stretch 
+Contrast HSV</link>
           command
         </title>
         <mediaobject>
           <imageobject>
             <imagedata format="PNG"
-              fileref="images/menus/colors/auto/c-stretch.png"/>
+              fileref="images/menus/colors/auto/stretch-hsv.png"/>
           </imageobject>
           <caption>
             <para>
-              <quote>Stretch Contrast</quote> example
+              <quote>Stretch Contrast HSV</quote> example
             </para>
           </caption>
         </mediaobject>
@@ -191,18 +174,17 @@ Contrast</link>
     <para>
       <figure>
         <title>
-          The <link linkend="gimp-filter-stretch-contrast-hsv">Stretch 
-HSV</link>
+          The <link linkend="plug-in-color-enhance">Color Enhance</link>
           command
         </title>
         <mediaobject>
           <imageobject>
             <imagedata format="PNG"
-              fileref="images/menus/colors/auto/stretch-hsv.png"/>
+              fileref="images/menus/colors/auto/color-enhance.png"/>
           </imageobject>
           <caption>
             <para>
-              <quote>Stretch HSV</quote> example
+              <quote>Color Enhance</quote> example
             </para>
           </caption>
         </mediaobject>
diff --git a/src/menus/colors/auto/stretch-contrast-hsv.xml b/src/menus/colors/auto/stretch-contrast-hsv.xml
index 89fdce82d..849ff00d7 100644
--- a/src/menus/colors/auto/stretch-contrast-hsv.xml
+++ b/src/menus/colors/auto/stretch-contrast-hsv.xml
@@ -18,15 +18,15 @@
   </indexterm>
 
   <para>
-    The <guimenuitem>Stretch HSV</guimenuitem> command does the same thing
-    as the <link linkend="gimp-filter-stretch-contrast">Stretch Contrast</link> 
-    command,
-    except that it works in HSV color space, rather than RGB color space,
-    and it preserves the Hue. Thus, it independently stretches the ranges of
-    the Hue, Saturation and Value components of the colors. Occasionally the
-    results are good, often they are a bit odd. <quote>Stretch HSV</quote>
-    operates on layers from RGB and Indexed images. If the image is
-    Grayscale, the menu entry is insensitive and grayed out.
+    The <guimenuitem>Stretch Contrast HSV</guimenuitem> command does the same 
+    thing as the <link linkend="gimp-filter-stretch-contrast">Stretch 
+    Contrast</link> command, except that it works in HSV color space, rather 
+    than RGB color space, and it preserves the Hue. Thus, it independently 
+    stretches the ranges of the Hue, Saturation and Value components of the 
+    colors. Occasionally the results are good, often they are a bit odd. 
+    <quote>Stretch Contrast HSV</quote> operates on layers from RGB and 
+    Indexed images. If the image is Grayscale, the menu entry is insensitive 
+    and grayed out.
   </para>
 
   <sect3>
@@ -38,7 +38,7 @@
           <menuchoice>
             <guimenu>Colors</guimenu>
             <guisubmenu>Auto</guisubmenu>
-            <guimenuitem>Stretch HSV</guimenuitem>
+            <guimenuitem>Stretch Contrast HSV</guimenuitem>
           </menuchoice>.
         </para>
       </listitem>
@@ -46,7 +46,7 @@
   </sect3>
 
   <sect3>
-    <title><quote>Stretch HSV</quote> example</title>
+    <title><quote>Stretch Contrast HSV</quote> example</title>
     <figure>
       <title>Original image</title>
       <mediaobject>
@@ -57,7 +57,7 @@
         <caption>
           <para>
             The active layer and its Red, Green and Blue histograms
-            before <quote>Stretch HSV</quote>.
+            before <quote>Stretch Contrast HSV</quote>.
           </para>
         </caption>
       </mediaobject>
@@ -72,7 +72,7 @@
         <caption>
           <para>
             The active layer and its Red, Green and Blue histograms after
-            <quote>Stretch HSV</quote>.
+            <quote>Stretch Contrast HSV</quote>.
             Contrast, luminosity and hues are enhanced.
           </para>
         </caption>


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