source: pst/typesetting/biber.xml

trunk
Last change on this file was 50e04c0, checked in by Ken Moffat <zarniwhoop@…>, 3 weeks ago

Update to biber-2.20 with biblatex-3.20.

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