2

I am using Biblatex with APA-style, and I would like to change the way "in proceedings" references are displayed, from

Authors (year). Title. In Proceedings (pp. A-B)

to

Authors (year). Title. In Proceedings, pp. A-B

since the journal I'm submitting to requires this style. Any idea how to do so?

EDIT:

Here's a MWE.

test.tex

\documentclass{article}
\usepackage[style=apa,backend=biber]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\bibliography{test}
\begin{document}
\cite{twitter}
\printbibliography
\end{document}

test.bib

@inproceedings{twitter,
author = {Kwak, Haewoon and Lee, Changhyun and Park, Hosung and Moon, Sue},
title = {What is {Twitter}, a Social Network or a News Media?},
booktitle = {{International World Wide Web Conference}},
year = {2010},
pages = {591--600},
}

I assume that proceedings entries only contain author, title, booktitle, year, and pages fields, as in the MWE.

4
  • Please help us to help you by providing an MWE/MWEB that we can play around with. That way you can make sure that the answers you get are tested with your set-up.
    – moewe
    Commented May 10, 2017 at 8:16
  • Please have a look at Biblatex: submitting to a journal. Depeding on the workflow of the journal you plan to submit to you might not be able to use biblatex at all. If of course you only submit a PDF you are fine.
    – moewe
    Commented May 10, 2017 at 8:20
  • A bit of research reveals that biblatex-apa would also put additional information into the same pair of brackets. edition, chapter, volume and number will also appear there if present. What do you want to do about those fields? Do they still appear in brackets, or do they also lose the bracketing? (Just add edition = {3} to an example entry and check the output, then report the expected output.)
    – moewe
    Commented May 10, 2017 at 8:26
  • Edited my original question with MWE. I also assume that those fields are not present, only the pages field is there. Commented May 10, 2017 at 8:47

1 Answer 1

2

Assuming you still want all other information that could appear in the same pair of brackets placed in brackets, go with

\documentclass[british]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel} 
\usepackage{csquotes} 
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\addbibresource{biblatex-examples.bib}


\renewbibmacro*{addinfo}{%
  \ifthenelse{\iffieldundef{edition}\AND%
              \iffieldundef{chapter}\AND%
              \iffieldundef{volumes}\AND%
              \iffieldundef{number}\AND%
              \(\iffieldundef{volume}\OR\boolean{bbx:volseen}\)}
  {}
  {\printtext{\bibopenparen}%
   \printfield{edition}%
   \setunit*{\addcomma\addspace}%
   \printfield{chapter}%
   \setunit*{\addcomma\addspace}%
   \notbool{bbx:volseen}%
     {\iffieldundef{volume}{}{\global\booltrue{bbx:volseen}}%
      \printfield{volume}%
      \iffieldundef{part}{}{\printfield{part}}}{}%
   \setunit*{\addcomma\addspace}%
   \printfield{number}%
   \setunit*{\addcomma\addspace}%
   \printfield{volumes}%
   \setunit{}%
   \printtext{\bibcloseparen}%
   \newunit}
  \setunit{\addcomma\addspace}%
  \printfield{pages}}

\begin{document}
\cite{sigfridsson,moraux,salam}

\printbibliography
\end{document}

This just moves the page printing outside the brackets.

2
  • This works fine, except that it doesn't print the comma after the title. Changing \setunit*{\addcomma\addspace} to \setunit{\addcomma\addspace} solves the problem (don't know if it's the "right" thing to do, though). Commented May 10, 2017 at 8:56
  • @FilippoBistaffa Ah yes, sorry. I must have posted the wrong version of the code. The unstarred version is indeed the correct way to achieve this. The answer has been updated.
    – moewe
    Commented May 10, 2017 at 9:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .