Change author separation from English to German - Change in .bst file doesn't work
For a paper I have to change my whole Tex file set up to German. I use MikTex 2.9 on Windows. All works except the "and" between the different author names in the footnotes and in the bibliography.
I already tried the recommended solution to change this by going through the .bst file, but it doesn't work. FUNCTION {format.lab.names} does not exist in my file and the only place where I found " and " was at FUNCTION {output:write:list} which doesn't seem right and also did not work when I changed it there. I checked the whole file but I couldn't find any Function code that might fit.
I made the change in the biblatex.bst because in the .bst folder (MixTex/bibtex/bst) it is the only one that relates to my code. There is no natbib.bst, authoryear.bst or biber.bst like described in the other solutions here in stackexchange.
Maybe I have the wrong .bst file?
Or I made already some adaptations which changed the .bst code?
I also tried the renewcommand*{betweenauthors}{und} option in my preamble which doesn't work either.
I only need this change for one single homework, so an easy (maybe dirty) fix would do.
Here's my minimal working example (hope it's not too long):
documentclass[12pt, listof=totoc, bibliography=totoc]{scrreprt}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage[style=authoryear-icomp, natbib=true, bibencoding = utf8, maxbibnames=10,
maxcitenames=3, isbn=false, backend=biber, dashed=false,
firstinits=true, uniquename=init, sorting=nyt]{biblatex}
addbibresource{Minimalbeispiel_German.bib}
DeclareNameFormat{labelname}{
usebibmacro{name:last-first}{#1}{#4}{#5}{#8}
usebibmacro{name:andothers}}
renewbibmacro*{cite:labelyear+extrayear}{%
iffieldundef{labelyear}
{}
{printtext[bibhyperref]{%
printtext[parens]{% <- space
printfield{labelyear}%
printfield{extrayear}}}}}
renewbibmacro{in:}{%
ifentrytype{article}{%
setunit{addsemicolonspace}%
printtext{bibstring{in}intitlepunct}%
}{%
printtext{bibstring{in}intitlepunct}%
}%
}
%usepackage{germbib}
usepackage{chngcntr} counterwithout{footnote}{chapter}
setlength{bibhang}{1cm} % Einzug der umgebrochenen Zeile
setlength{bibitemsep}{0.5cm} % Abstand zw. Literaturangaben
DeclareNameAlias{sortname}{last-first} %% erst Nachname, dann Vorname
renewcommand*{labelnamepunct}{addcolonspace} % Doppelpunkt nach dem letzten Namen
renewcommand*{multinamedelim}{addsemicolonspace} %% Trenner zwischen den Namen ein Semikolon
renewcommand*{finalnamedelim}{space~and~space} %% Trenner zwischen den Namen ein Semikolon
%renewcommand*{betweenauthors}{und}
renewbibmacro*{bbx:editor}[1]{%
ifboolexpr{
test ifuseeditor
and
not test {ifnameundef{editor}}
}
{usebibmacro{bbx:dashcheck}
{bibnamedash}
{printnames{editor}%
setunit{space}%
usebibmacro{bbx:savehash}}%
usebibmacro{#1}%
clearname{editor}%
setunit{addspace}}%
{globalundefbbx@lasthash
usebibmacro{labeltitle}%
setunit*{addspace}}%
usebibmacro{date+extrayear}}
AtEveryBibitem{%
ifentrytype{misc}{%
clearfield{note}%
clearfield{type}% %hier einfach auflisten was nicht erscheinen soll
}%
}
AtEveryBibitem{%
ifentrytype{electronic}{%
clearfield{note}%
clearfield{type}%
}%
}
AtEveryBibitem{%
ifentrytype{book}{%
clearfield{note}%
clearfield{url}%
}%
}
DeclareNameAlias{editor}{sortname}
begin{document}
Some Textfootcite[Vgl.][S. 30]{Example2012} and then even more textfootcite[Vgl.][S. 30]{Doe2013}. And continuing with other textfootcite[Vgl.][S. 30]{Professor2000} and more wordsfootcite[S. 30]{Professor2000}.
printbibliography
end{document}
And the .bib file Minimalbeispiel_German.bib to go with it:
begin{bibliography}
@ELECTRONIC{Example2012,
title = {The Top 100},
year = {2012},
url = {http://somepage.de/uploads/files/fd3323c9a2.pdf},
month = {9},
day = {25},
editor = {Webeditor, Mike},
type = {Whitepaper},
lastchecked = {2013-07-01},
urldate = {2013-07-01},
}
@BOOK{Doe2013,
author = {Doe, John and Smith, Jane and Jamesson, James},
title = {The Quintessence of Everything},
publisher = {Springer},
year = {2010},
address = {New York, London},
}
@unpublished{Professor2000,
author = {Jackson, Jack},
title = {Book from my Professor},
year = {2000},
month = {6},
type = {Seminar Book},
note = {Seminar Book},
timestamp = {2013-07-18}
}
end{bibliography}
biblatex bibtex german
add a comment |
For a paper I have to change my whole Tex file set up to German. I use MikTex 2.9 on Windows. All works except the "and" between the different author names in the footnotes and in the bibliography.
I already tried the recommended solution to change this by going through the .bst file, but it doesn't work. FUNCTION {format.lab.names} does not exist in my file and the only place where I found " and " was at FUNCTION {output:write:list} which doesn't seem right and also did not work when I changed it there. I checked the whole file but I couldn't find any Function code that might fit.
I made the change in the biblatex.bst because in the .bst folder (MixTex/bibtex/bst) it is the only one that relates to my code. There is no natbib.bst, authoryear.bst or biber.bst like described in the other solutions here in stackexchange.
Maybe I have the wrong .bst file?
Or I made already some adaptations which changed the .bst code?
I also tried the renewcommand*{betweenauthors}{und} option in my preamble which doesn't work either.
I only need this change for one single homework, so an easy (maybe dirty) fix would do.
Here's my minimal working example (hope it's not too long):
documentclass[12pt, listof=totoc, bibliography=totoc]{scrreprt}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage[style=authoryear-icomp, natbib=true, bibencoding = utf8, maxbibnames=10,
maxcitenames=3, isbn=false, backend=biber, dashed=false,
firstinits=true, uniquename=init, sorting=nyt]{biblatex}
addbibresource{Minimalbeispiel_German.bib}
DeclareNameFormat{labelname}{
usebibmacro{name:last-first}{#1}{#4}{#5}{#8}
usebibmacro{name:andothers}}
renewbibmacro*{cite:labelyear+extrayear}{%
iffieldundef{labelyear}
{}
{printtext[bibhyperref]{%
printtext[parens]{% <- space
printfield{labelyear}%
printfield{extrayear}}}}}
renewbibmacro{in:}{%
ifentrytype{article}{%
setunit{addsemicolonspace}%
printtext{bibstring{in}intitlepunct}%
}{%
printtext{bibstring{in}intitlepunct}%
}%
}
%usepackage{germbib}
usepackage{chngcntr} counterwithout{footnote}{chapter}
setlength{bibhang}{1cm} % Einzug der umgebrochenen Zeile
setlength{bibitemsep}{0.5cm} % Abstand zw. Literaturangaben
DeclareNameAlias{sortname}{last-first} %% erst Nachname, dann Vorname
renewcommand*{labelnamepunct}{addcolonspace} % Doppelpunkt nach dem letzten Namen
renewcommand*{multinamedelim}{addsemicolonspace} %% Trenner zwischen den Namen ein Semikolon
renewcommand*{finalnamedelim}{space~and~space} %% Trenner zwischen den Namen ein Semikolon
%renewcommand*{betweenauthors}{und}
renewbibmacro*{bbx:editor}[1]{%
ifboolexpr{
test ifuseeditor
and
not test {ifnameundef{editor}}
}
{usebibmacro{bbx:dashcheck}
{bibnamedash}
{printnames{editor}%
setunit{space}%
usebibmacro{bbx:savehash}}%
usebibmacro{#1}%
clearname{editor}%
setunit{addspace}}%
{globalundefbbx@lasthash
usebibmacro{labeltitle}%
setunit*{addspace}}%
usebibmacro{date+extrayear}}
AtEveryBibitem{%
ifentrytype{misc}{%
clearfield{note}%
clearfield{type}% %hier einfach auflisten was nicht erscheinen soll
}%
}
AtEveryBibitem{%
ifentrytype{electronic}{%
clearfield{note}%
clearfield{type}%
}%
}
AtEveryBibitem{%
ifentrytype{book}{%
clearfield{note}%
clearfield{url}%
}%
}
DeclareNameAlias{editor}{sortname}
begin{document}
Some Textfootcite[Vgl.][S. 30]{Example2012} and then even more textfootcite[Vgl.][S. 30]{Doe2013}. And continuing with other textfootcite[Vgl.][S. 30]{Professor2000} and more wordsfootcite[S. 30]{Professor2000}.
printbibliography
end{document}
And the .bib file Minimalbeispiel_German.bib to go with it:
begin{bibliography}
@ELECTRONIC{Example2012,
title = {The Top 100},
year = {2012},
url = {http://somepage.de/uploads/files/fd3323c9a2.pdf},
month = {9},
day = {25},
editor = {Webeditor, Mike},
type = {Whitepaper},
lastchecked = {2013-07-01},
urldate = {2013-07-01},
}
@BOOK{Doe2013,
author = {Doe, John and Smith, Jane and Jamesson, James},
title = {The Quintessence of Everything},
publisher = {Springer},
year = {2010},
address = {New York, London},
}
@unpublished{Professor2000,
author = {Jackson, Jack},
title = {Book from my Professor},
year = {2000},
month = {6},
type = {Seminar Book},
note = {Seminar Book},
timestamp = {2013-07-18}
}
end{bibliography}
biblatex bibtex german
add a comment |
For a paper I have to change my whole Tex file set up to German. I use MikTex 2.9 on Windows. All works except the "and" between the different author names in the footnotes and in the bibliography.
I already tried the recommended solution to change this by going through the .bst file, but it doesn't work. FUNCTION {format.lab.names} does not exist in my file and the only place where I found " and " was at FUNCTION {output:write:list} which doesn't seem right and also did not work when I changed it there. I checked the whole file but I couldn't find any Function code that might fit.
I made the change in the biblatex.bst because in the .bst folder (MixTex/bibtex/bst) it is the only one that relates to my code. There is no natbib.bst, authoryear.bst or biber.bst like described in the other solutions here in stackexchange.
Maybe I have the wrong .bst file?
Or I made already some adaptations which changed the .bst code?
I also tried the renewcommand*{betweenauthors}{und} option in my preamble which doesn't work either.
I only need this change for one single homework, so an easy (maybe dirty) fix would do.
Here's my minimal working example (hope it's not too long):
documentclass[12pt, listof=totoc, bibliography=totoc]{scrreprt}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage[style=authoryear-icomp, natbib=true, bibencoding = utf8, maxbibnames=10,
maxcitenames=3, isbn=false, backend=biber, dashed=false,
firstinits=true, uniquename=init, sorting=nyt]{biblatex}
addbibresource{Minimalbeispiel_German.bib}
DeclareNameFormat{labelname}{
usebibmacro{name:last-first}{#1}{#4}{#5}{#8}
usebibmacro{name:andothers}}
renewbibmacro*{cite:labelyear+extrayear}{%
iffieldundef{labelyear}
{}
{printtext[bibhyperref]{%
printtext[parens]{% <- space
printfield{labelyear}%
printfield{extrayear}}}}}
renewbibmacro{in:}{%
ifentrytype{article}{%
setunit{addsemicolonspace}%
printtext{bibstring{in}intitlepunct}%
}{%
printtext{bibstring{in}intitlepunct}%
}%
}
%usepackage{germbib}
usepackage{chngcntr} counterwithout{footnote}{chapter}
setlength{bibhang}{1cm} % Einzug der umgebrochenen Zeile
setlength{bibitemsep}{0.5cm} % Abstand zw. Literaturangaben
DeclareNameAlias{sortname}{last-first} %% erst Nachname, dann Vorname
renewcommand*{labelnamepunct}{addcolonspace} % Doppelpunkt nach dem letzten Namen
renewcommand*{multinamedelim}{addsemicolonspace} %% Trenner zwischen den Namen ein Semikolon
renewcommand*{finalnamedelim}{space~and~space} %% Trenner zwischen den Namen ein Semikolon
%renewcommand*{betweenauthors}{und}
renewbibmacro*{bbx:editor}[1]{%
ifboolexpr{
test ifuseeditor
and
not test {ifnameundef{editor}}
}
{usebibmacro{bbx:dashcheck}
{bibnamedash}
{printnames{editor}%
setunit{space}%
usebibmacro{bbx:savehash}}%
usebibmacro{#1}%
clearname{editor}%
setunit{addspace}}%
{globalundefbbx@lasthash
usebibmacro{labeltitle}%
setunit*{addspace}}%
usebibmacro{date+extrayear}}
AtEveryBibitem{%
ifentrytype{misc}{%
clearfield{note}%
clearfield{type}% %hier einfach auflisten was nicht erscheinen soll
}%
}
AtEveryBibitem{%
ifentrytype{electronic}{%
clearfield{note}%
clearfield{type}%
}%
}
AtEveryBibitem{%
ifentrytype{book}{%
clearfield{note}%
clearfield{url}%
}%
}
DeclareNameAlias{editor}{sortname}
begin{document}
Some Textfootcite[Vgl.][S. 30]{Example2012} and then even more textfootcite[Vgl.][S. 30]{Doe2013}. And continuing with other textfootcite[Vgl.][S. 30]{Professor2000} and more wordsfootcite[S. 30]{Professor2000}.
printbibliography
end{document}
And the .bib file Minimalbeispiel_German.bib to go with it:
begin{bibliography}
@ELECTRONIC{Example2012,
title = {The Top 100},
year = {2012},
url = {http://somepage.de/uploads/files/fd3323c9a2.pdf},
month = {9},
day = {25},
editor = {Webeditor, Mike},
type = {Whitepaper},
lastchecked = {2013-07-01},
urldate = {2013-07-01},
}
@BOOK{Doe2013,
author = {Doe, John and Smith, Jane and Jamesson, James},
title = {The Quintessence of Everything},
publisher = {Springer},
year = {2010},
address = {New York, London},
}
@unpublished{Professor2000,
author = {Jackson, Jack},
title = {Book from my Professor},
year = {2000},
month = {6},
type = {Seminar Book},
note = {Seminar Book},
timestamp = {2013-07-18}
}
end{bibliography}
biblatex bibtex german
For a paper I have to change my whole Tex file set up to German. I use MikTex 2.9 on Windows. All works except the "and" between the different author names in the footnotes and in the bibliography.
I already tried the recommended solution to change this by going through the .bst file, but it doesn't work. FUNCTION {format.lab.names} does not exist in my file and the only place where I found " and " was at FUNCTION {output:write:list} which doesn't seem right and also did not work when I changed it there. I checked the whole file but I couldn't find any Function code that might fit.
I made the change in the biblatex.bst because in the .bst folder (MixTex/bibtex/bst) it is the only one that relates to my code. There is no natbib.bst, authoryear.bst or biber.bst like described in the other solutions here in stackexchange.
Maybe I have the wrong .bst file?
Or I made already some adaptations which changed the .bst code?
I also tried the renewcommand*{betweenauthors}{und} option in my preamble which doesn't work either.
I only need this change for one single homework, so an easy (maybe dirty) fix would do.
Here's my minimal working example (hope it's not too long):
documentclass[12pt, listof=totoc, bibliography=totoc]{scrreprt}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage[style=authoryear-icomp, natbib=true, bibencoding = utf8, maxbibnames=10,
maxcitenames=3, isbn=false, backend=biber, dashed=false,
firstinits=true, uniquename=init, sorting=nyt]{biblatex}
addbibresource{Minimalbeispiel_German.bib}
DeclareNameFormat{labelname}{
usebibmacro{name:last-first}{#1}{#4}{#5}{#8}
usebibmacro{name:andothers}}
renewbibmacro*{cite:labelyear+extrayear}{%
iffieldundef{labelyear}
{}
{printtext[bibhyperref]{%
printtext[parens]{% <- space
printfield{labelyear}%
printfield{extrayear}}}}}
renewbibmacro{in:}{%
ifentrytype{article}{%
setunit{addsemicolonspace}%
printtext{bibstring{in}intitlepunct}%
}{%
printtext{bibstring{in}intitlepunct}%
}%
}
%usepackage{germbib}
usepackage{chngcntr} counterwithout{footnote}{chapter}
setlength{bibhang}{1cm} % Einzug der umgebrochenen Zeile
setlength{bibitemsep}{0.5cm} % Abstand zw. Literaturangaben
DeclareNameAlias{sortname}{last-first} %% erst Nachname, dann Vorname
renewcommand*{labelnamepunct}{addcolonspace} % Doppelpunkt nach dem letzten Namen
renewcommand*{multinamedelim}{addsemicolonspace} %% Trenner zwischen den Namen ein Semikolon
renewcommand*{finalnamedelim}{space~and~space} %% Trenner zwischen den Namen ein Semikolon
%renewcommand*{betweenauthors}{und}
renewbibmacro*{bbx:editor}[1]{%
ifboolexpr{
test ifuseeditor
and
not test {ifnameundef{editor}}
}
{usebibmacro{bbx:dashcheck}
{bibnamedash}
{printnames{editor}%
setunit{space}%
usebibmacro{bbx:savehash}}%
usebibmacro{#1}%
clearname{editor}%
setunit{addspace}}%
{globalundefbbx@lasthash
usebibmacro{labeltitle}%
setunit*{addspace}}%
usebibmacro{date+extrayear}}
AtEveryBibitem{%
ifentrytype{misc}{%
clearfield{note}%
clearfield{type}% %hier einfach auflisten was nicht erscheinen soll
}%
}
AtEveryBibitem{%
ifentrytype{electronic}{%
clearfield{note}%
clearfield{type}%
}%
}
AtEveryBibitem{%
ifentrytype{book}{%
clearfield{note}%
clearfield{url}%
}%
}
DeclareNameAlias{editor}{sortname}
begin{document}
Some Textfootcite[Vgl.][S. 30]{Example2012} and then even more textfootcite[Vgl.][S. 30]{Doe2013}. And continuing with other textfootcite[Vgl.][S. 30]{Professor2000} and more wordsfootcite[S. 30]{Professor2000}.
printbibliography
end{document}
And the .bib file Minimalbeispiel_German.bib to go with it:
begin{bibliography}
@ELECTRONIC{Example2012,
title = {The Top 100},
year = {2012},
url = {http://somepage.de/uploads/files/fd3323c9a2.pdf},
month = {9},
day = {25},
editor = {Webeditor, Mike},
type = {Whitepaper},
lastchecked = {2013-07-01},
urldate = {2013-07-01},
}
@BOOK{Doe2013,
author = {Doe, John and Smith, Jane and Jamesson, James},
title = {The Quintessence of Everything},
publisher = {Springer},
year = {2010},
address = {New York, London},
}
@unpublished{Professor2000,
author = {Jackson, Jack},
title = {Book from my Professor},
year = {2000},
month = {6},
type = {Seminar Book},
note = {Seminar Book},
timestamp = {2013-07-18}
}
end{bibliography}
biblatex bibtex german
biblatex bibtex german
edited Sep 19 '13 at 13:03
lockstep
193k53593723
193k53593723
asked Sep 19 '13 at 12:19
MaryMary
104118
104118
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
biblatex does not really use .bst files anymore, the important files for biblatex are .bbx (bibliography), .cbx (citations), .dbx (data model) and .lbx (localization) now.
You could say
DeclareDelimFormat{finalnamedelim}{addspacebibstring{and}space}
in the preamble, biblatex provides a translation of "and" so just use bibstring{and}. But the original definition of finalnamedelim in biblatex.def is
DeclareDelimFormat{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
where finalandcomma is empty for German. That means the standard definition will give you the same output and you actually don't need to redefine finalnamedelim at all.
There is no need for begin{bibliography} and end{bibliography} in the .bib file, in fact I am surprised that your biber does not complain (I get a warning like 20 characters of junk seen at toplevel).
edit: Modernised for biblatex 3.8 and above. Please note that the code in the question is for biblatex before version 3.3 (Biblatex 3.3 name formatting) and that many other idioms can be replaced by more elegant techniques now.
Perfect! That works! You're right, I just checked my regular .bib file and it does not includebegin{bibliography}. Not sure how it ended up in the minimal example. Guess I copied it somewhere.
– Mary
Sep 19 '13 at 12:56
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f134092%2fchange-author-separation-from-english-to-german-change-in-bst-file-doesnt-wo%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
biblatex does not really use .bst files anymore, the important files for biblatex are .bbx (bibliography), .cbx (citations), .dbx (data model) and .lbx (localization) now.
You could say
DeclareDelimFormat{finalnamedelim}{addspacebibstring{and}space}
in the preamble, biblatex provides a translation of "and" so just use bibstring{and}. But the original definition of finalnamedelim in biblatex.def is
DeclareDelimFormat{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
where finalandcomma is empty for German. That means the standard definition will give you the same output and you actually don't need to redefine finalnamedelim at all.
There is no need for begin{bibliography} and end{bibliography} in the .bib file, in fact I am surprised that your biber does not complain (I get a warning like 20 characters of junk seen at toplevel).
edit: Modernised for biblatex 3.8 and above. Please note that the code in the question is for biblatex before version 3.3 (Biblatex 3.3 name formatting) and that many other idioms can be replaced by more elegant techniques now.
Perfect! That works! You're right, I just checked my regular .bib file and it does not includebegin{bibliography}. Not sure how it ended up in the minimal example. Guess I copied it somewhere.
– Mary
Sep 19 '13 at 12:56
add a comment |
biblatex does not really use .bst files anymore, the important files for biblatex are .bbx (bibliography), .cbx (citations), .dbx (data model) and .lbx (localization) now.
You could say
DeclareDelimFormat{finalnamedelim}{addspacebibstring{and}space}
in the preamble, biblatex provides a translation of "and" so just use bibstring{and}. But the original definition of finalnamedelim in biblatex.def is
DeclareDelimFormat{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
where finalandcomma is empty for German. That means the standard definition will give you the same output and you actually don't need to redefine finalnamedelim at all.
There is no need for begin{bibliography} and end{bibliography} in the .bib file, in fact I am surprised that your biber does not complain (I get a warning like 20 characters of junk seen at toplevel).
edit: Modernised for biblatex 3.8 and above. Please note that the code in the question is for biblatex before version 3.3 (Biblatex 3.3 name formatting) and that many other idioms can be replaced by more elegant techniques now.
Perfect! That works! You're right, I just checked my regular .bib file and it does not includebegin{bibliography}. Not sure how it ended up in the minimal example. Guess I copied it somewhere.
– Mary
Sep 19 '13 at 12:56
add a comment |
biblatex does not really use .bst files anymore, the important files for biblatex are .bbx (bibliography), .cbx (citations), .dbx (data model) and .lbx (localization) now.
You could say
DeclareDelimFormat{finalnamedelim}{addspacebibstring{and}space}
in the preamble, biblatex provides a translation of "and" so just use bibstring{and}. But the original definition of finalnamedelim in biblatex.def is
DeclareDelimFormat{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
where finalandcomma is empty for German. That means the standard definition will give you the same output and you actually don't need to redefine finalnamedelim at all.
There is no need for begin{bibliography} and end{bibliography} in the .bib file, in fact I am surprised that your biber does not complain (I get a warning like 20 characters of junk seen at toplevel).
edit: Modernised for biblatex 3.8 and above. Please note that the code in the question is for biblatex before version 3.3 (Biblatex 3.3 name formatting) and that many other idioms can be replaced by more elegant techniques now.
biblatex does not really use .bst files anymore, the important files for biblatex are .bbx (bibliography), .cbx (citations), .dbx (data model) and .lbx (localization) now.
You could say
DeclareDelimFormat{finalnamedelim}{addspacebibstring{and}space}
in the preamble, biblatex provides a translation of "and" so just use bibstring{and}. But the original definition of finalnamedelim in biblatex.def is
DeclareDelimFormat{finalnamedelim}{%
ifnumgreater{value{liststop}}{2}{finalandcomma}{}%
addspacebibstring{and}space}
where finalandcomma is empty for German. That means the standard definition will give you the same output and you actually don't need to redefine finalnamedelim at all.
There is no need for begin{bibliography} and end{bibliography} in the .bib file, in fact I am surprised that your biber does not complain (I get a warning like 20 characters of junk seen at toplevel).
edit: Modernised for biblatex 3.8 and above. Please note that the code in the question is for biblatex before version 3.3 (Biblatex 3.3 name formatting) and that many other idioms can be replaced by more elegant techniques now.
edited Apr 1 at 9:48
answered Sep 19 '13 at 12:30
moewemoewe
96.6k10118362
96.6k10118362
Perfect! That works! You're right, I just checked my regular .bib file and it does not includebegin{bibliography}. Not sure how it ended up in the minimal example. Guess I copied it somewhere.
– Mary
Sep 19 '13 at 12:56
add a comment |
Perfect! That works! You're right, I just checked my regular .bib file and it does not includebegin{bibliography}. Not sure how it ended up in the minimal example. Guess I copied it somewhere.
– Mary
Sep 19 '13 at 12:56
Perfect! That works! You're right, I just checked my regular .bib file and it does not include
begin{bibliography}. Not sure how it ended up in the minimal example. Guess I copied it somewhere.– Mary
Sep 19 '13 at 12:56
Perfect! That works! You're right, I just checked my regular .bib file and it does not include
begin{bibliography}. Not sure how it ended up in the minimal example. Guess I copied it somewhere.– Mary
Sep 19 '13 at 12:56
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f134092%2fchange-author-separation-from-english-to-german-change-in-bst-file-doesnt-wo%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown