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/man.charmap.use.subset.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/man.charmap.use.subset.xml')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/man.charmap.use.subset.xml | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/man.charmap.use.subset.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/man.charmap.use.subset.xml deleted file mode 100644 index 4403704ff..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/man.charmap.use.subset.xml +++ /dev/null @@ -1,80 +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="man.charmap.use.subset"> -<refmeta> -<refentrytitle>man.charmap.use.subset</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>man.charmap.use.subset</refname> -<refpurpose>Use subset of character map instead of full map?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment xml:id="man.charmap.use.subset.frag"> -<xsl:param name="man.charmap.use.subset" select="1"/> -</src:fragment> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If the value of the -<parameter>man.charmap.use.subset</parameter> parameter is non-zero, -a subset of the roff character map is used instead of the full roff -character map. The profile of the subset used is determined either -by the value of the -<parameter>man.charmap.subset.profile</parameter> -parameter (if the source is not in English) or the -<parameter>man.charmap.subset.profile.english</parameter> -parameter (if the source is in English).</para> - -<note> - <para>You may want to experiment with setting a non-zero value of - <parameter>man.charmap.use.subset</parameter>, so that the full - character map is used. Depending on which XSLT engine you run, - setting a non-zero value for - <parameter>man.charmap.use.subset</parameter> may significantly - increase the time needed to process your documents. Or it may - not. For example, if you set it and run it with xsltproc, it seems - to dramatically increase processing time; on the other hand, if you - set it and run it with Saxon, it does not seem to increase - processing time nearly as much.</para> - - <para>If processing time is not a important concern and/or you can - tolerate the increase in processing time imposed by using the full - character map, set <parameter>man.charmap.use.subset</parameter> to - zero.</para> -</note> - -<refsection><info><title>Details</title></info> - -<para>For converting certain Unicode symbols and special characters in -UTF-8 or UTF-16 encoded XML source to appropriate groff/roff -equivalents in man-page output, the DocBook XSL Stylesheets -distribution includes a <link xlink:href="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl">roff character map</link> that is compliant with the <link xlink:href="http://www.w3.org/TR/xslt20/#character-maps">XSLT character -map</link> format as detailed in the XSLT 2.0 specification. The map -contains more than 800 character mappings and can be considered the -standard roff character map for the distribution.</para> - -<note> -<para>You can use the <parameter>man.charmap.uri</parameter> -parameter to specify a URI for the location for an alternate roff -character map to use in place of the standard roff character map -provided in the distribution.</para> -</note> - -<para>Because it is not terrifically efficient to use the standard -800-character character map in full -- and for most (or all) users, -never necessary to use it in full -- the DocBook XSL Stylesheets -support a mechanism for using, within any given character map, a -subset of character mappings instead of the full set. You can use the -<parameter>man.charmap.subset.profile</parameter> or -<parameter>man.charmap.subset.profile.english</parameter> -parameter to tune the profile of that subset to use.</para> - -</refsection> -</refsection> -</refentry> |