Debian Codegraph @

texmf-dist/doc/latex/logreq/examples/05-biblatex+biber.tex

raw
1 \documentclass{minimal}
2 \usepackage{logreq}
3
4 % biblatex example
5 % (this is a mockup of code which will be used in biblatex >= 0.9b)
6
7 % sample preamble:
8
9 % \usepackage[backend=biber]{biblatex}
10 % \bibliography{bibfile1,bibfile2,bibfile3}
11
12 % workflow:
13
14 % latex file (-> both requests active)
15 % biber file
16 % latex file (-> both requests inactive)
17
18 % The Biber (> 0.5.3) workflow will be straightforward even if
19 % there are refsection environments, but additional latex passes
20 % may be required to resolve labels:
21
22 % latex file (-> both requests active)
23 % bibtex file
24 % latex file (-> latex request active, biber request inactive)
25 % latex file (-> both requests inactive)
26
27 \logrequest[package=biblatex,priority=5,active=1]{
28 \generic{biber}
29 \cmdline{
30 \binary{biber}
31 \infile{\jobname}
32 }
33 \input{
34 \file{\jobname.bcf}
35 }
36 \output{
37 \file{\jobname.bbl}
38 }
39 \provides[type=dynamic]{
40 \file{\jobname.bbl}
41 }
42 \requires[type=dynamic]{
43 \file{\jobname.bcf}
44 }
45 \requires[type=editable]{
46 \let\do=\file
47 \docsvlist{bibfile1,bibfile2,bibfile3}
48 }
49 }
50
51 \ltxrequest{biblatex}{1}{
52 \provides[type=dynamic]{
53 \file{\jobname.bcf}
54 }
55 \requires[type=dynamic]{
56 \file{\jobname.bbl}
57 }
58 \requires[type=static]{
59 \let\do=\file
60 \docsvlist{biblatex.def,numeric.bbx,standard.bbx,numeric.cbx,
61 biblatex.cfg,american.lbx,english.lbx}
62 }
63 }
64
65 \begin{document}
66 \end{document}