summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-chem
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
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')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.bbx25
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.bbx31
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx20
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.cbx2
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx18
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.cbx2
8 files changed, 87 insertions, 15 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{
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.cbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.cbx
index 87a84fe398c..09b9c79f84b 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-acs.cbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-acs.cbx}[2011/08/16 v1.1a biblatex citation style]
+\ProvidesFile{chem-acs.cbx}[2011/08/17 v1.1c biblatex citation style]
\RequireCitationStyle{numeric-comp}
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.bbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.bbx
index b3c9920bbce..f64ce14c29a 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.bbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-angew.bbx}[2011/08/16 v1.1a biblatex bibliography style]
+\ProvidesFile{chem-angew.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}{parens}
+ {\DeclareFieldFormat{labelnumberwidth}{\mkbibparens{##1}}}%
+ {%
+ \ifstrequal{#1}{dot}
+ {\DeclareFieldFormat{labelnumberwidth}{##1\adddot\midsentence}}
+ {\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{##1}}}%
+ }%
+ }%
+}
+
% Alter settings that carry through from biblatex
\ExecuteBibliographyOptions
{
- doi = false ,
+ doi = false ,
+ eprint = false ,
firstinits = true ,
+ isbn = false ,
maxnames = 999 ,
maxcitenames = 2 ,
pageranges = true ,
@@ -54,12 +70,13 @@
{\nolinkurl{#1}}%
}
\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}\isdot}
+\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}}
\DeclareFieldFormat[article]{pages}{%
\iftoggle{bbx:pageranges}{#1}{\mkfirstpage{#1}}%
}
\DeclareFieldFormat{removecomma}{\mkbibnocomma{#1}}
-\DeclareFieldFormat
- [booklet, inbook, incollection, manual, online, proceedings, report]{title}{#1}
+\DeclareFieldFormat[booklet, manual, online, proceedings, report, misc]
+ {title}{#1}
\DeclareFieldFormat[patent]{type}{%
\ifbibstring{#1}
{\mkbibemph{\bibstring{#1}}}
@@ -109,7 +126,11 @@
{\printtext[parens]{\printnames{holder}}}%
}
-\renewbibmacro*{date}{\printtext[date]{\printdate}}
+\renewbibmacro*{date}{%
+ \iffieldundef{year}
+ {}
+ {\printtext[date]{\printdate}}%
+}
\renewbibmacro*{event+venue+date}{%
\printfield{eventtitle}%
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.cbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.cbx
index bf9afe18cb2..b192115fee0 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-angew.cbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-angew.cbx}[2011/08/16 v1.1a biblatex citation style]
+\ProvidesFile{chem-angew.cbx}[2011/08/17 v1.1c biblatex citation style]
\RequireCitationStyle{numeric-comp}
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx
index 37237edfc58..da35e20f2a1 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.bbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-biochem.bbx}[2011/08/16 v1.1a biblatex bibliography style]
+\ProvidesFile{chem-biochem.bbx}[2011/08/17 v1.1c biblatex bibliography style]
% Load the standard style to avoid copy-pasting unnecessary material
\RequireBibliographyStyle{numeric-comp}
@@ -27,12 +27,28 @@
\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
{
articletitle = true ,
- doi = false ,
+ doi = false ,
+ eprint = false ,
firstinits = true ,
+ isbn = false ,
maxnames = 15 ,
maxcitenames = 2 ,
pageranges = true ,
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.cbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.cbx
index d543fcec4cb..b777b21dc09 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-biochem.cbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-biochem.cbx}[2011/08/16 v1.1a biblatex citation style]
+\ProvidesFile{chem-biochem.cbx}[2011/08/17 v1.1c biblatex citation style]
\RequireCitationStyle{numeric-comp}
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx
index 6289515731f..c423eca062b 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.bbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-rsc.bbx}[2011/08/16 v1.1a biblatex bibliography style]
+\ProvidesFile{chem-rsc.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 = 999 ,
maxcitenames = 2 ,
pageranges = true ,
diff --git a/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.cbx b/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.cbx
index 3686da2fdb6..d17bd9043f4 100644
--- a/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-chem/chem-rsc.cbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{chem-rsc.cbx}[2011/08/16 v1.1a biblatex citation style]
+\ProvidesFile{chem-rsc.cbx}[2011/08/17 v1.1c biblatex citation style]
\RequireCitationStyle{numeric-comp}