diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-03-13 09:20:45 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-03-13 09:20:45 +0000 |
commit | 2e524f93fc03353e6fb05333d8041505948959eb (patch) | |
tree | 0e2f8a60e47c994d49152b300f0d698a7eb29c4f /stylesheets/lfs-xsl/docbook-xsl-1.78.1/epub3/epub3-chunk-mods.xsl | |
parent | cc98817b6165e5307c1fc38328cdc2a1cc2de257 (diff) |
Since LFS started using docbook-1.78.1, there is a lot of unused data
in the stylesheet directory. Basically, a whole docbook-stylesheet is
there, while we need only fo and xhtml (+ some common dirs). Each time
we checkout the repo, we have to download this whole thing, which is by
far the biggest part of the repo (~33 M). By removing unused cruft,
this could be down to ~12 M.
Of course, it would be even better to remove completely the stylesheets
and use host ones (repo size down to 2M). but let's do this first, it is
easier :)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/epub3/epub3-chunk-mods.xsl')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-1.78.1/epub3/epub3-chunk-mods.xsl | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/epub3/epub3-chunk-mods.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/epub3/epub3-chunk-mods.xsl deleted file mode 100644 index 7aa690122..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/epub3/epub3-chunk-mods.xsl +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<xsl:stylesheet - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:exsl="http://exslt.org/common" - xmlns:epub="http://www.idpf.org/2007/ops" - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/" - xmlns:db="http://docbook.org/ns/docbook" - xmlns:opf="http://www.idpf.org/2007/opf" - xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory" - xmlns:str="http://exslt.org/strings" - xmlns:xtext="xalan://com.nwalsh.xalan.Text" - extension-element-prefixes="stext xtext" - exclude-result-prefixes="exsl dc ncx opf stext str xtext" - version="1.0"> - -<!-- $Id: epub3-chunk-mods.xsl,v 1.1 2011-09-16 21:43:45 bobs Exp $ --> - -<xsl:include href="../xhtml5/html5-chunk-mods.xsl"/> - -<!--==============================================================--> -<!-- DocBook XSL Parameter settings --> -<!--==============================================================--> - -<!--==============================================================--> -<!-- Template customizations --> -<!--==============================================================--> - -<!-- EPUB3: customize to generate package files --> -<xsl:template match="*" mode="process.root" priority="2"> - <xsl:call-template name="check.for.xalan"/> - <xsl:apply-templates select="."/> - <xsl:call-template name="generate.css.files"/> - - <xsl:call-template name="generate.epub.files"/> - -</xsl:template> - -<xsl:template name="check.for.xalan"> - <xsl:if test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> - <xsl:message terminate="yes"> - <xsl:text> </xsl:text> - <xsl:text>FATAL ERROR: </xsl:text> - <xsl:text>Xalan processor not supported by DocBook Epub3 stylesheets. </xsl:text> - <xsl:text>Xalan does not properly support XSL output method="text", </xsl:text> - <xsl:text>which is required for the various epub support files.</xsl:text> - </xsl:message> - </xsl:if> -</xsl:template> - -</xsl:stylesheet> |