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/params/title.margin.left.xml | |
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/params/title.margin.left.xml')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/title.margin.left.xml | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/title.margin.left.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/title.margin.left.xml deleted file mode 100644 index dc50dd137..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/title.margin.left.xml +++ /dev/null @@ -1,65 +0,0 @@ -<refentry xmlns="http://docbook.org/ns/docbook" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:xi="http://www.w3.org/2001/XInclude" - xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="5.0" xml:id="title.margin.left"> -<refmeta> -<refentrytitle>title.margin.left</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo> -</refmeta> -<refnamediv> -<refname>title.margin.left</refname> -<refpurpose>Adjust the left margin for titles</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment xml:id="title.margin.left.frag"> -<xsl:param name="title.margin.left"> - <xsl:choose> - <xsl:when test="$fop.extensions != 0">-4pc</xsl:when> - <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when> - <xsl:otherwise>0pt</xsl:otherwise> - </xsl:choose> -</xsl:param> -</src:fragment> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>This parameter provides -the means of adjusting the left margin for titles -when the XSL-FO processor being used is -an old version of FOP (0.25 and earlier). -It is only useful when the <parameter>fop.extensions</parameter> -is nonzero.</para> - -<para>The left margin of the body region -is calculated to include this space, -and titles are outdented to the left outside -the body region by this amount, -effectively leaving titles at the intended left margin -and the body text indented. -Currently this method is only used for old FOP because -it cannot properly use the <parameter>body.start.indent</parameter> -parameter. -</para> -<para> -The default value when the <parameter>fop.extensions</parameter> -parameter is nonzero is -4pc, which means the -body text is indented 4 picas relative to -the titles. -The default value when the <parameter>fop.extensions</parameter> -parameter equals zero is 0pt, and -the body indent should instead be specified -using the <parameter>body.start.indent</parameter> -parameter. -</para> -<para> -If you set the value to zero, be sure to still include -a unit indicator such as <literal>0pt</literal>, or -the FO processor will report errors. -</para> - -</refsection> -</refentry> |