BibTeX, biblatex and biberAbbreviated references in Harvard package

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
masher
Posts: 9
Joined: Fri Oct 23, 2009 4:24 am

Abbreviated references in Harvard package

Post by masher »

I have a question about the in-text citations in the Harvard package.

I've come across a problem where I have two references that could be confused if they are referred to in the abbreviated form (same first author, same year); however, the references appear in different sections of my document, and cannot be confused due to the the context in which I use them.

I am unable to force the use of the abbreviated form of the citation using \cite**{ref}.

Does anybody know if this the desired behaviour? Can anyone suggest a workaround? In this section of the document, I make liberal use of \citeasnoun, and having a great list of author's names appearing isn't all that desirable!

I've contacted Peter Williams about it, and he hasn't looked at the code in a decade, so suggested asking the community.

I've attached a minimal working example to illustrate the point.

Code: Select all

Code, edit and compile here:
\documentclass{article}
\usepackage{harvard}
\begin{document}
%first appearence: long form (default behaviour)
1.\\
\cite{Perera_2003_918}\\
\cite{Perera_2004_915}\\
\cite{Perera_2004_920}
%second appearence: should be abbr. form (default behaviour)
% last two refs stay long as they can be confused
2.\\
\cite{Perera_2003_918}\\
\cite{Perera_2004_915}\\
\cite{Perera_2004_920}
%try to force abbr. ref.
% last two stay as long refs, even if forced to abbr.
3.\\
\cite**{Perera_2003_918}\\
\cite**{Perera_2004_915}\\
\cite**{Perera_2004_920}
\begin{thebibliography}{xx}
\harvarditem{Perera, Blackford, Vance, Hanna, Finnie \harvardand\
Nicholson}{2004}{Perera_2004_920}
Perera, D.~S., Blackford, M.~G., Vance, E.~R., Hanna, J.~V., Finnie, K.~S.
\harvardand\ Nicholson, C.~L. \harvardyearleft 2004\harvardyearright .
\newblock Geopolymers for the immobilization of radioactive waste, {\em in}
J.~M. Hanchar, S.~Stroes-Gascoyne \harvardand\ L.~Browning (eds), {\em MRS
Proceedings - Scientific Basis for Nuclear Waste Management XXVIII}, Vol.
824, p.~CC8.35.
\harvarditem{Perera, Nicholson, Blackford, Fletcher \harvardand\
Trautman}{2004}{Perera_2004_915}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Abbreviated references in Harvard package

Post by gmedina »

Hi,

you could try using the citation aliasing mechanism provided by the natbib package; refer to section 2.6 Citation Aliasing (page 10) of the package documentation for further information.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply