Ticket #3035: epub.patch
File epub.patch, 4.7 KB (added by , 13 years ago) |
---|
-
Makefile
old new lfs: validate profile-html 29 29 fi; 30 30 $(Q)cp images/*.png $(BASEDIR)/images 31 31 $(Q)cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" *.html 32 $(Q)cd $(BASEDIR)/; sed -i -e "s@../images@images@g" *.html33 32 34 33 @echo "Running Tidy and obfuscate.sh..." 35 34 $(Q)for filename in `find $(BASEDIR) -name "*.html"`; do \ -
stylesheets/lfs-xsl/chunk-master.xsl
tmpdir: @echo "Creating and cleaning $(RENDERTMP)" $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP)
old new $Date: 2007-07-05 22:18:33 +0100 (Thu, 0 18 18 <xsl:import href="chunk-slave.xsl"/> 19 19 20 20 <!-- Upstream chunk code named templates --> 21 <xsl:import href="docbook-xsl- snapshot/xhtml/chunk-common.xsl"/>21 <xsl:import href="docbook-xsl-1.76.1/xhtml/chunk-common.xsl"/> 22 22 23 23 <!-- Upstream chunk code match templates --> 24 <xsl:include href="docbook-xsl- snapshot/xhtml/chunk-code.xsl"/>24 <xsl:include href="docbook-xsl-1.76.1/xhtml/chunk-code.xsl"/> 25 25 26 26 <!-- Including our customized chunks templates --> 27 27 <xsl:include href="xhtml/lfs-index.xsl"/> -
stylesheets/lfs-xsl/chunk-slave.xsl
old new $Date: 2007-07-05 22:18:33 +0100 (Thu, 0 13 13 Sets global params and include customized elements templates. --> 14 14 15 15 <!-- Upstream XHTML presentation templates --> 16 <xsl:import href="docbook-xsl- snapshot/xhtml/docbook.xsl"/>16 <xsl:import href="docbook-xsl-1.76.1/xhtml/docbook.xsl"/> 17 17 18 18 <!-- Use ISO-8859-1 for output instead of default UTF-8 --> 19 19 <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/> … … $Date: 2007-07-05 22:18:33 +0100 (Thu, 0 31 31 The path from top-level HTML files (index.html, partX.html, etc) MUST be 32 32 fixed via a sed in the Makefile--> 33 33 <!-- Master CSS Stylesheet --> 34 <xsl:param name="html.stylesheet" select="' ../stylesheets/lfs.css'"/>34 <xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/> 35 35 <!-- Print CSS Stylesheet --> 36 36 <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl --> 37 37 <xsl:template name='user.head.content'> -
stylesheets/lfs-xsl/nochunks.xsl
old new $Date: 2007-07-10 20:06:15 +0100 (Tue, 1 13 13 Replaces {docbook-xsl}/xhtml/profile-docbook.xsl --> 14 14 15 15 <!-- Upstream XHTML templates --> 16 <xsl:import href="docbook-xsl- snapshot/xhtml/docbook.xsl"/>16 <xsl:import href="docbook-xsl-1.76.1/xhtml/docbook.xsl"/> 17 17 18 18 <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet --> 19 19 <xsl:output method="html" encoding="ISO-8859-1" indent="no" /> -
stylesheets/lfs-xsl/pdf.xsl
old new $Date: 2007-07-05 22:18:33 +0100 (Thu, 0 14 14 15 15 <!-- Upstream FO templates. Profiled version is not supported by 16 16 xsltproc, thus pofiling must be done in two steps (see Makefile) --> 17 <xsl:import href="docbook-xsl- snapshot/fo/docbook.xsl"/>17 <xsl:import href="docbook-xsl-1.76.1/fo/docbook.xsl"/> 18 18 19 19 <!-- Uncomment the next for debugging the raw FO code. 20 20 Note that FOP will complaints about a lot of paragraph overflows -
stylesheets/lfs-xsl/profile.xsl
old new $Date: 2007-07-05 22:18:33 +0100 (Thu, 0 12 12 Replaces {docbook-xsl}/profiling/profile.xsl --> 13 13 14 14 <!-- Include common profiling stylesheet --> 15 <xsl:import href="docbook-xsl- snapshot/profiling/profile-mode.xsl"/>15 <xsl:import href="docbook-xsl-1.76.1/profiling/profile-mode.xsl"/> 16 16 17 17 <!-- This file must be included, because profile-mode is using 18 18 templates from it --> 19 <xsl:import href="docbook-xsl- snapshot/common/stripns.xsl"/>19 <xsl:import href="docbook-xsl-1.76.1/common/stripns.xsl"/> 20 20 21 21 <!-- In the two pass processing there is no need for base URI fixup --> 22 22 <xsl:param name="profile.baseuri.fixup" select="false()"/>