plk / biblatex-apa

APA style for BibLaTeX
90 stars 48 forks source link

Rendering of @proceedings is broken #119

Closed domhardt closed 2 years ago

domhardt commented 4 years ago

Here is the minimal example:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[babel=true,english=american]{csquotes} 
\usepackage[style = apa, backend = biber, isbn = true, doi = true]{biblatex}

\begin{filecontents*}{lit.bib}
@inproceedings{Ackermann2017,
    Author = {Ackermann, Laura and Mugge, Ruth and Schoormans, Jan PL},
    Crossref = {PLATE2017},
    Doi = {10.3233/978-1-61499-820-4-1},
    Pages = {1-4},
    Date = {2017},
    Title = {Consumers' attitudes towards product care: an exploratory study of motivators, ability factors and triggers}}

@proceedings{PLATE2017,
    Location = {Amsterdam, The Netherlands},
    Editor = {Bakker, Conny and Mugge, Ruth},
    Isbn = {978-1-61499-820-4},
    Publisher = {IOS Press},
    Title = {{PLATE}: Product Lifetimes And The Environment},
    Date = {2017}}
\end{filecontents*}
\addbibresource{lit.bib}

\begin{document}
\nocite{Ackermann2017}
\printbibliography 
\end{document}

Here is the result:

Bildschirmfoto 2020-07-14 um 21 45 17

And here is the list of the problems:

  1. Editors shouldn't be enclosed in parentheses, only the abbreviation Eds. should.
  2. Title of the proceedings is missing.
  3. Publisher of the proceedings is missing. 4. Location of the proceedings is missing. updated 2020-07-15 5. ISBN of the proceedings is missing. updated 2020-07-15

System information: MacTeX-2020 incl. updates installed by TeX Live Utility APA BibLATEX style Version 9.13 BibLATEX Version 3.14

UPDATE 2020-07-15 Problems 4 and 5 are no problems any more because location and ISBN is not required in APA 7.

plk commented 2 years ago

9.16 is about to be released if you can test it there and so we can see what the current state of this is.

domhardt commented 2 years ago

I just verified that the problems 1-3 still existed with version 9.15 that was part of my MacTeX installation (MacTeX 2022, all updates installed). Please find the result of the example for version 9.15 below:

Bildschirmfoto 2022-06-22 um 20 08 36
domhardt commented 2 years ago

Using the new version 9.16 installed locally (in ~/Library/texmf/tex/latex/biblatex-apa) breaks the ability to compile the tex file. Please find the log file attached. Bildschirmfoto 2022-06-22 um 20 42 46

test.log

plk commented 2 years ago

That 9.16 error is expected - as per the doc - you need bibaltex 3.18 and biber 2.18 which haven't been fully released yet - it's in progress. I won't push 9.16 to CTAN and TL until biblatex and biber released are done.

plk commented 2 years ago

With 915, in the file apa.bbx, after the line:

\step[notfield=editor, final]

can you insert the line:

\step[notfield=crossref, final]

and try it again?

domhardt commented 2 years ago

That 9.16 error is expected - as per the doc - you need bibaltex 3.18 and biber 2.18 which haven't been fully released yet - it's in progress. I won't push 9.16 to CTAN and TL until biblatex and biber released are done.

Oh, sorry. That was my fault. I'm about to test your other suggestion.

domhardt commented 2 years ago

With 915, in the file apa.bbx, after the line:

\step[notfield=editor, final]

can you insert the line:

\step[notfield=crossref, final]

and try it again?

As I found no way to locally install the latest unreleased biber version I did that for the version 9.15 (was line 369 in the file apa.bbx). The result looks very promising! Problems 1-3 seem to be fixed. Great work!

Bildschirmfoto 2022-06-22 um 21 08 29
plk commented 2 years ago

Thanks for confirming - this fix will be in 9.16 when released in the next week or so.

domhardt commented 2 years ago

Thanks for confirming - this fix will be in 9.16 when released in the next week or so.

Perfect! I can't wait to see all updates (biblatex, biber, apa) coming in over the regular update procedure and working together. Keep up the good work!