summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-20 14:54:32 +0000
committerKarl Berry <karl@freefriends.org>2011-08-20 14:54:32 +0000
commitfd5003bc0c73a154ca4fc2b76847cbda78a2148e (patch)
tree4b8ea489ab8155f921c3df17a059e384357c425e /Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx
parentb413025d048f633cd317a6ebeb85a0c212e974c1 (diff)
biblatex-chem (18aug11)
git-svn-id: svn://tug.org/texlive/trunk@23617 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx25
1 files changed, 22 insertions, 3 deletions
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{