Forráskód Böngészése

Revert erroneous stylesheet changes, applied by mistake.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9984 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 13 éve
szülő
commit
b398f4c4b9

+ 1 - 4
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)

+ 2 - 2
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"/>

+ 2 - 2
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'>

+ 1 - 1
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" />

+ 1 - 1
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

+ 2 - 2
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()"/>