plk / biblatex-apa

APA style for BibLaTeX
90 stars 48 forks source link

Use date formats properly (#159) #160

Closed moewew closed 2 years ago

moewew commented 2 years ago

Should hopefully fix the missing strings from #159

plk commented 2 years ago

Much better - only one issue now - 10.1:11 (Shore 2014) now has a period after the first DOI link but doesn't in the reference PDF.

moewew commented 2 years ago

Argh! I shall have a look at that. But it'll have to be later.

plk commented 2 years ago

I'm fairly sure that this was the entry that caused me the problems in the first place ...

moewew commented 2 years ago

Can you check the Shore entry again, please?

In

\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, style=apa]{biblatex}

\addbibresource{biblatex-apa-test-references.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \autocite{sigfridsson,10.1:11}

\printbibliography
\end{document}

I get

Shore, M. F. (2014). Marking time in the land of plenty: Reflections on mental health in the United States. American Journal of Orthopsychiatry, 84(6), 611–618. https://doi.org/10.1037/h0100165 (Reprinted from “Marking time in the land of plenty: Reflections on mental health in the United States,” 1981, American Journal of Orthopsychiatry, 51[3], 391–402, https://doi.org/10.1111/j.1939-0025.1981.tb01388.x)

Screenshot of the entry shown above

with no period after the two DOIs.

plk commented 2 years ago

Apologies, you were right, the error was in the reference document after checking this with the physical manual so it seems that this is all fine now.

moewew commented 2 years ago

Phew!