Mercurial > hgbook
diff en/ch11-template.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 | d0160b0b1a9e |
line wrap: on
line diff
--- a/en/ch11-template.xml Thu Mar 12 15:47:15 2009 +0800 +++ b/en/ch11-template.xml Thu Mar 12 15:51:39 2009 +0800 @@ -1,6 +1,6 @@ <!-- vim: set filetype=docbkxml shiftwidth=2 autoindent expandtab tw=77 : --> -<chapter id="chap:template"> +<chapter id="chap.template"> <?dbhtml filename="customizing-the-output-of-mercurial.html"?> <title>Customising the output of Mercurial</title> @@ -10,7 +10,7 @@ command, or to customise the entire appearance of the built-in web interface.</para> - <sect1 id="sec:style"> + <sect1 id="sec.style"> <title>Using precanned output styles</title> <para>Packaged with Mercurial are some output styles that you can @@ -106,7 +106,7 @@ <emphasis>escape sequence</emphasis>, telling Mercurial to print a newline at the end of each template item. If you omit this newline, Mercurial will run each piece of output together. See - section <xref linkend="sec:template:escape"/> for more details + section <xref linkend="sec.template.escape"/> for more details of escape sequences.</para> <para>A template that prints a fixed string of text all the time @@ -124,10 +124,10 @@ and text with the expansion of whatever is inside. To print a literal curly brace, you must escape it, as described in section <xref - linkend="sec:template:escape"/>.</para> + linkend="sec.template.escape"/>.</para> </sect1> - <sect1 id="sec:template:keyword"> + <sect1 id="sec.template.keyword"> <title>Common template keywords</title> <para>You can start writing simple templates immediately using the @@ -149,7 +149,7 @@ committed. This is <emphasis>not</emphasis> human-readable; you must pass it through a filter that will render it appropriately. See section <xref - linkend="sec:template:filter"/> for more information + linkend="sec.template.filter"/> for more information on filters. The date is expressed as a pair of numbers. The first number is a Unix UTC timestamp (seconds since January 1, 1970); the second is the offset of the committer's @@ -197,12 +197,12 @@ human-readable output, so we must treat it specially. This involves using a <emphasis>filter</emphasis>, about which more in section <xref - linkend="sec:template:filter"/>.</para> + linkend="sec.template.filter"/>.</para> &interaction.template.simple.datekeyword; </sect1> - <sect1 id="sec:template:escape"> + <sect1 id="sec.template.escape"> <title>Escape sequences</title> <para>Mercurial's templating engine recognises the most commonly @@ -244,7 +244,7 @@ it.</para> </sect1> - <sect1 id="sec:template:filter"> + <sect1 id="sec.template.filter"> <title>Filtering keywords to change their results</title> <para>Some of the results of template expansion are not