| 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[latin9]{inputenc} |
| 10 |
% \usepackage[american]{babel} |
| 11 |
% \usepackage[style=authoryear,backend=bibtex8,mincrossrefs=1,bibencoding=inputenc]{biblatex} |
| 12 |
% \bibliography{bibfile1,bibfile2,bibfile3} |
| 13 |
|
| 14 |
% workflow: |
| 15 |
|
| 16 |
% latex file (-> both requests active) |
| 17 |
% bibtex file |
| 18 |
% latex file (-> both requests inactive) |
| 19 |
|
| 20 |
% additional bibtex passes may be required to resolve xrefs, |
| 21 |
% additional latex passes may be required to resolve labels; |
| 22 |
% i.e., the workflow may get as complex as this: |
| 23 |
|
| 24 |
% latex file (-> both requests active) |
| 25 |
% bibtex file |
| 26 |
% latex file (-> both requests active) |
| 27 |
% bibtex file |
| 28 |
% latex file (-> latex request active, bibtex request inactive) |
| 29 |
% latex file (-> both requests inactive) |
| 30 |
|
| 31 |
\logrequest[package=biblatex,priority=5,active=1]{ |
| 32 |
\generic{bibtex} |
| 33 |
\cmdline{ |
| 34 |
\binary{bibtex8} |
| 35 |
\option{--wolfgang} |
| 36 |
\option{--min_crossrefs 1} |
| 37 |
\option{--csfile latin9.csf} |
| 38 |
\infile{\jobname} |
| 39 |
} |
| 40 |
\input{ |
| 41 |
\file{\jobname.aux} |
| 42 |
} |
| 43 |
\output{ |
| 44 |
\file{\jobname.bbl} |
| 45 |
} |
| 46 |
\provides[type=dynamic]{ |
| 47 |
\file{\jobname.bbl} |
| 48 |
} |
| 49 |
\requires[type=dynamic]{ |
| 50 |
\file{\jobname.aux} |
| 51 |
\file{\jobname-blx.bib} |
| 52 |
} |
| 53 |
\requires[type=editable]{ |
| 54 |
\let\do=\file |
| 55 |
\docsvlist{bibfile1,bibfile2,bibfile3} |
| 56 |
} |
| 57 |
\requires[type=static]{ |
| 58 |
\file{biblatex.bst} |
| 59 |
\file{latin9.csf} |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
\ltxrequest{biblatex}{1}{ |
| 64 |
\provides[type=dynamic]{ |
| 65 |
\file{\jobname.aux} |
| 66 |
\file{\jobname-blx.bib} |
| 67 |
} |
| 68 |
\requires[type=dynamic]{ |
| 69 |
\file{\jobname.bbl} |
| 70 |
} |
| 71 |
\requires[type=static]{ |
| 72 |
\let\do=\file |
| 73 |
\docsvlist{biblatex.def,authoryear.bbx,standard.bbx,authoryear.cbx, |
| 74 |
biblatex.cfg,american.lbx,english.lbx} |
| 75 |
} |
| 76 |
} |
| 77 |
|
| 78 |
\begin{document} |
| 79 |
\end{document} |