[gimp-help-2] Fix some help-ids



commit 76914c29b641e533c84632f40023d896f8e70e4f
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date:   Sun Apr 18 18:39:25 2010 +0200

    Fix some help-ids
    
    Stylesheets: make help-ids for anchor tags (was disabled on 2008-07-05).

 src/concepts/basic-setup.xml           |    4 ++-
 src/filters/animation/optimize.xml     |    6 +++-
 src/filters/animation/playback.xml     |    4 ++-
 src/filters/distort/IWarp.xml          |   52 +++++++++++++------------------
 src/filters/render/flame.xml           |    4 +-
 src/filters/render/fractalexplorer.xml |    2 +-
 src/filters/render/ifsfractal.xml      |   10 ++++--
 stylesheets/makeindex.xsl              |    7 ++--
 8 files changed, 46 insertions(+), 43 deletions(-)
---
diff --git a/src/concepts/basic-setup.xml b/src/concepts/basic-setup.xml
index ef10f03..4f8e4d8 100644
--- a/src/concepts/basic-setup.xml
+++ b/src/concepts/basic-setup.xml
@@ -11,8 +11,10 @@
   2006-05-02 added Korean translation by Dust
   2006-02-27 added norwegian by kolbjørn
 -->
-<sect1 xmlns:xi="http://www.w3.org/2001/XInclude"; id="gimp-concepts-usage">
+<sect1 id="gimp-concepts-main-windows"
+       xmlns:xi="http://www.w3.org/2001/XInclude";>
   <title>Main Windows</title>
+  <anchor id="gimp-concepts-usage"/>
 
   <indexterm>
     <primary>Basic Setup</primary>
diff --git a/src/filters/animation/optimize.xml b/src/filters/animation/optimize.xml
index 4699528..38861a4 100644
--- a/src/filters/animation/optimize.xml
+++ b/src/filters/animation/optimize.xml
@@ -2,14 +2,18 @@
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 <!-- section history:
+  2010-04-18 ude: changed help-id: plug-in-optimize -> plug-in-animationoptimize
   2007-06-25 Added Spanish translation by AntI
   2007-05-25 KoSt: added 'no'
   2007-01-05 lexa: added de translation
   2006-12-27 created by j.h
 -->
-<sect2 id="plug-in-optimize">
+<sect2 id="plug-in-animationoptimize">
   <title>Optimize</title>
 
+  <anchor id="plug-in-optimize" xreflabel="Optimize Animation"/>
+  <anchor id="plug-in-animationoptimize-diff"
+    xreflabel="Optimize (Difference)"/>
   <indexterm>
     <primary>Filters</primary>
     <secondary>Animation</secondary>
diff --git a/src/filters/animation/playback.xml b/src/filters/animation/playback.xml
index 4f11e80..986942b 100644
--- a/src/filters/animation/playback.xml
+++ b/src/filters/animation/playback.xml
@@ -2,15 +2,17 @@
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 <!-- section history:
+  2010-04-18 ude: changed help-id: plug-in-playback -> plug-in-animationplay
   2007-06-25 Added Spanish translation by AntI
   2007-05-25 KoSt: added 'no'
   2007-01-05 lexa: translated to de and fitted into the general filter
                    description structure
   2006-12-27 created by j.h
 -->
-<sect2 id="plug-in-playback">
+<sect2 id="plug-in-animationplay">
   <title>Playback</title>
 
+  <anchor id="plug-in-playback" xreflabel="Playback"/>
   <indexterm>
     <primary>Filters</primary>
     <secondary>Animation</secondary>
diff --git a/src/filters/distort/IWarp.xml b/src/filters/distort/IWarp.xml
index 76a8358..a826a7f 100644
--- a/src/filters/distort/IWarp.xml
+++ b/src/filters/distort/IWarp.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:
   2007-08-19 alex falappa: enabled and reviewed italian translation
   2007-08-13 Added Spanish translation by AntI
@@ -8,10 +9,8 @@
   050904 de added by axel.wernicke
 -->
 <sect2 id="plug-in-iwarp">
+  <title>IWarp</title>
 
-  <title>
-    IWarp
-  </title>
   <indexterm>
     <primary>Filters</primary>
     <secondary>Distorts</secondary>
@@ -22,16 +21,13 @@
   </indexterm>
 
   <sect3>
-    <title>
-      Overview
-    </title>
+    <title>Overview</title>
     <figure>
-      <title>
-        Applying example for the IWarp filter
-      </title>
+      <title>Applying example for the IWarp 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 +35,8 @@
       </mediaobject>
       <mediaobject>
         <imageobject>
-          <imagedata fileref="images/filters/examples/distort-taj-iwarp.jpg" format="JPG"/>
+          <imagedata format="JPG"
+            fileref="images/filters/examples/distort-taj-iwarp.jpg"/>
         </imageobject>
         <caption>
           <para>Filter <quote>IWarp</quote> applied</para>
@@ -57,10 +54,9 @@
       the mouse pointer.
     </para>
   </sect3>
+
   <sect3>
-    <title>
-      Starting filter
-    </title>
+    <title>Starting filter</title>
     <para>
       You can find this filter through
       <menuchoice>
@@ -72,9 +68,7 @@
   </sect3>
 
   <sect3>
-    <title>
-      Options
-    </title>
+    <title>Options</title>
     <para>
       The options of this filter are so numerous that they come in two tabs.
       The first tab contains general options. The second tab holds animation
@@ -85,12 +79,11 @@
         <term>Settings</term>
         <listitem>
           <figure>
-            <title>
-              <quote>IWarp</quote> filter options (Settings tab)
-            </title>
+            <title><quote>IWarp</quote> filter options (Settings tab)</title>
             <mediaobject>
               <imageobject>
-                <imagedata fileref="images/filters/filters-distort-iwarp.png" format="PNG"/>
+                <imagedata format="PNG"
+                  fileref="images/filters/filters-distort-iwarp.png"/>
               </imageobject>
             </mediaobject>
           </figure>
@@ -117,7 +110,8 @@
               <listitem>
                 <itemizedlist>
                   <listitem>
-                    <para><guilabel>Move</guilabel>: Allows you to
+                    <para>
+                      <guilabel>Move</guilabel>: Allows you to
                       <emphasis>stretch</emphasis> parts of the image.
                     </para>
                   </listitem>
@@ -206,21 +200,19 @@
         <term>Animate</term>
         <listitem>
           <figure>
-            <title>
-              <quote>IWarp</quote> filter options (Animation tab)
-
-            </title>
+            <title><quote>IWarp</quote> filter options (Animation tab)</title>
             <mediaobject>
               <imageobject>
-                <imagedata fileref="images/filters/iwarp-options-2.png" format="PNG"/>
+                <imagedata format="PNG"
+                  fileref="images/filters/iwarp-options-2.png"/>
               </imageobject>
             </mediaobject>
           </figure>
           <para>
             This tab allows to generate several intermediate images between
-            the  original image and the final deformation of this image. You
+            the original image and the final deformation of this image. You
             can play this animation thanks to the
-            <link linkend="plug-in-playback">Playback</link> plug-in.
+            <link linkend="plug-in-animationplay">Playback</link> plug-in.
           </para>
           <variablelist>
             <varlistentry>
diff --git a/src/filters/render/flame.xml b/src/filters/render/flame.xml
index bf2ff7c..9c9bc39 100644
--- a/src/filters/render/flame.xml
+++ b/src/filters/render/flame.xml
@@ -43,8 +43,8 @@
     <para>
       With the Flame filter, you can create stunning, randomly
       generated fractal patterns. You can't control the fractals as
-      you can with the <link linkend="plug-in-ifsfractal">Ifs
-      Compose</link> filter, but you can steer the
+      you can with the <link linkend="plug-in-ifscompose">IFS
+      Fractal</link> filter, but you can steer the
       random generator in a certain direction, and choose from
       variations of a theme you like.
     </para>
diff --git a/src/filters/render/fractalexplorer.xml b/src/filters/render/fractalexplorer.xml
index ad4e6d3..4063d63 100644
--- a/src/filters/render/fractalexplorer.xml
+++ b/src/filters/render/fractalexplorer.xml
@@ -39,7 +39,7 @@
     <para>
       With this filter, you can create fractals and multicolored pictures
       verging to chaos. Unlike the
-      <link linkend="plug-in-ifsfractal">IFS Compose</link> filter, with which you
+      <link linkend="plug-in-ifscompose">IFS Fractal</link> filter, with which you
       can fix the fractal structure precisely, this filter lets you perform
       fractals simply.
     </para>
diff --git a/src/filters/render/ifsfractal.xml b/src/filters/render/ifsfractal.xml
index d375ff2..e0d0cd3 100644
--- a/src/filters/render/ifsfractal.xml
+++ b/src/filters/render/ifsfractal.xml
@@ -2,15 +2,17 @@
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 <!-- section history:
+  2010-04-18 ude: changed help-id: plug-in-ifsfractal -> plug-in-ifscompose
   2007-11-14 AntI: Added "es"
   2007-05-13 KoSt: added 'no'
   2005-12-08 <simplesect> replaced by <sect3> by lexa
   2005-10-11 en;fr updated by julien hardelin
   2005-09-19 de added by axel.wernicke
 -->
-<sect2 id="plug-in-ifsfractal">
+<sect2 id="plug-in-ifscompose">
   <title>IFS Fractal</title>
 
+  <anchor id="plug-in-ifsfractal" xreflabel="IFS Fractal"/>
   <indexterm>
     <primary>Filters</primary>
     <secondary>Render</secondary>
@@ -23,7 +25,7 @@
   <sect3>
     <title>Overview</title>
     <figure>
-      <title>Applying example for the IFS Compose filter</title>
+      <title>Applying example for the IFS Fractal filter</title>
       <mediaobject>
         <imageobject>
           <imagedata format="JPG"
@@ -53,7 +55,7 @@
       A word of advice: When you have found a pattern you want to work with,
       make only small changes, and stick to variations of that pattern. It's
       all too easy to lose a good thing. Contrary to what you might believe,
-      it's really much easier to create a leaf or a tree with IFS Compose than
+      it's really much easier to create a leaf or a tree with IFS Fractal than
       to make a defined geometrical pattern (where you actually know what
       you're doing, and end up with the pattern you had in mind).
     </para>
@@ -278,7 +280,7 @@
       </listitem>
       <listitem>
         <para>
-          Open IFS Compose. Start by rotating the right and bottom triangles,
+          Open IFS Fractal. Start by rotating the right and bottom triangles,
           so that they point upward. You'll now be able to see the outline of
           what's going to be the tip and sides of the leaf. (If you have
           problems, it may help to know that the three vertices of a triangle
diff --git a/stylesheets/makeindex.xsl b/stylesheets/makeindex.xsl
index 4eb44c4..fb1c99b 100644
--- a/stylesheets/makeindex.xsl
+++ b/stylesheets/makeindex.xsl
@@ -51,10 +51,11 @@
   </xsl:template>
 
   <xsl:template match="obj">
-    <xsl:if test="@targetptr and starts-with(@targetptr, 'gimp-')
-              and not(@element = 'anchor')
+    <xsl:if test="@targetptr
               and not(@element = 'footnote')
-              and not(@element = 'figure')">
+              and not(@element = 'figure')
+              and (starts-with(@targetptr, 'gimp-') or
+                   starts-with(@targetptr, 'plug-in-'))">
       <help-item>
         <xsl:attribute name="id">
           <xsl:value-of select="@targetptr" />



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