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