BibTeX, biblatex and biberProblem with citation - No publisher shown in article

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
shrutikapoor
Posts: 6
Joined: Thu Dec 10, 2009 4:38 am

Problem with citation - No publisher shown in article

Post by shrutikapoor »

Hi All,

I am experiencing two problems.

1. My publisher name does not show up if the citation is an article
2. The author name does not show up correct for certain cases.

Here is an example of my bib file:

@article{SurveyDHS,
title={{Demographic and Health Survey, India 1998/99 Final Report.}},
author={International Institute of Population Science},
number={SR81},
year={1998},
}


@article{dyson1983,
title={{On kinship structure, female autonomy, and demographic behavior in India}},
author={Dyson, T. and Moore, M.},
journal={Population and Development Review},
volume={9},
number={1},
pages={35--60},
year={1983},
publisher={Population Council},
}

@book{boserup2007,
title={{Woman's role in economic development}},
author={Boserup, E. and Kanji, N. and Tan, S.F. and Toulmin, C.},
year={2007},
publisher={Earthscan/James \& James},
}



@article{Indiapop2000,
title={National Population Policy 2000},
author={Government of India},
year={2000},
publisher={New Delhi, Ministry of Health and Family Welfare},
}

@article{India2006,
title={Sample Registration Bulletin},
author={Government of India},
volume={40},
number={1},
year={2006},
}

So for example the last one, the citation shows up as" of India G. (2006), 'Sample Registration Bulletin'

What i want is "Government of India, (2006), 'Sample Registration Bulletin"

For a lot of my citations i am getting this problem where the author's name starts with "Of...."

In the articles which have a publisher, the publisher does not show up at all.

I am using harvard style. Here is an excerpt from my tex file

\documentclass[oneside,final]{ucr}
\usepackage{amssymb}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{bm}
\usepackage{amsmath}
\usepackage{mathrsfs}
\usepackage[final=false]{hyperref}
\usepackage{graphicx, multicol, multirow, subfigure, setspace, rotating}
\usepackage{harvard}
%\usepackage[round, sort, numbers]{natbib}
%\usepackage{fmtcount} % displaying latex counters
%\usepackage{graphics}
\usepackage{flafter}
\usepackage{sw20uctd}


Please let me know if anyone can help me resolve these two problems.

Thanks,
Shruti

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with citation - No publisher shown in article

Post by localghost »

shrutikapoor wrote:[…] Here is an excerpt from my tex file […]
Please provide a short but full example, called a minimal working example (MWE). Loose code snippets are not helpful. And please tag code as such by using the code environment of the forum software.


Best regards and welcome to the board
Thorsten¹
shrutikapoor
Posts: 6
Joined: Thu Dec 10, 2009 4:38 am

Re: Problem with citation - No publisher shown in article

Post by shrutikapoor »

Hello,

Here is an example of the tex file i am using and the bibliography in txt form (since it did not allow me to upload .bib file) file along with it.
Like i mentioned, i am not able to get the citations properly.

The citations don't show up in the text when i execute it. Plus in some citations the publisher does not show up.

Thanks
Attachments
thesis.txt
(10.47 KiB) Downloaded 505 times
example.tex
(1.66 KiB) Downloaded 529 times
olofos
Posts: 56
Joined: Tue Nov 24, 2009 10:37 pm

Problem with citation - No publisher shown in article

Post by olofos »

In this example you are not using the harvard style, but plain. This style does not include the publisher for articles. Plain also does not provide support for the extended citation commands of harvard.sty, so in the example all citations show up as "?". You have to use a style designed for the harvard package, see the package documentation.

Also note that there bibtex spits out many warnings and errors when run. For example it doesn't have a clue (and nor do I) of who is the authors in the entry

Code: Select all

@article{chau2006,
  title={{District-level Variations in Infant Mortality in Sri Lanka: A Challenge to Achieving the Millennium Development Goals on Child Survival}},
  author={Chaudhury, Rafiqul, H., Gunasekera, P. and Dunasekara, D.},
  journal={Regional Health Forum},
  volume={10},
  number={1},
  year={2006},
}
Each author should be separated by the token "and". Also you have some entries ending with ", et. all". That should be written as "and others". Finally some entries are just malformed, eg., the entry Cain1966.
shrutikapoor
Posts: 6
Joined: Thu Dec 10, 2009 4:38 am

Re: Problem with citation - No publisher shown in article

Post by shrutikapoor »

Thank You olofos.

I changed the style to agsm and that solved part of the problem. But not citations like:

@article{govofindia2,
title={{Sample Registration Bulletin}},
author={Government of India,},
volume={40},
number={1},
year={2006},
}
are not coming out properly in the bibliography.

What it publishes is

"of India, G. (2006), 'Sample Registration Bulletin', 40(1)
The same is true for some others.

Any ways to get around this when we use agsm. Do i need to specify the author is some other way?

Thanks
olofos
Posts: 56
Joined: Tue Nov 24, 2009 10:37 pm

Problem with citation - No publisher shown in article

Post by olofos »

The author field {Government of India,} contains an extra comma. With the agsm style bibtex reports nine errors for this line alone!

However, this is not the cause of you problem. Bibtex interprets this name by splitting into three parts: given name (Government), von-part (of) and last name (India). This makes sense if you consider a citation to, eg., "Carl von Linné" (a bad example since most of his works he published as "Carolus Linnaeus", but it was the von-name that came to my mind :) ). In the style you use this should be rendered as "von Linné, Carl".

There are two ways to prevent bibtex from splitting the name. The simplest is to enclose the name in an extra set of brackets:

Code: Select all

author = {{Government of India}}
A slightly more robust way would be to prevent bibtex to see the parts of the name which it uses to distinguish the different parts -- the spaces. We do this by writing

Code: Select all

author = {Government{ }of{ }India}
This is preferable since it still allows bibtex to act on the rest of the words. If you ever were to use a style that, eg., puts everything in uppercase. The first method would prevent bibtex from changing the case of the author field. The second case works as expected.
shrutikapoor
Posts: 6
Joined: Thu Dec 10, 2009 4:38 am

Re: Problem with citation - No publisher shown in article

Post by shrutikapoor »

Thank You olofos,

I tried all 3 ways you recommended, it did not fix the problem. Is is working at your end when you did this? Here is the citations:

@article{Indiapop2000,
title={National Population Policy 2000},
author={of India, Government},
year={2000},
publisher={New Delhi, Ministry of Health and Family Welfare},
}


@article{govofindia2,
title={{Sample Registration Bulletin}},
author={Government{ }of{ }India},
volume={40},
number={1},
year={2006},
}

@article{govofindia2,
title={{Sample Registration Bulletin}},
author={{Government of India}},
volume={40},
number={1},
year={2006},
}
olofos
Posts: 56
Joined: Tue Nov 24, 2009 10:37 pm

Problem with citation - No publisher shown in article

Post by olofos »

The first of these three forms was not what I recommended -- the name is still split in three parts. The other two forms give what I expect.

Try this sample:

Code: Select all

\documentclass[12pt]{article}
\usepackage{harvard}

\begin{filecontents}{test.bib}
@article{govofindia2b,
title={{Sample Registration Bulletin}},
author={Government{ }of{ }India},
volume={40},
number={1},
year={2006},
}

@article{govofindia2a,
title={{Sample Registration Bulletin}},
author={{Government of India}},
volume={40},
number={1},
year={2006},
}
\end{filecontents}

\begin{document}

\citeasnoun{govofindia2a}

\citeasnoun{govofindia2b}

\bibliographystyle{agsm}
\bibliography{test}

\end{document}
If this does not give what you want you expect to be more specific with exactly how you want it to look.
shrutikapoor
Posts: 6
Joined: Thu Dec 10, 2009 4:38 am

Re: Problem with citation - No publisher shown in article

Post by shrutikapoor »

My Mistake, i was using the old bib file.
It works perfectly. Thank You so much for all your help :)
Post Reply