summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex/bibtex/bst/biblatex.bst
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex/bibtex/bst/biblatex.bst')
-rw-r--r--macros/latex/contrib/biblatex/bibtex/bst/biblatex.bst12
1 files changed, 8 insertions, 4 deletions
diff --git a/macros/latex/contrib/biblatex/bibtex/bst/biblatex.bst b/macros/latex/contrib/biblatex/bibtex/bst/biblatex.bst
index 4b1dcee4d7..e3b5fbb23e 100644
--- a/macros/latex/contrib/biblatex/bibtex/bst/biblatex.bst
+++ b/macros/latex/contrib/biblatex/bibtex/bst/biblatex.bst
@@ -1127,11 +1127,15 @@ FUNCTION {output:indent:subfield:keyval} {
if$
}
+FUNCTION {output:write:field:maybeempty} {
+ swap$ "\field" swap$ wrap:braces *
+ swap$ wrap:braces * output:indent:field
+}
+
FUNCTION {output:write:field} {
duplicate$ empty$
{ pop$ pop$ }
- { swap$ "\field" swap$ wrap:braces *
- swap$ wrap:braces * output:indent:field }
+ { output:write:field:maybeempty }
if$
}
@@ -1471,7 +1475,7 @@ FUNCTION {output:specials} {
}
if$
"extradate" extradate output:write:field
- "labeldatesource" "year" output:write:field
+ "labeldatesource" "" output:write:field:maybeempty
}
'skip$
if$
@@ -1914,7 +1918,7 @@ FUNCTION {input:control:options} {
% This version corresponds to the .bcf version, *not* the biblatex version!
FUNCTION {input:control:version} {
input:control:parse
- "$Revision: 3.6 $"
+ "$Revision: 3.7 $"
#12 entry.max$ substring$
#-3 entry.max$ substring$
'tempstrga :=