source: pst/typesetting/biber.xml@ 4a37aa1

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since 4a37aa1 was ab4fdfc, checked in by Pierre Labastie <pierre.labastie@…>, 4 months ago

Change all xml decl to encoding=utf-8

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