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/generate.consistent.ids.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/generate.consistent.ids.xml')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.consistent.ids.xml | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.consistent.ids.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.consistent.ids.xml deleted file mode 100644 index 249cb8c46..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.consistent.ids.xml +++ /dev/null @@ -1,53 +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="generate.consistent.ids"> -<refmeta> -<refentrytitle>generate.consistent.ids</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.consistent.ids</refname> -<refpurpose>Generate consistent id values if document is unchanged</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment xml:id="generate.consistent.ids.frag"> -<xsl:param name="generate.consistent.ids" select="0"/> -</src:fragment> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>When the stylesheet assigns an id value to an output element, -the generate-id() function may be used. That function may not -produce consistent values between runs. Version control -systems may misidentify the changing id values as changes -to the document.</para> - -<para>If you set this parameter's value to 1, then the -template named <literal>object.id</literal> will replace -the use of the function generate-id() with -<literal><xsl:number level="multiple" count="*"/></literal>. -This counts preceding elements to generate a unique number for -the id value.</para> - -<caution> -<para>This param does not associate permanent unique id values -with particular elements. -The id values are consistent only as long as the document -structure does not change. -If the document structure changes, then the counting -of elements changes, and all id values after -the first such change may be different, even when there is -no change to the element itself or its output. -</para> -</caution> - -<para>The default value of this parameter is zero, so generate-id() is used -by default.</para> - -</refsection> -</refentry> |