Remove custom labels, and override the formating string to display Chinese chapter numbers.
@@ -5,7 +5,7 @@
%general-entities;
]>
-<chapter id="chapter-intro" xreflabel="Chapter 1">
+<chapter id="chapter-intro">
<?dbhtml dir="chapter01"?>
<?dbhtml filename="chapter01.html"?>
-<chapter id="chapter-partitioning" xreflabel="Chapter 2">
+<chapter id="chapter-partitioning">
<?dbhtml dir="chapter02"?>
<?dbhtml filename="chapter02.html"?>
-<chapter id="chapter-getting-materials" xreflabel="Chapter 3">
+<chapter id="chapter-getting-materials">
<?dbhtml dir="chapter03"?>
<?dbhtml filename="chapter03.html"?>
-<chapter id="chapter-final-preps" xreflabel="Chapter 4">
+<chapter id="chapter-final-preps">
<?dbhtml dir="chapter04"?>
<?dbhtml filename="chapter04.html"?>
-<chapter id="chapter-temporary-tools" xreflabel="Chapter 5">
+<chapter id="chapter-temporary-tools">
<?dbhtml dir="chapter05"?>
<?dbhtml filename="chapter05.html"?>
-<chapter id="chapter-building-system" xreflabel="Chapter 6">
+<chapter id="chapter-building-system">
<?dbhtml dir="chapter06"?>
<?dbhtml filename="chapter06.html"?>
-<chapter id="chapter-bootscripts" xreflabel="Chapter 7">
+<chapter id="chapter-bootscripts">
<?dbhtml dir="chapter07"?>
<?dbhtml filename="chapter07.html"?>
-<chapter id="chapter-bootable" xreflabel="Chapter 8">
+<chapter id="chapter-bootable">
<?dbhtml dir="chapter08"?>
<?dbhtml filename="chapter08.html"?>
-<chapter id="chapter-finalizing" xreflabel="Chapter 9">
+<chapter id="chapter-finalizing">
<?dbhtml dir="chapter09"?>
<?dbhtml filename="chapter09.html"?>
@@ -27,6 +27,10 @@ $Date$
</l:context>
<l:gentext key="Copyright" text="版权所有"/>
+ <!-- Override xref chapter format to hide the title -->
+ <l:context name="xref-number-and-title">
+ <l:template name="chapter" text="第 %n 章"/>
+ </l:context>
</l:l10n>