From fd5003bc0c73a154ca4fc2b76847cbda78a2148e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 20 Aug 2011 14:54:32 +0000 Subject: biblatex-chem (18aug11) git-svn-id: svn://tug.org/texlive/trunk@23617 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/biblatex-chem/chem-acs.bbx | 25 +++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx') diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx index 1145334a89f..7f92b33d7cb 100644 --- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx @@ -8,7 +8,7 @@ %% --------------------------------------------------------------- %% -\ProvidesFile{chem-acs.bbx}[2011/08/16 v1.1a biblatex bibliography style] +\ProvidesFile{chem-acs.bbx}[2011/08/17 v1.1c biblatex bibliography style] % Load the standard style to avoid copy-pasting unnecessary material \RequireBibliographyStyle{numeric-comp} @@ -27,11 +27,27 @@ \settoggle{bbx:pageranges}{#1}% } +\DeclareBibliographyOption{biblabel}{% + \ifstrequal{#1}{plain} + {\DeclareFieldFormat{labelnumberwidth}{##1}} + {% + \ifstrequal{#1}{brackets} + {\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{##1}}}% + {% + \ifstrequal{#1}{dot} + {\DeclareFieldFormat{labelnumberwidth}{##1\adddot\midsentence}} + {\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{##1}}}% + }% + }% +} + % Alter settings that carry through from biblatex \ExecuteBibliographyOptions { doi = false , + eprint = false , firstinits = true , + isbn = false , maxnames = 15 , maxcitenames = 2 , pageranges = true , @@ -98,8 +114,11 @@ }% } -\renewbibmacro*{date}{\printtext[date]{\printdate}} - +\renewbibmacro*{date}{% + \iffieldundef{year} + {} + {\printtext[date]{\printdate}}% +} \renewbibmacro*{event+venue+date}{% \printfield{eventtitle}% \ifboolexpr{ -- cgit v1.2.3