diff en/ch02-tour-basic.xml @ 724:cfdb601a3c8b

Fix imagedata fileref in xml files, and replace ':' with '.' in id attribute
author Dongsheng Song <dongsheng.song@gmail.com>
date Thu, 12 Mar 2009 15:51:39 +0800
parents 13513d2a128d
children a13813534ccd
line wrap: on
line diff
--- a/en/ch02-tour-basic.xml	Thu Mar 12 15:47:15 2009 +0800
+++ b/en/ch02-tour-basic.xml	Thu Mar 12 15:51:39 2009 +0800
@@ -1,10 +1,10 @@
 <!-- vim: set filetype=docbkxml shiftwidth=2 autoindent expandtab tw=77 : -->
 
-<chapter id="chap:tour-basic">
+<chapter id="chap.tour-basic">
   <?dbhtml filename="a-tour-of-mercurial-the-basics.html"?>
   <title>A tour of Mercurial: the basics</title>
 
-  <sect1 id="sec:tour:install">
+  <sect1 id="sec.tour.install">
     <title>Installing Mercurial on your system</title>
 
     <para>Prebuilt binary packages of Mercurial are available for
@@ -250,7 +250,7 @@
 	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 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
@@ -258,9 +258,9 @@
       several times in this chapter and the chapter that
       follows.</para>
 
-    <informalfigure id="fig:tour-basic:history">
+    <informalfigure id="fig.tour-basic.history">
       <mediaobject>
-	<imageobject><imagedata fileref="tour-history"/></imageobject>
+	<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>
@@ -361,7 +361,7 @@
 	<option role="hg-opt-log">--patch</option>) option.  This
 	displays the content of a change as a <emphasis>unified
 	  diff</emphasis> (if you've never seen a unified diff before,
-	see section <xref linkend="sec:mq:patch"/> for an
+	see section <xref linkend="sec.mq.patch"/> for an
 	overview).</para>
 
       &interaction.tour.log-vp;
@@ -519,7 +519,7 @@
 	    <envar role="rc-item-ui">username</envar> entry, that will
 	    be used next.  To see what the contents of this file
 	    should look like, refer to section <xref
-	      linkend="sec:tour-basic:username"/>
+	      linkend="sec.tour-basic.username"/>
 	    below.</para></listitem>
 	<listitem><para>If you have set the <envar>EMAIL</envar>
 	    environment variable, this will be used
@@ -543,7 +543,7 @@
 	and most robust way to set a username for yourself is by
 	creating a <filename role="special">.hgrc</filename> file; see
 	below for details.</para>
-      <sect3 id="sec:tour-basic:username">
+      <sect3 id="sec.tour-basic.username">
 	<title>Creating a Mercurial configuration file</title>
 
 	<para>To set a user name, use your favourite editor
@@ -684,7 +684,7 @@
 	look at a few ways that we can propagate this change into
 	other repositories.</para>
 
-    <sect2 id="sec:tour:pull">
+    <sect2 id="sec.tour.pull">
       <title>Pulling changes from another repository</title>
       <para>To get started, let's clone our original
 	  <filename class="directory">hello</filename> repository,
@@ -734,7 +734,7 @@
       <para>We have so far glossed over the relationship between a
 	repository and its working directory.  The <command
 	  role="hg-cmd">hg pull</command> command that we ran in
-	section <xref linkend="sec:tour:pull"/> brought changes
+	section <xref linkend="sec.tour.pull"/> brought changes
 	into the repository, but if we check, there's no sign of those
 	changes in the working directory.  This is because <command
 	  role="hg-cmd">hg pull</command> does not (by default) touch
@@ -761,7 +761,7 @@
 
       <para>If you look back at the output of <command
 	  role="hg-cmd">hg pull</command> in section <xref
-	    linkend="sec:tour:pull"/> when we ran it without <option
+	    linkend="sec.tour.pull"/> when we ran it without <option
 	  role="hg-opt-pull">-u</option>, you can see that it printed
 	a helpful reminder that we'd have to take an explicit step to
 	update the working directory:</para>
@@ -775,7 +775,7 @@
       &interaction.tour.parents;
 
       <para>If you look back at figure <xref
-	  linkend="fig:tour-basic:history"/>,
+	  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