source: pst/typesetting/biber.xml@ 8b1ee56

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8b1ee56 was 8b1ee56, checked in by Ken Moffat <ken@…>, 3 years ago

tags

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

  • Property mode set to 100644
File size: 12.7 KB
RevLine 
[a9ee0599]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
[140475a]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
[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 " ">
[6a1a657]15 <!ENTITY biber-md5sum "fafae81d8ae67314692e2b646024fa98">
[9b51413]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,
[0b87037d]20 then install biblatex over the top of it and remeasure.
[6a1a657]21 For 3.16, texmf grows by 3MB -->
22 <!ENTITY biber-buildsize "18 MB"> <!-- 14+1.6 rounds to 15M, add 3M for biblatex in texmf-->
23 <!ENTITY biber-time "0.5 SBU including tests">
[9385c0fe]24
[1740585]25 <!-- Check path. Directory might not be &biblatex-version; if a suffixed update -->
[6a1a657]26 <!-- for normal unsuffixed version: e.g. for 3.15a
27 <!ENTITY biblatex-download-http "http://sourceforge.net/projects/biblatex/files/biblatex-3.15/biblatex-&biblatex-version;.tds.tgz"> -->
28 <!ENTITY biblatex-download-http "http://sourceforge.net/projects/biblatex/files/biblatex-&biblatex-version;/biblatex-&biblatex-version;.tds.tgz">
[c5a4b23]29 <!ENTITY biblatex-download-ftp "">
[6a1a657]30 <!ENTITY biblatex-md5sum "30342c8ef5309e838968fcb06a314a36">
[e819e4f]31 <!ENTITY biblatex-size "20 MB">
[c5a4b23]32
[a9ee0599]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
[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
[8b1ee56]57 &lfs101_checked;
[a9ee0599]58
[9b51413]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
[a9ee0599]76 <bridgehead renderas="sect3">Package Information</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
[fa3edfef]79 <para>
80 Download (HTTP): <ulink url="&biber-download-http;"/>
81 </para>
[a9ee0599]82 </listitem>
83 <listitem>
[fa3edfef]84 <para>
85 Download (FTP): <ulink url="&biber-download-ftp;"/>
86 </para>
[a9ee0599]87 </listitem>
88 <listitem>
[fa3edfef]89 <para>
90 Download MD5 sum: &biber-md5sum;
91 </para>
[a9ee0599]92 </listitem>
93 <listitem>
[fa3edfef]94 <para>
95 Download size: &biber-size;
96 </para>
[a9ee0599]97 </listitem>
98 <listitem>
[fa3edfef]99 <para>
100 Estimated disk space required: &biber-buildsize;
101 </para>
[a9ee0599]102 </listitem>
103 <listitem>
[fa3edfef]104 <para>
105 Estimated build time: &biber-time;
106 </para>
[a9ee0599]107 </listitem>
108 </itemizedlist>
109
[23d3b894]110 <note>
[140475a]111<!--
[23d3b894]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>.
[06fd9a2]122 </para>
[140475a]123-->
[06fd9a2]124 <para>
[fa3edfef]125 If you have updated to a new release of texlive-source, biber and its
[0b87037d]126 perl dependencies are still present in <filename
[fa3edfef]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.
[06fd9a2]131 </para>
[9b51413]132
133 <para>
[0b87037d]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 ##
[fa3edfef]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.
[0b87037d]147 </para>-->
[06fd9a2]148 </note>
[a0751bdc]149
[6a1a657]150 <bridgehead renderas="sect3">Required Additional Download</bridgehead>
[a0751bdc]151
152 <itemizedlist spacing="compact">
153 <listitem>
[fa3edfef]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>
[a0751bdc]160 </listitem>
161 <listitem>
[fa3edfef]162 <para>
163 Download MD5 sum: &biblatex-md5sum;
164 </para>
[a0751bdc]165 </listitem>
166 <listitem>
[fa3edfef]167 <para>
168 Download size: &biblatex-size;
169 </para>
[a0751bdc]170 </listitem>
[6a1a657]171 <!-- <listitem>
[a41bb164]172 <para>
173 Required patch:
174 <ulink url="&patch-root;/biber-&biber-version;-test_fixes-1.patch"/>
175 </para>
[6a1a657]176 </listitem>-->
[a0751bdc]177 </itemizedlist>
[c5a4b23]178
[a9ee0599]179 <bridgehead renderas="sect3">Biber Dependencies</bridgehead>
180
181 <bridgehead renderas="sect4">Required</bridgehead>
182 <para role="required">
[a206343]183 <!-- KFM: the order listed in Build.PL is not alphabetical -->
[4392a40]184 <xref linkend="perl-autovivification"/>
185 <xref linkend="perl-business-isbn"/>
186 <xref linkend="perl-business-ismn"/>
187 <xref linkend="perl-business-issn"/>
188 <xref linkend="perl-class-accessor"/>
189 <xref linkend="perl-data-compare"/>
190 <xref linkend="perl-data-dump"/>
191 <xref linkend="perl-data-uniqid"/>
192 <xref linkend="perl-datetime-calendar-julian"/>
193 <xref linkend="perl-datetime-format-builder"/>
194 <xref linkend="perl-encode-eucjpascii"/>
195 <xref linkend="perl-encode-hanextra"/>
196 <xref linkend="perl-encode-jis2k"/>
197 <xref linkend="perl-file-slurper"/>
[e819e4f]198 <xref linkend="perl-io-string"/>
[145cccdf]199 <!-- IPC::Cmd is a part of core perl -->
[4392a40]200 <xref linkend="perl-ipc-run3"/>
201 <xref linkend="perl-lingua-translit"/>
202 <xref linkend="perl-list-allutils"/>
203 <xref linkend="perl-list-moreutils"/>
[a206343]204 <!-- perl-list-moreutils-xs is a dep of perl-list-moreutils -->
[4392a40]205 <xref linkend="perl-log-log4perl"/>
206 <xref linkend="perl-lwp-protocol-https"/>
[a206343]207 <!-- LWP::Simple is part of perl-libwww-perl,
208 that is pulled in by perl-lwp-protocol-https
209 and that pulls in perl-uri -->
[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"/>
231 <xref linkend="perl-xml-writer"/> and
[9385c0fe]232 <!-- untarring biblatex requires that the texmf directories already exist -->
[c5a4b23]233 <xref linkend="texlive"/>
[a206343]234 (or <xref linkend="tl-installer"/>, but for that you can use
[fa3edfef]235 <command>tlmgr update</command>)
[a9ee0599]236 </para>
237
[5dda4e2]238 <bridgehead renderas="sect4">Recommended (required for the testsuite)</bridgehead>
239 <para role="recommended">
[4392a40]240 <xref linkend="perl-file-which"/> and
[5dda4e2]241 <xref linkend="perl-test-differences"/>
[a9ee0599]242 </para>
243
244 <note>
245 <para>
[d3930a7]246 It is possible to install all missing dependencies automatically. You
247 must first install <xref linkend="perl-module-build"/> using <xref
[fa3edfef]248 linkend="perl-auto-install"/>. Then run <command>perl
249 ./Build.PL</command> and when it prompts you, become the root user
[0b87037d]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.
[a9ee0599]253 </para>
[35b6a2e]254 </note>
255
[a9ee0599]256 <para condition="html" role="usernotes">User Notes:
[3e90bfe]257 <ulink url='&blfs-wiki;/biber'/></para>
[a9ee0599]258
259 </sect2>
260
261 <sect2 role="installation">
262 <title>Installation of Biber</title>
263
[fa3edfef]264 <para>
265 Install <application>Biber</application> by running the following
266 commands:
267 </para>
[a9ee0599]268
[6a1a657]269<!--<para>
[a41bb164]270 First apply a patch so that the testsuite will pass with
271 the changes to hash formats in Unicode::Collates-1.29:
272 </para>
273
[6a1a657]274<screen><userinput remap="pre">patch -p1 -i ../biber-&biber-version;-test_fixes-1.patch</userinput></screen>-->
[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>
[a9ee0599]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;
289./Build install</userinput></screen>
290
291 </sect2>
292
293 <sect2 role="commands">
294 <title>Command Explanations</title>
[10e632f]295
[c5a4b23]296 <para>
[0c54cea]297 <command>tar -xf biblatex-&biblatex-version;.tds.tar.gz -C
298 /opt/texlive/&texlive-year;/texmf-dist</command>:
[9385c0fe]299 this installs the new <application>biblatex</application> files over those
300 installed by <application>texlive</application>.
[c5a4b23]301 </para>
302
303 <para>
[0c54cea]304 <command>texhash</command> : this updates the file hash tables (otherwise
[c5a4b23]305 known as the file name database).
306 </para>
[a9ee0599]307
308 </sect2>
309
310 <sect2 role="content">
311 <title>Contents</title>
312
313 <segmentedlist>
314 <segtitle>Installed Programs</segtitle>
315 <segtitle>Installed Library</segtitle>
316 <segtitle>Installed Directory</segtitle>
317
318 <seglistitem>
319 <seg>biber</seg>
320 <seg>None</seg>
[a953d7d5]321 <seg>/usr/lib/perl5/site_perl/5.*{,/&lt;arch&gt;-linux/auto}/Biber</seg>
[a9ee0599]322 </seglistitem>
323 </segmentedlist>
324
325 <variablelist>
326 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
327 <?dbfo list-presentation="list"?>
328 <?dbhtml list-presentation="table"?>
329
330 <varlistentry id="biber-prog">
[3e90bfe]331 <term><command>biber</command></term>
[a9ee0599]332 <listitem>
[fa3edfef]333 <para>
[4c24eb0a]334 is used for producing bibliographies in LaTeX documents
[fa3edfef]335 </para>
[3e90bfe]336 <indexterm zone="biber biber-prog">
[a9ee0599]337 <primary sortas="b-biber">biber</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>
341
342 </variablelist>
343
344 </sect2>
345
346</sect1>
Note: See TracBrowser for help on using the repository browser.