hgbook

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

Fix all xref to figs
author Dongsheng Song <dongsheng.song@gmail.com>
date Tue Mar 17 10:43:45 2009 +0800 (2009-03-17)
parents cfdb601a3c8b
children 1114da00d30e
line diff
     1.1 --- a/en/ch02-tour-basic.xml	Thu Mar 12 15:51:39 2009 +0800
     1.2 +++ b/en/ch02-tour-basic.xml	Tue Mar 17 10:43:45 2009 +0800
     1.3 @@ -250,7 +250,8 @@
     1.4  	log</command> is purely a summary; it is missing a lot of
     1.5        detail.</para>
     1.6  
     1.7 -    <para>Figure <xref linkend="fig.tour-basic.history"/> provides a
     1.8 +    <para>Figure <xref endterm="fig.tour-basic.history.caption"
     1.9 +        linkend="fig.tour-basic.history"/> provides a
    1.10        graphical representation of the history of the <filename
    1.11  	class="directory">hello</filename> repository, to make it a
    1.12        little easier to see which direction history is
    1.13 @@ -262,9 +263,9 @@
    1.14        <mediaobject>
    1.15  	<imageobject><imagedata fileref="images/tour-history.png"/></imageobject>
    1.16  	<textobject><phrase>XXX add text</phrase></textobject>
    1.17 -	<caption><para>Graphical history of the <filename
    1.18 -	      class="directory">hello</filename>
    1.19 -	    repository</para></caption>
    1.20 +	<caption><para id="fig.tour-basic.history.caption">Graphical history of
    1.21 +	    the <filename class="directory">hello</filename> repository</para>
    1.22 +	</caption>
    1.23        </mediaobject>
    1.24      </informalfigure>
    1.25  
    1.26 @@ -775,7 +776,8 @@
    1.27        &interaction.tour.parents;
    1.28  
    1.29        <para>If you look back at figure <xref
    1.30 -	  linkend="fig.tour-basic.history"/>,
    1.31 +	   endterm="fig.tour-basic.history.caption" 
    1.32 +	   linkend="fig.tour-basic.history"/>,
    1.33  	you'll see arrows connecting each changeset.  The node that
    1.34  	the arrow leads <emphasis>from</emphasis> in each case is a
    1.35  	parent, and the node that the arrow leads