source: pst/typesetting/biber.xml@ 0b87037d

10.1 11.0 11.1 11.2 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 0b87037d was 0b87037d, checked in by Ken Moffat <ken@…>, 2 years ago

Update to biber-2.15 with biblatex-3.15a.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23711 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!--
8 When a proper url is not evident, github will download with
9 https://github.com/ <path> /archive/<version>/<name>-<version>.tar.<compression>
10
11 <!ENTITY biber-download-http "https://github.com/plk/biber/archive/v&biber-version;.tar.gz">
12-->
13 <!ENTITY biber-download-http "https://github.com/plk/biber/archive/v&biber-version;/biber-&biber-version;.tar.gz">
14 <!ENTITY biber-download-ftp " ">
15 <!ENTITY biber-md5sum "3c964253bcab6c0af9acd3d2b3f501c2">
16 <!ENTITY biber-size "1.6 MB">
17 <!-- Buildsize includes the installed biblatex, except that what matters is
18 the difference from the files shipped by texlive, so usually the addition is
19 minimal. Copy full texmf to somewhere for working, measure with du -shm,
20 then install biblatex over the top of it and remeasure.
21 For 3.15a, texmf grows by 2MB -->
22 <!ENTITY biber-buildsize "18 MB">
23 <!ENTITY biber-time "0.4 SBU including tests">
24
25 <!-- Check path. Directory might not be &biblatex-version; if a suffixed update -->
26 <!-- for normal unsuffixed version:
27 <!ENTITY biblatex-download-http "http://sourceforge.net/projects/biblatex/files/biblatex-&biblatex-version;/biblatex-&biblatex-version;.tds.tgz"> -->
28 <!ENTITY biblatex-download-http "http://sourceforge.net/projects/biblatex/files/biblatex-3.15/biblatex-&biblatex-version;.tds.tgz">
29 <!ENTITY biblatex-download-ftp "">
30 <!ENTITY biblatex-md5sum "f27db2896d485c2c138fcc42e03a2f1c">
31 <!ENTITY biblatex-size "20 MB">
32
33]>
34
35<sect1 id="biber" xreflabel="biber-&biber-version;">
36 <?dbhtml filename="biber.html"?>
37
38 <sect1info>
39 <othername>$LastChangedBy$</othername>
40 <date>$Date$</date>
41 </sect1info>
42
43 <title>biber-&biber-version;</title>
44
45 <indexterm zone="biber">
46 <primary sortas="a-biber">Biber</primary>
47 </indexterm>
48
49 <sect2 role="package">
50 <title>Introduction to biber</title>
51
52 <para>
53 Biber is a BibTeX replacement for users of biblatex, written in
54 <application>Perl</application>, with full Unicode support.
55 </para>
56
57 &lfs10_checked;
58
59 <!-- note for editors: you can test this by using the latest version
60 of the latex-test tarball from
61 http://www.linuxfromscratch.org/~ken/tex-testfiles/
62 using ./configure (to create the Makefile) and then making the
63 following targets:
64 biblatex-unibiber and biblatex-biber (these just use pdflatex
65 and biber, biblatex-unibiber is more important, it uses UTF-8)
66 bibxelatex (uses xelatex and biber, needs TTF or OTF fonts and
67 in particular coverage of simplified Chinese and Japanese, and
68 optionally Korean - installed fonts for CJK can be specified to
69 configure if they are not found)
70 remote1 and remote2 (pdflatex and biber, for use with manually
71 installed perl modules, i.e. without Mozilla::CA, to prove that
72 remote references work).
73 In all cases the output PDF should include references at the
74 end, the Makefile does not check that for the remote tests. -->
75
76 <bridgehead renderas="sect3">Package Information</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Download (HTTP): <ulink url="&biber-download-http;"/>
81 </para>
82 </listitem>
83 <listitem>
84 <para>
85 Download (FTP): <ulink url="&biber-download-ftp;"/>
86 </para>
87 </listitem>
88 <listitem>
89 <para>
90 Download MD5 sum: &biber-md5sum;
91 </para>
92 </listitem>
93 <listitem>
94 <para>
95 Download size: &biber-size;
96 </para>
97 </listitem>
98 <listitem>
99 <para>
100 Estimated disk space required: &biber-buildsize;
101 </para>
102 </listitem>
103 <listitem>
104 <para>
105 Estimated build time: &biber-time;
106 </para>
107 </listitem>
108 </itemizedlist>
109
110 <note>
111<!--
112 <para>
113 The <application>biber</application> source tarball shown above
114 downloads with the correct name, biber-&biber-version;.tar.gz,
115 if using a browser such as Firefox. If you prefer to use a command line
116 program such as wget, you normally would obtain
117 v&biber-version;.tar.gz. To obtain this package with the proper
118 filename, run:
119
120<screen><userinput>wget -c &biber-download-http; \
121 -O biber-&biber-version;.tar.gz</userinput></screen>.
122 </para>
123-->
124 <para>
125 If you have updated to a new release of texlive-source, biber and its
126 perl dependencies are still present in <filename
127 class="directory">/usr</filename> and do not need to be rebuilt.
128 However, biblatex installs in <filename
129 class="directory">/opt/texlive/&texlive-year;</filename> and does
130 need to be reinstalled.
131 </para>
132
133 <para>
134 If you installed the above dependencies using the BLFS instructions
135 for each of them, <command>perl ./Build.PL</command> will complain
136 that Mozilla::CA is not installed, but that is not needed unless
137 CPAN was used to install the modules. BLFS patches LWP::Protocol::https
138 to use the system certificates, Mozilla::CA uses old certificates.
139 </para>
140
141<!-- <para> ##commented as a reminder that sooner or later it will need a
142 newer version than our current or last but one release ##
143 This version of biber requires <application>perl-5.30</application>
144 or later. If you are still using the 8.4 version of BLFS you may
145 wish to build the 2.13 version: see the 8.4 book noting that
146 biblatex-3.13 has been replaced by biblatex-3.13a upstream.
147 </para>-->
148 </note>
149
150 <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
151
152 <itemizedlist spacing="compact">
153 <listitem>
154 <para>
155 The corresponding version of <application>biblatex</application> is
156 a separate project - the tds tarball is pre-packaged for untarring
157 into the <filename class="directory">texmf-dist</filename>
158 directory. Download (HTTP): <ulink url="&biblatex-download-http;"/>
159 </para>
160 </listitem>
161 <listitem>
162 <para>
163 Download MD5 sum: &biblatex-md5sum;
164 </para>
165 </listitem>
166 <listitem>
167 <para>
168 Download size: &biblatex-size;
169 </para>
170 </listitem>
171 </itemizedlist>
172
173 <bridgehead renderas="sect3">Biber Dependencies</bridgehead>
174
175 <bridgehead renderas="sect4">Required</bridgehead>
176 <para role="required">
177 <!-- KFM: the order listed in Build.PL is not alphabetical -->
178 <xref linkend="perl-autovivification"/>
179 <xref linkend="perl-business-isbn"/>
180 <xref linkend="perl-business-ismn"/>
181 <xref linkend="perl-business-issn"/>
182 <xref linkend="perl-class-accessor"/>
183 <xref linkend="perl-data-compare"/>
184 <xref linkend="perl-data-dump"/>
185 <xref linkend="perl-data-uniqid"/>
186 <xref linkend="perl-datetime-calendar-julian"/>
187 <xref linkend="perl-datetime-format-builder"/>
188 <xref linkend="perl-encode-eucjpascii"/>
189 <xref linkend="perl-encode-hanextra"/>
190 <xref linkend="perl-encode-jis2k"/>
191 <xref linkend="perl-file-slurper"/>
192 <xref linkend="perl-io-string"/>
193 <!-- IPC::Cmd is a part of core perl -->
194 <xref linkend="perl-ipc-run3"/>
195 <xref linkend="perl-lingua-translit"/>
196 <xref linkend="perl-list-allutils"/>
197 <xref linkend="perl-list-moreutils"/>
198 <!-- perl-list-moreutils-xs is a dep of perl-list-moreutils -->
199 <xref linkend="perl-log-log4perl"/>
200 <xref linkend="perl-lwp-protocol-https"/>
201 <!-- LWP::Simple is part of perl-libwww-perl,
202 that is pulled in by perl-lwp-protocol-https
203 and that pulls in perl-uri -->
204 <xref linkend="perl-module-build"/>
205 <xref linkend="perl-parse-recdescent"/>
206 <xref linkend="perl-perlio-utf8_strict"/>
207 <!-- Mozilla::CA should not be needed when using system certificates -->
208 <xref linkend="perl-regexp-common"/>
209 <xref linkend="perl-sort-key"/>
210 <xref linkend="perl-text-bibtex"/>
211 <xref linkend="perl-text-csv"/>
212 <!-- perl-text-csv_xs is a recommended dependency for perl-text-csv -->
213 <xref linkend="perl-text-roman"/>
214 <!-- Unicode-Collate usually needs to be latest when biber is released,
215 core perl is usually older. To read the core version, look at
216 /usr/lib/perl5/5.xx.y/x86_64-linux-thread-multi/Unicode/Collate.pm -->
217 <xref linkend="perl-unicode-collate"/>
218 <!-- Unicode::GCstring is part of Unicode::LineBreak -->
219 <xref linkend="perl-unicode-linebreak"/>
220 <!-- Unicode::Normalize is part of core perl, found in
221 /usr/lib/perl5/5.xx.y/x86_64-linux-thread-multi/Unicode/Normalize.pm -->
222 <!-- perl-xml-libxml is a dependency of perl-xml-libxml-simple -->
223 <xref linkend="perl-xml-libxml-simple"/>
224 <xref linkend="perl-xml-libxslt"/>
225 <xref linkend="perl-xml-writer"/> and
226 <!-- untarring biblatex requires that the texmf directories already exist -->
227 <xref linkend="texlive"/>
228 (or <xref linkend="tl-installer"/>, but for that you can use
229 <command>tlmgr update</command>)
230 </para>
231
232 <bridgehead renderas="sect4">Recommended (required for the testsuite)</bridgehead>
233 <para role="recommended">
234 <xref linkend="perl-file-which"/> and
235 <xref linkend="perl-test-differences"/>
236 </para>
237
238 <note>
239 <para>
240 It is possible to install all missing dependencies automatically. You
241 must first install <xref linkend="perl-module-build"/> using <xref
242 linkend="perl-auto-install"/>. Then run <command>perl
243 ./Build.PL</command> and when it prompts you, become the root user
244 and run <command>./Build installdeps</command> - this will use CPAN
245 and as noted above it will use Mozilla::CA instead of using system
246 certificates.
247 </para>
248 </note>
249
250 <para condition="html" role="usernotes">User Notes:
251 <ulink url='&blfs-wiki;/biber'/></para>
252
253 </sect2>
254
255 <sect2 role="installation">
256 <title>Installation of Biber</title>
257
258 <para>
259 Install <application>Biber</application> by running the following
260 commands:
261 </para>
262
263<screen><userinput>perl ./Build.PL &amp;&amp;
264./Build</userinput></screen>
265
266 <para>
267 To test the results, enter: <command>./Build test</command>
268 </para>
269
270 <para>
271 Now, as the <systemitem class="username">root</systemitem> user:
272 </para>
273
274<screen role="root"><userinput>tar -xf ../biblatex-&biblatex-version;.tds.tgz -C /opt/texlive/&texlive-year;/texmf-dist &amp;&amp;
275texhash &amp;&amp;
276./Build install</userinput></screen>
277
278 </sect2>
279
280 <sect2 role="commands">
281 <title>Command Explanations</title>
282
283 <para>
284 <command>tar -xf biblatex-&biblatex-version;.tds.tar.gz -C
285 /opt/texlive/&texlive-year;/texmf-dist</command>:
286 this installs the new <application>biblatex</application> files over those
287 installed by <application>texlive</application>.
288 </para>
289
290 <para>
291 <command>texhash</command> : this updates the file hash tables (otherwise
292 known as the file name database).
293 </para>
294
295 </sect2>
296
297 <sect2 role="content">
298 <title>Contents</title>
299
300 <segmentedlist>
301 <segtitle>Installed Programs</segtitle>
302 <segtitle>Installed Library</segtitle>
303 <segtitle>Installed Directory</segtitle>
304
305 <seglistitem>
306 <seg>biber</seg>
307 <seg>None</seg>
308 <seg>/usr/lib/perl5/site_perl/5.*{,/&lt;arch&gt;-linux/auto}/Biber</seg>
309 </seglistitem>
310 </segmentedlist>
311
312 <variablelist>
313 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
314 <?dbfo list-presentation="list"?>
315 <?dbhtml list-presentation="table"?>
316
317 <varlistentry id="biber-prog">
318 <term><command>biber</command></term>
319 <listitem>
320 <para>
321 is used for producing bibliographies in LaTeX documents.
322 </para>
323 <indexterm zone="biber biber-prog">
324 <primary sortas="b-biber">biber</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 </variablelist>
330
331 </sect2>
332
333</sect1>
Note: See TracBrowser for help on using the repository browser.