aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-09-04 18:29:02 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-09-04 18:29:02 +0000
commitb398f4c4b9581c0b47f539e594ee4c453b6230bf (patch)
tree4bd38cf6e030585f1f164a2de7ceae52f245a9d9
parent1f595ea0ba4c95b6b91ccdf606be8f8a387cc255 (diff)
Revert erroneous stylesheet changes, applied by mistake.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9984 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--Makefile5
-rw-r--r--stylesheets/lfs-xsl/chunk-master.xsl4
-rw-r--r--stylesheets/lfs-xsl/chunk-slave.xsl4
-rw-r--r--stylesheets/lfs-xsl/nochunks.xsl2
-rw-r--r--stylesheets/lfs-xsl/pdf.xsl2
-rw-r--r--stylesheets/lfs-xsl/profile.xsl4
6 files changed, 9 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 34b94eb62..f173b59a3 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ lfs: validate profile-html
fi;
$(Q)cp images/*.png $(BASEDIR)/images
$(Q)cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" *.html
+ $(Q)cd $(BASEDIR)/; sed -i -e "s@../images@images@g" *.html
@echo "Running Tidy and obfuscate.sh..."
$(Q)for filename in `find $(BASEDIR) -name "*.html"`; do \
@@ -75,10 +76,6 @@ nochunks: validate profile-html
$(BASEDIR)/$(NOCHUNKS_OUTPUT)
$(Q)$(MAKE) wget-list
-epub: validate
- @echo "Generating ePub..."
- $(Q)xsltproc --nonet stylesheets/lfs-xsl/epub.xsl $(RENDERTMP)/lfs-full.xml
-
tmpdir:
@echo "Creating and cleaning $(RENDERTMP)"
$(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
diff --git a/stylesheets/lfs-xsl/chunk-master.xsl b/stylesheets/lfs-xsl/chunk-master.xsl
index 4733a3d3c..893747712 100644
--- a/stylesheets/lfs-xsl/chunk-master.xsl
+++ b/stylesheets/lfs-xsl/chunk-master.xsl
@@ -18,10 +18,10 @@ $Date$
<xsl:import href="chunk-slave.xsl"/>
<!-- Upstream chunk code named templates -->
- <xsl:import href="docbook-xsl-1.77.1/xhtml/chunk-common.xsl"/>
+ <xsl:import href="docbook-xsl-snapshot/xhtml/chunk-common.xsl"/>
<!-- Upstream chunk code match templates -->
- <xsl:include href="docbook-xsl-1.77.1/xhtml/chunk-code.xsl"/>
+ <xsl:include href="docbook-xsl-snapshot/xhtml/chunk-code.xsl"/>
<!-- Including our customized chunks templates -->
<xsl:include href="xhtml/lfs-index.xsl"/>
diff --git a/stylesheets/lfs-xsl/chunk-slave.xsl b/stylesheets/lfs-xsl/chunk-slave.xsl
index c5a8045a8..a677e67fb 100644
--- a/stylesheets/lfs-xsl/chunk-slave.xsl
+++ b/stylesheets/lfs-xsl/chunk-slave.xsl
@@ -13,7 +13,7 @@ $Date$
Sets global params and include customized elements templates. -->
<!-- Upstream XHTML presentation templates -->
- <xsl:import href="docbook-xsl-1.77.1/xhtml/docbook.xsl"/>
+ <xsl:import href="docbook-xsl-snapshot/xhtml/docbook.xsl"/>
<!-- Use ISO-8859-1 for output instead of default UTF-8 -->
<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
@@ -31,7 +31,7 @@ $Date$
The path from top-level HTML files (index.html, partX.html, etc) MUST be
fixed via a sed in the Makefile-->
<!-- Master CSS Stylesheet -->
- <xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/>
+ <xsl:param name="html.stylesheet" select="'../stylesheets/lfs.css'"/>
<!-- Print CSS Stylesheet -->
<!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
<xsl:template name='user.head.content'>
diff --git a/stylesheets/lfs-xsl/nochunks.xsl b/stylesheets/lfs-xsl/nochunks.xsl
index 3652e5594..7f5cbcb8a 100644
--- a/stylesheets/lfs-xsl/nochunks.xsl
+++ b/stylesheets/lfs-xsl/nochunks.xsl
@@ -13,7 +13,7 @@ $Date$
Replaces {docbook-xsl}/xhtml/profile-docbook.xsl -->
<!-- Upstream XHTML templates -->
- <xsl:import href="docbook-xsl-1.77.1/xhtml/docbook.xsl"/>
+ <xsl:import href="docbook-xsl-snapshot/xhtml/docbook.xsl"/>
<!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
<xsl:output method="html" encoding="ISO-8859-1" indent="no" />
diff --git a/stylesheets/lfs-xsl/pdf.xsl b/stylesheets/lfs-xsl/pdf.xsl
index 126655f9d..a1c9f1991 100644
--- a/stylesheets/lfs-xsl/pdf.xsl
+++ b/stylesheets/lfs-xsl/pdf.xsl
@@ -14,7 +14,7 @@ $Date$
<!-- Upstream FO templates. Profiled version is not supported by
xsltproc, thus pofiling must be done in two steps (see Makefile) -->
- <xsl:import href="docbook-xsl-1.77.1/fo/docbook.xsl"/>
+ <xsl:import href="docbook-xsl-snapshot/fo/docbook.xsl"/>
<!-- Uncomment the next for debugging the raw FO code.
Note that FOP will complaints about a lot of paragraph overflows
diff --git a/stylesheets/lfs-xsl/profile.xsl b/stylesheets/lfs-xsl/profile.xsl
index 8ed029227..1ea247c70 100644
--- a/stylesheets/lfs-xsl/profile.xsl
+++ b/stylesheets/lfs-xsl/profile.xsl
@@ -12,11 +12,11 @@ $Date$
Replaces {docbook-xsl}/profiling/profile.xsl -->
<!-- Include common profiling stylesheet -->
- <xsl:import href="docbook-xsl-1.77.1/profiling/profile-mode.xsl"/>
+ <xsl:import href="docbook-xsl-snapshot/profiling/profile-mode.xsl"/>
<!-- This file must be included, because profile-mode is using
templates from it -->
- <xsl:import href="docbook-xsl-1.77.1/common/stripns.xsl"/>
+ <xsl:import href="docbook-xsl-snapshot/common/stripns.xsl"/>
<!-- In the two pass processing there is no need for base URI fixup -->
<xsl:param name="profile.baseuri.fixup" select="false()"/>