diff --git a/Makefile b/Makefile
index ad4513406..2bc4e2cab 100644
--- a/Makefile
+++ b/Makefile
@@ -20,9 +20,9 @@ lfs:
cp $(XSLROOTDIR)/images/*.png \
$(BASEDIR)/images
cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" \
- index.html part1.html part2.html part3.html longindex.html
+ *.html
cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
- index.html part1.html part2.html part3.html longindex.html
+ *.html
for filename in `find $(BASEDIR) -name "*.html"`; do \
tidy -config tidy.conf $$filename; \
@@ -47,7 +47,7 @@ lfs:
pdf:
xsltproc --xinclude --nonet --stringparam profile.condition print \
- --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index-pdf.xml
+ --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml
xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
$(BASEDIR)/lfs-pdf.xml
sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
diff --git a/contrib/entResolver b/contrib/entResolver
deleted file mode 100644
index e04f439b3..000000000
--- a/contrib/entResolver
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-###############################################################################
-# #
-# File: entResolver #
-# #
-# Description: Works around libxml2 bug 135713 by preprocessing entity #
-# references before performing any stylesheet processing. #
-# #
-# Author: Manuel Canales Esparcia #
-# #
-###############################################################################
-
-NAME=`basename "$0"`
-DESTDIR="$1"
-
-if [ -z "$1" ]; then
- echo "USAGE: $NAME destdir"
- exit
-fi
-
-mkdir -p ../"$DESTDIR"/chapter0{1,2,3,4,5,6,7,8,9}
-mkdir -p ../"$DESTDIR"/prologue
-mkdir -p ../"$DESTDIR"/appendix{a,b}
-
-for i in `find . -name "*.xml"`; do
- xmllint --nonet --noent "${i}" > ../"$DESTDIR"/"${i}";
-done
-
-cp -a stylesheets ../"$DESTDIR"
diff --git a/goTidy b/goTidy
deleted file mode 100644
index e2f4eed02..000000000
--- a/goTidy
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-#######################################################################
-#
-# File: goTidy
-#
-# Description: Tidy is best used inside a loop, but Makefiles don't do
-# bash loops well. This file alleviates that problem.
-#
-# Author: James Robertson
-#
-########################################################################
-
-for file in `find "$1" -name "*.html"`; do
- tidy -config tidy.conf $file
-done
-
-exit 0
diff --git a/index-pdf.xml b/index-pdf.xml
deleted file mode 100644
index 836687502..000000000
--- a/index-pdf.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
- %general-entities;
-]>
-
-
-
-
-
-
-Preface
-
-
-
-
-
-
-
-
-
-
-Introduction
-
-
-
-
-
-Preparing for the build
-
-
-
-
-
-
-Building the LFS system
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/stylesheets/lfs-chunked.xsl b/stylesheets/lfs-chunked.xsl
index bfe985b7a..f6ba5f0e9 100644
--- a/stylesheets/lfs-chunked.xsl
+++ b/stylesheets/lfs-chunked.xsl
@@ -5,8 +5,8 @@
version="1.0">
-
-
+
+
-
+
diff --git a/stylesheets/lfs-chunked2.xsl b/stylesheets/lfs-chunked2.xsl
index 6a4699542..12b40ce34 100644
--- a/stylesheets/lfs-chunked2.xsl
+++ b/stylesheets/lfs-chunked2.xsl
@@ -5,14 +5,19 @@
version="1.0">
-
+
+
+
+
+
+
diff --git a/stylesheets/lfs-l10n.xml b/stylesheets/lfs-l10n.xml
new file mode 100644
index 000000000..568f981a9
--- /dev/null
+++ b/stylesheets/lfs-l10n.xml
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/stylesheets/lfs-nochunks.xsl b/stylesheets/lfs-nochunks.xsl
index a01f86510..434932081 100644
--- a/stylesheets/lfs-nochunks.xsl
+++ b/stylesheets/lfs-nochunks.xsl
@@ -5,7 +5,7 @@
version="1.0">
-
+
@@ -14,13 +14,54 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+