[Tex/LaTex] How to suppress source type in apacite (APA) reference list without removing the type-field entry

apa-style

I am using apacite for APA references in my thesis. It works beautifully with the exception that is displays the source type brackets in the reference list, which I don't want (see below).
enter image description here
Leaving the type field blank is not an option because I manage my bibliography in EndNote and then export it, which automatically fills this field in.

Below is a minimum working example.

\documentclass{article}
\usepackage[natbibapa]{apacite}

\begin{document}
\nocite{*}
\bibliography{sources.bib}
\bibliographystyle{apacite}

\end{document}

My .bib file is rather inconspicuous, but I am including it for completeness.

@article{mandelbrot1963variation,
author = {Mandelbrot, Benoît},
title = {The variation of certain speculative prices},
journal = {The Journal of Business},
volume = {36},
number = {4},
pages = {394-419},
year = {1963},
type = {Journal Article}
}

Suggestions are greatly appreciated!

Best Answer

OPTION #1: using a modified .bst file

First of all, from the command line, run

kpsewhich apacite.bst

to know where the file apacite.bst is. Its path should be TEXMF/bibtex/bst/apacite/.

Now copy apacite.bst in the directory where your .tex file is, and rename it to myapacite.bst.

Then open myapacite.bst in your editor, search for the lines

FUNCTION {format.atitle.type.check}
{ format.aetitle.check
  format.atype.check   connect.with.space.check
  title format.atitle.connect
}

and replace them with

FUNCTION {format.atitle.type.check}
{ format.aetitle.check
  title format.atitle.connect
}

Then search for the lines

FUNCTION {format.atitle.type.trans.check}
{ format.aetitle.check
  format.atype.check   connect.with.space.check
  format.atrans.check  connect.with.space.check
  title format.atitle.connect
}

and replace them with

FUNCTION {format.atitle.type.trans.check}
{ format.aetitle.check
  format.atrans.check  connect.with.space.check
  title format.atitle.connect
}

Save the file.

Now in your document, replace

\bibliographystyle{apacite}

with

\bibliographystyle{myapacite}

and you're done.

MWE

\begin{filecontents*}{sources.bib}
@article{mandelbrot1963variation,
author = {Mandelbrot, Benoît},
title = {The variation of certain speculative prices},
journal = {The Journal of Business},
volume = {36},
number = {4},
pages = {394-419},
year = {1963},
type = {Journal Article}
}
\end{filecontents*}

\documentclass{article}
\usepackage[natbibapa]{apacite}

\begin{document}
\nocite{*}
\bibliography{sources}
\bibliographystyle{myapacite}

\end{document} 

Output:

enter image description here


Note that you have

\bibliography{sources.bib}

in your MWE, but it should be

\bibliography{sources}

unless your .bib file is named sources.bib.bib....


OPTION #2: using biblatex-apa

Using biblatex with the apa style, the type field isn't printed by default.

Here's your MWE modified for using biblatex:

\begin{filecontents*}{sources.bib}
@article{mandelbrot1963variation,
author = {Mandelbrot, Benoît},
title = {The variation of certain speculative prices},
journal = {The Journal of Business},
volume = {36},
number = {4},
pages = {394-419},
year = {1963},
type = {Journal Article}
}
\end{filecontents*}

\documentclass{article}
\usepackage[american]{babel}
\usepackage[utf8]{inputenc}
\usepackage{csquotes}
\usepackage[%
    style=apa,
    natbib=true,
    firstinits=true,
    uniquename=init,
    backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}

\addbibresource{sources.bib}

\begin{document}
\nocite{*}

\printbibliography

\end{document} 

Output:

enter image description here

Related Question