BibTeX, biblatex and bibercustom-bib | Custom Bibliography Style not applied

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
asfarley
Posts: 2
Joined: Sat Aug 11, 2012 5:05 am

custom-bib | Custom Bibliography Style not applied

Post by asfarley »

I'm trying to use a custom-bib bibliography style but it looks like the generated citation style is not being applied to the in-body citations.

I want in-text citations with three or more authors to use "et al." after the first author for papers with three or more authors. Ex I want [Brockfeld, Gartner, Sohr & Wagner 2008] to appear as [Brockfeld, et. al 2008] but this is not happening.

Code: Select all

\documentclass{article}

%citation style
\usepackage{harvard}
\renewcommand{\harvardurl}{URL:\url}
%\usepackage{natbib}

%Citation parenthesis option
\harvardparenthesis{square}

\begin{document}

Citing a paper with four authors:  ~\cite{Brockfeld_Gartner_Sohr_Wagner_Board_2008} and another: ~\cite{Levine_et_al._2004}. A paper with three authors: ~\cite{Farhi_et_al._2011}. \\

\bibliographystyle{srlstyle}
\bibliography{bibliography}

\end{document}
I'm fairly sure that I chose the correct options using makebst but I am not sure how to verify this without trying to read the generated style file itself. A full MWE is attached.

Does anyone know why my style is not being applied?


Thanks,
Alex
Attachments
MWE.zip
(105.3 KiB) Downloaded 125 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

asfarley
Posts: 2
Joined: Sat Aug 11, 2012 5:05 am

custom-bib | Custom Bibliography Style not applied

Post by asfarley »

The problem is solved. The style displays all authors for the initial citation and switches to "et al." for subsequent citations. Now to figure out how to prevent this from happening.

Update:
The fix is to add \citationmode{abbr}. I got this from the harvard manual.
Post Reply