mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Revert erroneous stylesheet changes, applied by mistake.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9984 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
1f595ea0ba
commit
b398f4c4b9
5
Makefile
5
Makefile
@ -29,6 +29,7 @@ lfs: validate profile-html
|
|||||||
fi;
|
fi;
|
||||||
$(Q)cp images/*.png $(BASEDIR)/images
|
$(Q)cp images/*.png $(BASEDIR)/images
|
||||||
$(Q)cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" *.html
|
$(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..."
|
@echo "Running Tidy and obfuscate.sh..."
|
||||||
$(Q)for filename in `find $(BASEDIR) -name "*.html"`; do \
|
$(Q)for filename in `find $(BASEDIR) -name "*.html"`; do \
|
||||||
@ -75,10 +76,6 @@ nochunks: validate profile-html
|
|||||||
$(BASEDIR)/$(NOCHUNKS_OUTPUT)
|
$(BASEDIR)/$(NOCHUNKS_OUTPUT)
|
||||||
$(Q)$(MAKE) wget-list
|
$(Q)$(MAKE) wget-list
|
||||||
|
|
||||||
epub: validate
|
|
||||||
@echo "Generating ePub..."
|
|
||||||
$(Q)xsltproc --nonet stylesheets/lfs-xsl/epub.xsl $(RENDERTMP)/lfs-full.xml
|
|
||||||
|
|
||||||
tmpdir:
|
tmpdir:
|
||||||
@echo "Creating and cleaning $(RENDERTMP)"
|
@echo "Creating and cleaning $(RENDERTMP)"
|
||||||
$(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
|
$(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
|
||||||
|
@ -18,10 +18,10 @@ $Date$
|
|||||||
<xsl:import href="chunk-slave.xsl"/>
|
<xsl:import href="chunk-slave.xsl"/>
|
||||||
|
|
||||||
<!-- Upstream chunk code named templates -->
|
<!-- 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 -->
|
<!-- 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 -->
|
<!-- Including our customized chunks templates -->
|
||||||
<xsl:include href="xhtml/lfs-index.xsl"/>
|
<xsl:include href="xhtml/lfs-index.xsl"/>
|
||||||
|
@ -13,7 +13,7 @@ $Date$
|
|||||||
Sets global params and include customized elements templates. -->
|
Sets global params and include customized elements templates. -->
|
||||||
|
|
||||||
<!-- Upstream XHTML presentation 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 -->
|
<!-- Use ISO-8859-1 for output instead of default UTF-8 -->
|
||||||
<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
|
<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
|
The path from top-level HTML files (index.html, partX.html, etc) MUST be
|
||||||
fixed via a sed in the Makefile-->
|
fixed via a sed in the Makefile-->
|
||||||
<!-- Master CSS Stylesheet -->
|
<!-- Master CSS Stylesheet -->
|
||||||
<xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/>
|
<xsl:param name="html.stylesheet" select="'../stylesheets/lfs.css'"/>
|
||||||
<!-- Print CSS Stylesheet -->
|
<!-- Print CSS Stylesheet -->
|
||||||
<!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
|
<!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
|
||||||
<xsl:template name='user.head.content'>
|
<xsl:template name='user.head.content'>
|
||||||
|
@ -13,7 +13,7 @@ $Date$
|
|||||||
Replaces {docbook-xsl}/xhtml/profile-docbook.xsl -->
|
Replaces {docbook-xsl}/xhtml/profile-docbook.xsl -->
|
||||||
|
|
||||||
<!-- Upstream XHTML templates -->
|
<!-- 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 -->
|
<!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
|
||||||
<xsl:output method="html" encoding="ISO-8859-1" indent="no" />
|
<xsl:output method="html" encoding="ISO-8859-1" indent="no" />
|
||||||
|
@ -14,7 +14,7 @@ $Date$
|
|||||||
|
|
||||||
<!-- Upstream FO templates. Profiled version is not supported by
|
<!-- Upstream FO templates. Profiled version is not supported by
|
||||||
xsltproc, thus pofiling must be done in two steps (see Makefile) -->
|
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.
|
<!-- Uncomment the next for debugging the raw FO code.
|
||||||
Note that FOP will complaints about a lot of paragraph overflows
|
Note that FOP will complaints about a lot of paragraph overflows
|
||||||
|
@ -12,11 +12,11 @@ $Date$
|
|||||||
Replaces {docbook-xsl}/profiling/profile.xsl -->
|
Replaces {docbook-xsl}/profiling/profile.xsl -->
|
||||||
|
|
||||||
<!-- Include common profiling stylesheet -->
|
<!-- 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
|
<!-- This file must be included, because profile-mode is using
|
||||||
templates from it -->
|
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 -->
|
<!-- In the two pass processing there is no need for base URI fixup -->
|
||||||
<xsl:param name="profile.baseuri.fixup" select="false()"/>
|
<xsl:param name="profile.baseuri.fixup" select="false()"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user