Ticket #3035: epub.patch

File epub.patch, 4.7 KB (added by Matthew Burgess, 12 years ago)
  • Makefile

    old new lfs: validate profile-html  
    2929        fi;
    3030        $(Q)cp images/*.png $(BASEDIR)/images
    3131        $(Q)cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" *.html
    32         $(Q)cd $(BASEDIR)/; sed -i -e "s@../images@images@g" *.html
    3332
    3433        @echo "Running Tidy and obfuscate.sh..."
    3534        $(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  
    1818  <xsl:import href="chunk-slave.xsl"/>
    1919
    2020    <!-- 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"/>
    2222
    2323    <!-- 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"/>
    2525
    2626    <!-- Including our customized chunks templates -->
    2727  <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  
    1313        Sets global params and include customized elements templates. -->
    1414
    1515    <!-- 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"/>
    1717
    1818    <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
    1919  <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
    $Date: 2007-07-05 22:18:33 +0100 (Thu, 0  
    3131    The path from top-level HTML files (index.html, partX.html, etc) MUST be
    3232    fixed via a sed in the Makefile-->
    3333    <!-- Master CSS Stylesheet -->
    34   <xsl:param name="html.stylesheet" select="'../stylesheets/lfs.css'"/>
     34  <xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/>
    3535    <!-- Print CSS Stylesheet -->
    3636    <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
    3737  <xsl:template name='user.head.content'>
  • stylesheets/lfs-xsl/nochunks.xsl

    old new $Date: 2007-07-10 20:06:15 +0100 (Tue, 1  
    1313        Replaces {docbook-xsl}/xhtml/profile-docbook.xsl -->
    1414
    1515    <!-- 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"/>
    1717
    1818    <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
    1919  <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  
    1414
    1515    <!-- Upstream FO templates. Profiled version is not supported by
    1616         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"/>
    1818
    1919    <!-- Uncomment the next for debugging the raw FO code.
    2020         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  
    1212       Replaces {docbook-xsl}/profiling/profile.xsl -->
    1313
    1414  <!-- 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"/>
    1616
    1717    <!-- This file must be included, because profile-mode is using
    1818         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"/>
    2020
    2121    <!-- In the two pass processing there is no need for base URI fixup -->
    2222  <xsl:param name="profile.baseuri.fixup" select="false()"/>