cookbook: Added some judicious note elements
authorElliot Smith <elliot.smith@intel.com>
Tue, 6 Jul 2010 15:09:58 +0000 (16:09 +0100)
committerElliot Smith <elliot.smith@intel.com>
Tue, 6 Jul 2010 16:20:25 +0000 (17:20 +0100)
In some cases, there were blocks of text which
were really asides/interrupts to the flow, but
which weren't explicitly marked as such. I fixed
them by turning them into <note> blocks.

doc/cookbook/events.xml
doc/cookbook/textures.xml

index 16744ac..ae17af2 100644 (file)
@@ -138,14 +138,14 @@ _key_press_cb (ClutterActor *actor,
           </programlisting>
         </informalexample>
 
-        <para>Note that Clutter provides a range of key value definitions
+        <note><para>Clutter provides a range of key value definitions
         (like <constant>CLUTTER_Up</constant>, used above). These are
         generated from the list in the
         <ulink url="http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h">X.Org source code</ulink>
         (replace "XK" with "CLUTTER" in the definitions there to get the
         CLUTTER equivalents; alternatively, look at the
         <filename>clutter-keysyms.h</filename> header file for the
-        list).</para>
+        list).</para></note>
 
         <para><constant>CLUTTER_SHIFT_MASK</constant>,
         <constant>CLUTTER_CONTROL_MASK</constant> and other modifiers are
index 33903d8..f839edb 100644 (file)
@@ -146,14 +146,14 @@ cairo_destroy (cr);
           </programlisting>
         </informalexample>
 
-        <para>Note that if the page is larger than the Cairo context,
+        <note><para>If the page is larger than the Cairo context,
         some of it might not be visible. Similarly, if the
         <type>ClutterCairoTexture</type> is larger than the stage,
         some of that might not be visible. So you
         may need to do some work to make the <type>ClutterCairoTexture</type>
         fit inside the stage properly (e.g. resize the stage), and/or some work
         to make the PDF page sit inside the Cairo context (e.g. scale the PDF
-        page or put it inside a scrollable actor).</para>
+        page or put it inside a scrollable actor).</para></note>
 
       </section>