cookbook: Use the right tag for the screenshot
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 16 Jul 2010 16:31:27 +0000 (17:31 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 16 Jul 2010 16:31:27 +0000 (17:31 +0100)
Screenshots should be using the <screenshot> tag, not the <figure> one.

doc/cookbook/textures.xml

index 5b0d295..71e0142 100644 (file)
@@ -618,10 +618,17 @@ main (int argc, char *argv[])
         </programlisting>
       </informalexample>
 
-      <figure id="textures-reflection-image">
-        <title>Reflection of a texture</title>
-        <graphic fileref="images/textures-reflection.png" format="PNG"/>
-      </figure>
+      <screenshot>
+        <mediaobject>
+          <imageobject>
+            <imagedata format="PNG"
+                       fileref="images/textures-reflection.png" />
+          </imageobject>
+          <alt>
+            <para>A texture and its reflection below</para>
+          </alt>
+        </mediaobject>
+      </screenshot>
 
     </section>