diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-09 00:25:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-09 00:25:14 +0000 |
commit | 413763759a59c3a7b0cb538255d478ed95d0efe9 (patch) | |
tree | 21c5a92b16466881e9b086d6fc031df8fd67926f /Master/texmf-dist/tex/latex/biblatex/biblatex.sty | |
parent | 8df96d2bbfa496668439a51b245f01342fadbd8c (diff) |
biblatex 1.1a (8jan11)
git-svn-id: svn://tug.org/texlive/trunk@20983 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/biblatex.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex/biblatex.sty | 57 |
1 files changed, 47 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/biblatex.sty b/Master/texmf-dist/tex/latex/biblatex/biblatex.sty index 47318578479..94fe2dfdf73 100644 --- a/Master/texmf-dist/tex/latex/biblatex/biblatex.sty +++ b/Master/texmf-dist/tex/latex/biblatex/biblatex.sty @@ -1,4 +1,4 @@ -% $Id: biblatex.sty,v 1.1 2011/01/05 21:45:11 lehman stable $ +% $Id: biblatex.sty,v 1.1a 2011/01/08 13:30:00 lehman stable $ % Copyright (c) 2006-2011 Philipp Lehman. % @@ -21,7 +21,7 @@ \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{biblatex} -[\abx@rcsid $Id: biblatex.sty,v 1.1 2011/01/05 21:45:11 lehman stable $ +[\abx@rcsid $Id: biblatex.sty,v 1.1a 2011/01/08 13:30:00 lehman stable $ programmable bibliographies] \def\blx@bblversion$#1: #2 ${#2} @@ -4945,6 +4945,8 @@ % \blx@data@<section>@<entrykey> data hook % key -> data +% \blx@miss@<section> missing entries (blacklist) +% section -> keys [internal list] % \blx@sort@<section> all entries, sorted % section -> keys [internal list] % \blx@sbib@<section> all entries in bibliography, sorted @@ -5047,6 +5049,20 @@ \csnumgdef{blx@labelnumber@\the\c@refsection}{0}% \iftoggle{blx@reencode}{\blx@reencode}{}} +% {<entrykey>} + +\protected\def\blx@bbl@missing#1{% + \listcsxadd{blx@miss@\the\c@refsection}{\detokenize{#1}}% + \blx@warning@noline{% + The following entry could not be found\MessageBreak + in the database% + \ifnumgreater\c@refsection\z@ + { (refsection \the\c@refsection)} + {}:\MessageBreak + \detokenize{#1}\MessageBreak + Please verify the spelling and rerun\MessageBreak + LaTeX afterwards}} + % {<entrykey>}{<entrytype>}{<options>} \protected\def\blx@bbl@entry#1#2#3{% @@ -5292,6 +5308,7 @@ \let\endrefsection\blx@bbl@endrefsection \let\entry\blx@bbl@entry \let\endentry\blx@bbl@endentry + \let\missing\blx@bbl@missing \let\lossort\blx@bbl@lossort \let\endlossort\blx@bbl@endlossort \let\set\blx@bbl@set @@ -6356,7 +6373,8 @@ \fi \@ifnextchar[%] {\blx@refsection} - {\blx@refsection[\blx@bibfiles]}} + {\blx@refsection[]}} + \def\blx@refsection[#1]{% \global\advance\blx@maxsection\@ne @@ -6366,10 +6384,16 @@ \if@filesw \blx@auxwrite\@mainaux{}{% \string\abx@aux@refsection{\the\c@refsection}{\the\c@page}}% + \ifblank{#1} + {} + {\blx@xsanitizeafter{\def\blx@bibfiles}{#1% + \ifdef\blx@bibfiles@extra + {,\blx@bibfiles@extra} + {}}}% \ifnum\blx@backend=\blx@backend@biber - \blx@xsanitizeafter\blx@refsection@biber{#1}% + \blx@refsection@biber\blx@bibfiles \else - \blx@xsanitizeafter\blx@refsection@bibtex{#1}% + \blx@refsection@bibtex\blx@bibfiles \fi \fi \blx@info{Setting label 'refsection:\the\c@refsection'}% @@ -6508,10 +6532,13 @@ \AtEndDocument{\let\abx@aux@category\@gobbletwo} -% Database +% {<bibfile>,...} -\renewrobustcmd*{\bibliography}[1]{% - \blx@xsanitizeafter{\forcsvlist\blx@addbibfile}{#1}} +\renewrobustcmd*{\bibliography}{% + \@ifstar + {\blx@xsanitizeafter{\forcsvlist\blx@addbibfile}} + {\blx@xsanitizeafter{\forcsvlist\blx@extrabibfile}}} +\@onlypreamble\bibliography \def\blx@addbibfile#1{% \ifdefempty\blx@bibfiles @@ -6519,6 +6546,12 @@ {\gappto\blx@bibfiles{,#1}}% \blx@regbibfile{\jobname}{#1}} +\def\blx@extrabibfile#1{% + \blx@addbibfile{#1}% + \ifdef\blx@bibfiles@extra + {\gappto\blx@bibfiles@extra{,#1}} + {\gdef\blx@bibfiles@extra{#1}}} + \let\blx@bibfiles\@empty %% Citations @@ -6575,7 +6608,7 @@ {\blx@citation@set{#1}{#2}} {\ifcsdef{blx@setc@\the\c@refsection @#1} {\blx@citation@inset{#1}{#2}} - {}}} + {\blx@citation@entry{#1}{#2}}}} {\blx@citation@entry{#1}{#2}}% \ifcsdef{blx@refc@\the\c@refsection @#1}% BibTeX only {\blx@citation@xref{#1}} @@ -6589,7 +6622,11 @@ {\listcsgadd{blx@segm@\the\c@refsection @\the\c@refsegment}{#1}}% \blx@ifdata{#1} {} - {\blx@logreq@active{#2{#1}}}} + {\ifcsdef{blx@miss@\the\c@refsection} + {\ifinlistcs{#1}{blx@miss@\the\c@refsection} + {} + {\blx@logreq@active{#2{#1}}}} + {\blx@logreq@active{#2{#1}}}}} \def\blx@citation@set#1#2{% \blx@citation@entry{#1}{#2}% |