diff en/ch02-tour-basic.xml @ 739:a13813534ccd

Fix all xref to figs
author Dongsheng Song <dongsheng.song@gmail.com>
date Tue, 17 Mar 2009 10:43:45 +0800
parents cfdb601a3c8b
children 1114da00d30e
line wrap: on
line diff
--- a/en/ch02-tour-basic.xml	Mon Mar 16 17:49:05 2009 +0800
+++ b/en/ch02-tour-basic.xml	Tue Mar 17 10:43:45 2009 +0800
@@ -250,7 +250,8 @@
 	log</command> is purely a summary; it is missing a lot of
       detail.</para>
 
-    <para>Figure <xref linkend="fig.tour-basic.history"/> provides a
+    <para>Figure <xref endterm="fig.tour-basic.history.caption"
+        linkend="fig.tour-basic.history"/> provides a
       graphical representation of the history of the <filename
 	class="directory">hello</filename> repository, to make it a
       little easier to see which direction history is
@@ -262,9 +263,9 @@
       <mediaobject>
 	<imageobject><imagedata fileref="images/tour-history.png"/></imageobject>
 	<textobject><phrase>XXX add text</phrase></textobject>
-	<caption><para>Graphical history of the <filename
-	      class="directory">hello</filename>
-	    repository</para></caption>
+	<caption><para id="fig.tour-basic.history.caption">Graphical history of
+	    the <filename class="directory">hello</filename> repository</para>
+	</caption>
       </mediaobject>
     </informalfigure>
 
@@ -775,7 +776,8 @@
       &interaction.tour.parents;
 
       <para>If you look back at figure <xref
-	  linkend="fig.tour-basic.history"/>,
+	   endterm="fig.tour-basic.history.caption" 
+	   linkend="fig.tour-basic.history"/>,
 	you'll see arrows connecting each changeset.  The node that
 	the arrow leads <emphasis>from</emphasis> in each case is a
 	parent, and the node that the arrow leads