Trouble with dates in biblatex-apa using biber
I was using the APA format citation for my thesis, which I am writing in Overleaf, which uses an old version of biblatex-apa.
RequirePackage[style=apa, backend=biber]{biblatex}
My .bib file is:
@article
{Anderson1998,
title={Diffuse-Interface Methods In Fluid Mechanics}, volume={30}, DOI={10.1146/annurev.fluid.30.1.139}, number={1}, journal={Annual Review of Fluid Mechanics}, author={Anderson, D. M. and Mcfadden, G. B. and Wheeler, A. A.}, year={1998}, pages={139–165}}
@article
{Penrose1990,
title={Thermodynamically consistent models of phase-field type for the kinetic of phase transitions}, volume={43}, DOI={10.1016/0167-2789(90)90015-h}, number={1}, journal={Physica D: Nonlinear Phenomena}, author={Penrose, Oliver and Fife, Paul C.}, year={1990}, pages={44–62}}
@article
{NovickC1984,
title={Nonlinear aspects of the Cahn-Hilliard equation}, volume={10}, DOI={10.1016/0167-2789(84)90180-5}, number={3}, journal={Physica D: Nonlinear Phenomena}, author={Novick-Cohen, Amy and Segel, Lee A.}, year={1984}, pages={277–298}}
@book
{VanBrunt2010,
place={New York}, title={The calculus of variations}, publisher={Springer}, author={Van Brunt, B.}, year={2010}}
I have been getting the entries for the .bib file from BibMe. The problem I encountered is that the output in my bibliography looks like this:
Anderson, D. M., Mcfadden, G. B., & Wheeler, A. A. (yearmonthday).
Diffuse-interface methods in fluid mechanics. Annual Review of Fluid
Mechanics , 30 (1), 139–165. doi:10.1146/annurev.fluid.30.1.139
Novick-Cohen, A. & Segel, L. A. (yearmonthday). Nonlinear aspects of
the cahn-hilliard equation. Physica D: Nonlinear Phenomena , 10 (3),
277–298. doi:10.1016/0167-2789(84)90180-5
Penrose, O. & Fife, P. C. (yearmonthday). Thermodynamically consistent
models of phase-field type for the kinetic of phase transitions.
Physica D: Nonlinear Phenomena , 43 (1), 44–62. doi:10.1016/0167-
2789(90)90015-h
Van Brunt, B. (yearmonthday). The calculus of variations . Springer.
I checked the APA format and you don't really need anything other than publication year for the citation.
Is there a way to modify the first command so that I only need the year instead of yearmonthday bibliography while keeping the APA format? (I can't get the months and days for some of the references here even if I tried, because they are not available online).
biblatex biber apa-style overleaf
add a comment |
I was using the APA format citation for my thesis, which I am writing in Overleaf, which uses an old version of biblatex-apa.
RequirePackage[style=apa, backend=biber]{biblatex}
My .bib file is:
@article
{Anderson1998,
title={Diffuse-Interface Methods In Fluid Mechanics}, volume={30}, DOI={10.1146/annurev.fluid.30.1.139}, number={1}, journal={Annual Review of Fluid Mechanics}, author={Anderson, D. M. and Mcfadden, G. B. and Wheeler, A. A.}, year={1998}, pages={139–165}}
@article
{Penrose1990,
title={Thermodynamically consistent models of phase-field type for the kinetic of phase transitions}, volume={43}, DOI={10.1016/0167-2789(90)90015-h}, number={1}, journal={Physica D: Nonlinear Phenomena}, author={Penrose, Oliver and Fife, Paul C.}, year={1990}, pages={44–62}}
@article
{NovickC1984,
title={Nonlinear aspects of the Cahn-Hilliard equation}, volume={10}, DOI={10.1016/0167-2789(84)90180-5}, number={3}, journal={Physica D: Nonlinear Phenomena}, author={Novick-Cohen, Amy and Segel, Lee A.}, year={1984}, pages={277–298}}
@book
{VanBrunt2010,
place={New York}, title={The calculus of variations}, publisher={Springer}, author={Van Brunt, B.}, year={2010}}
I have been getting the entries for the .bib file from BibMe. The problem I encountered is that the output in my bibliography looks like this:
Anderson, D. M., Mcfadden, G. B., & Wheeler, A. A. (yearmonthday).
Diffuse-interface methods in fluid mechanics. Annual Review of Fluid
Mechanics , 30 (1), 139–165. doi:10.1146/annurev.fluid.30.1.139
Novick-Cohen, A. & Segel, L. A. (yearmonthday). Nonlinear aspects of
the cahn-hilliard equation. Physica D: Nonlinear Phenomena , 10 (3),
277–298. doi:10.1016/0167-2789(84)90180-5
Penrose, O. & Fife, P. C. (yearmonthday). Thermodynamically consistent
models of phase-field type for the kinetic of phase transitions.
Physica D: Nonlinear Phenomena , 43 (1), 44–62. doi:10.1016/0167-
2789(90)90015-h
Van Brunt, B. (yearmonthday). The calculus of variations . Springer.
I checked the APA format and you don't really need anything other than publication year for the citation.
Is there a way to modify the first command so that I only need the year instead of yearmonthday bibliography while keeping the APA format? (I can't get the months and days for some of the references here even if I tried, because they are not available online).
biblatex biber apa-style overleaf
4
Overleaf are running a very old version ofbiblatex-apa. In that version you still need to manually declare a language mapping for each language you use. See tex.stackexchange.com/q/36331/35864. Assuming your document is in English you needDeclareLanguageMapping{english}{english-apa}(orDeclareLanguageMapping{american}{american-apa}for American andDeclareLanguageMapping{british}{british-apa}for British, ...). In newer versions that happens automatically and is therefore not necessary any more.
– moewe
Feb 12 at 19:28
2
biblatex-apaalso supports a few other languages (you can find the current list of languages at github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/…; not sure if Overleaf's old version already has all of these, but most should be available). But you will only need the mapping for those languages that you use in your document.
– moewe
Feb 12 at 19:55
1
@moewe Care to convert that into an answer? I'll re-tag this asoverleafso they see this is an issue. You might want to contact them though—they'd likely consider at least documentation a built-in work-around.
– Coby Viner
Feb 12 at 23:25
1
@CobyViner I would have just voted to close this as a duplicate, but since you asked I can see that it makes some sense to have an explicit answer that differentiates between the current situation and the outdated version on Overleaf.
– moewe
Feb 13 at 6:32
add a comment |
I was using the APA format citation for my thesis, which I am writing in Overleaf, which uses an old version of biblatex-apa.
RequirePackage[style=apa, backend=biber]{biblatex}
My .bib file is:
@article
{Anderson1998,
title={Diffuse-Interface Methods In Fluid Mechanics}, volume={30}, DOI={10.1146/annurev.fluid.30.1.139}, number={1}, journal={Annual Review of Fluid Mechanics}, author={Anderson, D. M. and Mcfadden, G. B. and Wheeler, A. A.}, year={1998}, pages={139–165}}
@article
{Penrose1990,
title={Thermodynamically consistent models of phase-field type for the kinetic of phase transitions}, volume={43}, DOI={10.1016/0167-2789(90)90015-h}, number={1}, journal={Physica D: Nonlinear Phenomena}, author={Penrose, Oliver and Fife, Paul C.}, year={1990}, pages={44–62}}
@article
{NovickC1984,
title={Nonlinear aspects of the Cahn-Hilliard equation}, volume={10}, DOI={10.1016/0167-2789(84)90180-5}, number={3}, journal={Physica D: Nonlinear Phenomena}, author={Novick-Cohen, Amy and Segel, Lee A.}, year={1984}, pages={277–298}}
@book
{VanBrunt2010,
place={New York}, title={The calculus of variations}, publisher={Springer}, author={Van Brunt, B.}, year={2010}}
I have been getting the entries for the .bib file from BibMe. The problem I encountered is that the output in my bibliography looks like this:
Anderson, D. M., Mcfadden, G. B., & Wheeler, A. A. (yearmonthday).
Diffuse-interface methods in fluid mechanics. Annual Review of Fluid
Mechanics , 30 (1), 139–165. doi:10.1146/annurev.fluid.30.1.139
Novick-Cohen, A. & Segel, L. A. (yearmonthday). Nonlinear aspects of
the cahn-hilliard equation. Physica D: Nonlinear Phenomena , 10 (3),
277–298. doi:10.1016/0167-2789(84)90180-5
Penrose, O. & Fife, P. C. (yearmonthday). Thermodynamically consistent
models of phase-field type for the kinetic of phase transitions.
Physica D: Nonlinear Phenomena , 43 (1), 44–62. doi:10.1016/0167-
2789(90)90015-h
Van Brunt, B. (yearmonthday). The calculus of variations . Springer.
I checked the APA format and you don't really need anything other than publication year for the citation.
Is there a way to modify the first command so that I only need the year instead of yearmonthday bibliography while keeping the APA format? (I can't get the months and days for some of the references here even if I tried, because they are not available online).
biblatex biber apa-style overleaf
I was using the APA format citation for my thesis, which I am writing in Overleaf, which uses an old version of biblatex-apa.
RequirePackage[style=apa, backend=biber]{biblatex}
My .bib file is:
@article
{Anderson1998,
title={Diffuse-Interface Methods In Fluid Mechanics}, volume={30}, DOI={10.1146/annurev.fluid.30.1.139}, number={1}, journal={Annual Review of Fluid Mechanics}, author={Anderson, D. M. and Mcfadden, G. B. and Wheeler, A. A.}, year={1998}, pages={139–165}}
@article
{Penrose1990,
title={Thermodynamically consistent models of phase-field type for the kinetic of phase transitions}, volume={43}, DOI={10.1016/0167-2789(90)90015-h}, number={1}, journal={Physica D: Nonlinear Phenomena}, author={Penrose, Oliver and Fife, Paul C.}, year={1990}, pages={44–62}}
@article
{NovickC1984,
title={Nonlinear aspects of the Cahn-Hilliard equation}, volume={10}, DOI={10.1016/0167-2789(84)90180-5}, number={3}, journal={Physica D: Nonlinear Phenomena}, author={Novick-Cohen, Amy and Segel, Lee A.}, year={1984}, pages={277–298}}
@book
{VanBrunt2010,
place={New York}, title={The calculus of variations}, publisher={Springer}, author={Van Brunt, B.}, year={2010}}
I have been getting the entries for the .bib file from BibMe. The problem I encountered is that the output in my bibliography looks like this:
Anderson, D. M., Mcfadden, G. B., & Wheeler, A. A. (yearmonthday).
Diffuse-interface methods in fluid mechanics. Annual Review of Fluid
Mechanics , 30 (1), 139–165. doi:10.1146/annurev.fluid.30.1.139
Novick-Cohen, A. & Segel, L. A. (yearmonthday). Nonlinear aspects of
the cahn-hilliard equation. Physica D: Nonlinear Phenomena , 10 (3),
277–298. doi:10.1016/0167-2789(84)90180-5
Penrose, O. & Fife, P. C. (yearmonthday). Thermodynamically consistent
models of phase-field type for the kinetic of phase transitions.
Physica D: Nonlinear Phenomena , 43 (1), 44–62. doi:10.1016/0167-
2789(90)90015-h
Van Brunt, B. (yearmonthday). The calculus of variations . Springer.
I checked the APA format and you don't really need anything other than publication year for the citation.
Is there a way to modify the first command so that I only need the year instead of yearmonthday bibliography while keeping the APA format? (I can't get the months and days for some of the references here even if I tried, because they are not available online).
biblatex biber apa-style overleaf
biblatex biber apa-style overleaf
edited Feb 13 at 0:00
Coby Viner
9341523
9341523
asked Feb 12 at 17:58
Salvador VillarrealSalvador Villarreal
1035
1035
4
Overleaf are running a very old version ofbiblatex-apa. In that version you still need to manually declare a language mapping for each language you use. See tex.stackexchange.com/q/36331/35864. Assuming your document is in English you needDeclareLanguageMapping{english}{english-apa}(orDeclareLanguageMapping{american}{american-apa}for American andDeclareLanguageMapping{british}{british-apa}for British, ...). In newer versions that happens automatically and is therefore not necessary any more.
– moewe
Feb 12 at 19:28
2
biblatex-apaalso supports a few other languages (you can find the current list of languages at github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/…; not sure if Overleaf's old version already has all of these, but most should be available). But you will only need the mapping for those languages that you use in your document.
– moewe
Feb 12 at 19:55
1
@moewe Care to convert that into an answer? I'll re-tag this asoverleafso they see this is an issue. You might want to contact them though—they'd likely consider at least documentation a built-in work-around.
– Coby Viner
Feb 12 at 23:25
1
@CobyViner I would have just voted to close this as a duplicate, but since you asked I can see that it makes some sense to have an explicit answer that differentiates between the current situation and the outdated version on Overleaf.
– moewe
Feb 13 at 6:32
add a comment |
4
Overleaf are running a very old version ofbiblatex-apa. In that version you still need to manually declare a language mapping for each language you use. See tex.stackexchange.com/q/36331/35864. Assuming your document is in English you needDeclareLanguageMapping{english}{english-apa}(orDeclareLanguageMapping{american}{american-apa}for American andDeclareLanguageMapping{british}{british-apa}for British, ...). In newer versions that happens automatically and is therefore not necessary any more.
– moewe
Feb 12 at 19:28
2
biblatex-apaalso supports a few other languages (you can find the current list of languages at github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/…; not sure if Overleaf's old version already has all of these, but most should be available). But you will only need the mapping for those languages that you use in your document.
– moewe
Feb 12 at 19:55
1
@moewe Care to convert that into an answer? I'll re-tag this asoverleafso they see this is an issue. You might want to contact them though—they'd likely consider at least documentation a built-in work-around.
– Coby Viner
Feb 12 at 23:25
1
@CobyViner I would have just voted to close this as a duplicate, but since you asked I can see that it makes some sense to have an explicit answer that differentiates between the current situation and the outdated version on Overleaf.
– moewe
Feb 13 at 6:32
4
4
Overleaf are running a very old version of
biblatex-apa. In that version you still need to manually declare a language mapping for each language you use. See tex.stackexchange.com/q/36331/35864. Assuming your document is in English you need DeclareLanguageMapping{english}{english-apa} (or DeclareLanguageMapping{american}{american-apa} for American and DeclareLanguageMapping{british}{british-apa} for British, ...). In newer versions that happens automatically and is therefore not necessary any more.– moewe
Feb 12 at 19:28
Overleaf are running a very old version of
biblatex-apa. In that version you still need to manually declare a language mapping for each language you use. See tex.stackexchange.com/q/36331/35864. Assuming your document is in English you need DeclareLanguageMapping{english}{english-apa} (or DeclareLanguageMapping{american}{american-apa} for American and DeclareLanguageMapping{british}{british-apa} for British, ...). In newer versions that happens automatically and is therefore not necessary any more.– moewe
Feb 12 at 19:28
2
2
biblatex-apa also supports a few other languages (you can find the current list of languages at github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/…; not sure if Overleaf's old version already has all of these, but most should be available). But you will only need the mapping for those languages that you use in your document.– moewe
Feb 12 at 19:55
biblatex-apa also supports a few other languages (you can find the current list of languages at github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/…; not sure if Overleaf's old version already has all of these, but most should be available). But you will only need the mapping for those languages that you use in your document.– moewe
Feb 12 at 19:55
1
1
@moewe Care to convert that into an answer? I'll re-tag this as
overleaf so they see this is an issue. You might want to contact them though—they'd likely consider at least documentation a built-in work-around.– Coby Viner
Feb 12 at 23:25
@moewe Care to convert that into an answer? I'll re-tag this as
overleaf so they see this is an issue. You might want to contact them though—they'd likely consider at least documentation a built-in work-around.– Coby Viner
Feb 12 at 23:25
1
1
@CobyViner I would have just voted to close this as a duplicate, but since you asked I can see that it makes some sense to have an explicit answer that differentiates between the current situation and the outdated version on Overleaf.
– moewe
Feb 13 at 6:32
@CobyViner I would have just voted to close this as a duplicate, but since you asked I can see that it makes some sense to have an explicit answer that differentiates between the current situation and the outdated version on Overleaf.
– moewe
Feb 13 at 6:32
add a comment |
1 Answer
1
active
oldest
votes
Overleaf runs an older version of biblatex-apa. In that version you must declare a language mapping to biblatex-apa's localisation files for each language you use. The mapping has the following form
DeclareLanguageMapping{<lang>}{<lang>-apa}
where <lang> is a babel language name.
If you load british with
documentclass[british]{article}
usepackage{babel}
...
you'll need
DeclareLanguageMapping{british}{british-apa}
For
usepackage[american,dutch]{babel}
you should load
DeclareLanguageMapping{american}{american-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
A list of all language files can be found at https://github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/lbx (though it could be that the older version on Overleaf does not support all of those yet). If you are using a language for which biblatex-apa does not have support, you will have to define certain things yourself on the fly.
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
DeclareLanguageMapping{french}{french-apa}
DeclareLanguageMapping{british}{british-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
With a current version of biblatex-apa (at least v7.5 from 2017-11-05, current is v7.7 from 2018-04-02) there should be no need for the DeclareLanguageMapping, because the mapping will be applied automatically. (That's also the reason the passage is gone from the biblatex-apa documentation.) The example from above would look like
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
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%2f474557%2ftrouble-with-dates-in-biblatex-apa-using-biber%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
Overleaf runs an older version of biblatex-apa. In that version you must declare a language mapping to biblatex-apa's localisation files for each language you use. The mapping has the following form
DeclareLanguageMapping{<lang>}{<lang>-apa}
where <lang> is a babel language name.
If you load british with
documentclass[british]{article}
usepackage{babel}
...
you'll need
DeclareLanguageMapping{british}{british-apa}
For
usepackage[american,dutch]{babel}
you should load
DeclareLanguageMapping{american}{american-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
A list of all language files can be found at https://github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/lbx (though it could be that the older version on Overleaf does not support all of those yet). If you are using a language for which biblatex-apa does not have support, you will have to define certain things yourself on the fly.
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
DeclareLanguageMapping{french}{french-apa}
DeclareLanguageMapping{british}{british-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
With a current version of biblatex-apa (at least v7.5 from 2017-11-05, current is v7.7 from 2018-04-02) there should be no need for the DeclareLanguageMapping, because the mapping will be applied automatically. (That's also the reason the passage is gone from the biblatex-apa documentation.) The example from above would look like
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
add a comment |
Overleaf runs an older version of biblatex-apa. In that version you must declare a language mapping to biblatex-apa's localisation files for each language you use. The mapping has the following form
DeclareLanguageMapping{<lang>}{<lang>-apa}
where <lang> is a babel language name.
If you load british with
documentclass[british]{article}
usepackage{babel}
...
you'll need
DeclareLanguageMapping{british}{british-apa}
For
usepackage[american,dutch]{babel}
you should load
DeclareLanguageMapping{american}{american-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
A list of all language files can be found at https://github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/lbx (though it could be that the older version on Overleaf does not support all of those yet). If you are using a language for which biblatex-apa does not have support, you will have to define certain things yourself on the fly.
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
DeclareLanguageMapping{french}{french-apa}
DeclareLanguageMapping{british}{british-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
With a current version of biblatex-apa (at least v7.5 from 2017-11-05, current is v7.7 from 2018-04-02) there should be no need for the DeclareLanguageMapping, because the mapping will be applied automatically. (That's also the reason the passage is gone from the biblatex-apa documentation.) The example from above would look like
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
add a comment |
Overleaf runs an older version of biblatex-apa. In that version you must declare a language mapping to biblatex-apa's localisation files for each language you use. The mapping has the following form
DeclareLanguageMapping{<lang>}{<lang>-apa}
where <lang> is a babel language name.
If you load british with
documentclass[british]{article}
usepackage{babel}
...
you'll need
DeclareLanguageMapping{british}{british-apa}
For
usepackage[american,dutch]{babel}
you should load
DeclareLanguageMapping{american}{american-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
A list of all language files can be found at https://github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/lbx (though it could be that the older version on Overleaf does not support all of those yet). If you are using a language for which biblatex-apa does not have support, you will have to define certain things yourself on the fly.
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
DeclareLanguageMapping{french}{french-apa}
DeclareLanguageMapping{british}{british-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
With a current version of biblatex-apa (at least v7.5 from 2017-11-05, current is v7.7 from 2018-04-02) there should be no need for the DeclareLanguageMapping, because the mapping will be applied automatically. (That's also the reason the passage is gone from the biblatex-apa documentation.) The example from above would look like
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
Overleaf runs an older version of biblatex-apa. In that version you must declare a language mapping to biblatex-apa's localisation files for each language you use. The mapping has the following form
DeclareLanguageMapping{<lang>}{<lang>-apa}
where <lang> is a babel language name.
If you load british with
documentclass[british]{article}
usepackage{babel}
...
you'll need
DeclareLanguageMapping{british}{british-apa}
For
usepackage[american,dutch]{babel}
you should load
DeclareLanguageMapping{american}{american-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
A list of all language files can be found at https://github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/lbx (though it could be that the older version on Overleaf does not support all of those yet). If you are using a language for which biblatex-apa does not have support, you will have to define certain things yourself on the fly.
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
DeclareLanguageMapping{french}{french-apa}
DeclareLanguageMapping{british}{british-apa}
DeclareLanguageMapping{dutch}{dutch-apa}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
With a current version of biblatex-apa (at least v7.5 from 2017-11-05, current is v7.7 from 2018-04-02) there should be no need for the DeclareLanguageMapping, because the mapping will be applied automatically. (That's also the reason the passage is gone from the biblatex-apa documentation.) The example from above would look like
documentclass[french,british,dutch]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}
usepackage{csquotes}
usepackage[style=apa, backend=biber]{biblatex}
addbibresource{biblatex-examples.bib}
begin{document}
cite{sigfridsson}
printbibliography
end{document}
answered Feb 13 at 6:29
moewemoewe
91.4k10114346
91.4k10114346
add a comment |
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%2f474557%2ftrouble-with-dates-in-biblatex-apa-using-biber%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
4
Overleaf are running a very old version of
biblatex-apa. In that version you still need to manually declare a language mapping for each language you use. See tex.stackexchange.com/q/36331/35864. Assuming your document is in English you needDeclareLanguageMapping{english}{english-apa}(orDeclareLanguageMapping{american}{american-apa}for American andDeclareLanguageMapping{british}{british-apa}for British, ...). In newer versions that happens automatically and is therefore not necessary any more.– moewe
Feb 12 at 19:28
2
biblatex-apaalso supports a few other languages (you can find the current list of languages at github.com/plk/biblatex-apa/tree/master/tex/latex/biblatex-apa/…; not sure if Overleaf's old version already has all of these, but most should be available). But you will only need the mapping for those languages that you use in your document.– moewe
Feb 12 at 19:55
1
@moewe Care to convert that into an answer? I'll re-tag this as
overleafso they see this is an issue. You might want to contact them though—they'd likely consider at least documentation a built-in work-around.– Coby Viner
Feb 12 at 23:25
1
@CobyViner I would have just voted to close this as a duplicate, but since you asked I can see that it makes some sense to have an explicit answer that differentiates between the current situation and the outdated version on Overleaf.
– moewe
Feb 13 at 6:32