summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-science/science.bbx22
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-science/science.cbx2
2 files changed, 15 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-science/science.bbx b/Master/texmf-dist/tex/latex/biblatex-science/science.bbx
index fb183f5e55c..a182dab7262 100644
--- a/Master/texmf-dist/tex/latex/biblatex-science/science.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-science/science.bbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{science.bbx}[2016/03/13 v1.1f biblatex bibliography style]
+\ProvidesFile{science.bbx}[2016/09/13 v1.1g biblatex bibliography style]
% Load the standard style to avoid copy-pasting unnecessary material
\RequireBibliographyStyle{numeric-comp}
@@ -25,6 +25,7 @@
giveninits ,
maxnames = 5 ,
maxcitenames = 2 ,
+ urldate = year ,
useprefix ,
}
@@ -79,6 +80,7 @@
\DeclareFieldFormat[article]{title}{#1\adddot\space\nopunct}
\DeclareFieldFormat[report]{title}{\mkbibquote{#1}}
\DeclareFieldFormat{url}{\url{#1}}
+\DeclareFieldFormat{urldate}{#1}
\DeclareFieldFormat[article,periodical]{volume}{\mkbibbold{#1}}
% Simple modifications to punctuation, etc.
@@ -198,6 +200,16 @@
}%
}
+\renewbibmacro*{url+urldate}{%
+ \iffieldundef{url}
+ {}
+ {%
+ \printtext[parens]{%
+ \usebibmacro{urldate}%
+ \setunit*{\addsemicolon\space}%
+ \usebibmacro{url}%
+ }}}
+
% New bibliography drivers, using the required order of fields. These
% are mainly copied from standard.bbx then modified.
\DeclareBibliographyDriver{article}{%
@@ -462,13 +474,7 @@
{\usebibmacro{eprint}}
{}%
\nopunct
- \printtext[parens]{%
- \iffieldundef{year}
- {\printfield{urlyear}}
- {\usebibmacro{date}}%
- \setunit*{\addsemicolon\space}%
- \printfield{url}%
- }%
+ \usebibmacro{url+urldate}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
diff --git a/Master/texmf-dist/tex/latex/biblatex-science/science.cbx b/Master/texmf-dist/tex/latex/biblatex-science/science.cbx
index 26896e38df8..ea5f0d4f50f 100644
--- a/Master/texmf-dist/tex/latex/biblatex-science/science.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-science/science.cbx
@@ -8,7 +8,7 @@
%% ---------------------------------------------------------------
%%
-\ProvidesFile{science.cbx}[2016/03/13 v1.1f biblatex citation style]
+\ProvidesFile{science.cbx}[2016/09/13 v1.1g biblatex citation style]
\RequireCitationStyle{numeric-comp}