-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing space before title for @article in beamer #212
Comments
This is due to The problem could be avoided if \documentclass{beamer}
\usepackage[
style = apa,
]{biblatex}
\DeclareBibliographyDriver{article}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor}%
\printunit{\printdelim{nametitledelim}}\newblock
\usebibmacro{title}%
\setunit{\addspace}\newblock
\usebibmacro{apa:related}%
\newunit\newblock
\usebibmacro{journal+issuetitle}%
\setunit{\bibpagespunct}%
\printfield{pages}%
\newunit\newblock
\printfield{howpublished}%
\newunit\newblock
\usebibmacro{doi+url}%
\newblock
\usebibmacro{origyear}%
\newunit\newblock
\printfield{addendum}%
\setunit{\addspace}\newblock
\iftoggle{bbx:related}
{\usebibmacro{related:init}%
\usebibmacro{related}}
{}%
\usebibmacro{pageref}%
\usebibmacro{annotation}%
\usebibmacro{finentry}}
\setbeamercolor{bibliography entry author}{fg=black}
\setbeamercolor{bibliography entry title}{fg=black}
\setbeamercolor{bibliography entry note}{fg=black}
\begin{filecontents}{\jobname.bib}
@article{test,
author = {John Doe},
title = {Test Title},
pages = {229–243},
volume = {77},
number = {5},
year = {2023},
doi = {10.1348/xyz},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document} The original biblatex-apa/tex/latex/biblatex-apa/bbx/apa.bbx Lines 1549 to 1576 in 1d72b03
@plk I would expect But the @samcarter maybe you'd be interested in knowing about this. (I have no idea what to do about it, though.) \documentclass{beamer}
\usepackage[
style = authoryear,
]{biblatex}
\def\labelnamepunct{X}
\begin{filecontents}{\jobname.bib}
@article{test,
author = {John Doe},
title = {Test Title},
pages = {229–243},
volume = {77},
number = {5},
year = {2023},
doi = {10.1348/xyz},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document} |
@moewew Thanks for the ping! There are a couple of other things with beamer's biblatex patches, which I'd like to fix, maybe I'll find some other approach how to sprinkle the fairy dust :) As this looks like a bit bigger project, I don't know when I will have time to look into that, so no promises on a time line. |
Pure oversight on my part - will be fixed in next release. |
Hi,
somehow, when using @ article in a beamer presentation there is no space between the title entry and the dot separating the year entry and the title. This is not the case when not using beamer.
Consider
The text was updated successfully, but these errors were encountered: