BibTeX, biblatex and biberno label in my reference?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
buttnana
Posts: 13
Joined: Mon Sep 28, 2009 10:36 pm

no label in my reference?

Post by buttnana »

this is the code that i have:

Code: Select all

\documentclass{article}

\begin{document}
  \nocite{*}
  \bibliographystyle{jpe}
  \bibliography{mybib}
\end{document}
And the output file is

[Haveman and Wolfe(1990)] Haveman, Robert H. and Barbara L. Wolfe. 1990.
The Economic Well-Being of the Disabled 1962-84." Joumal of Human
Resources 23 (2):489{523.

however, i dont want the labels [Haveman and Wolfe(1990)] in the output, but i dont know how I can do that when I am using bib and bst files.

please help!!!
thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: no label in my reference?

Post by gmedina »

Hi,

you will have to choose the bibliographical style that best suits your needs; please, explain to us your intent regarding the in-text citation style and the bibliography style that you desire, so we can give you some advise.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
buttnana
Posts: 13
Joined: Mon Sep 28, 2009 10:36 pm

Re: no label in my reference?

Post by buttnana »

So the style i want is the Journal of Political Economy. For example,

Haveman, Robert H. and Barbara L. Wolfe. 1990. "The
Economic Well-Being of the Disabled 1962-84." Joumal of Human
Resources 23 (2):489{523.

and NOT

[Haveman and Wolfe(1990)] Haveman, Robert H. and Barbara L. Wolfe. 1990.
The Economic Well-Being of the Disabled 1962-84." Joumal of Human
Resources 23 (2):489{523.

I dont want [1] [2] [3] or any labelling.

Thanks!
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

no label in my reference?

Post by gmedina »

Try adding the following lines to the preamble of your document:

Code: Select all

\makeatletter
  \renewcommand\@biblabel[1]{}
\makeatother
1,1,2,3,5,8,13,21,34,55,89,144,233,...
buttnana
Posts: 13
Joined: Mon Sep 28, 2009 10:36 pm

Re: no label in my reference?

Post by buttnana »

WOW works like a charm! ThankS!! but another thing is, now theres no indent on the second line of the reference.

thanks!
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

no label in my reference?

Post by gmedina »

Hi,

replace my previous suggestion with

Code: Select all

\makeatletter
\renewcommand\@biblabel[1]{}
\renewenvironment{thebibliography}[1]
     {\section*{\refname}%
      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \itemindent-\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}
\makeatother
1,1,2,3,5,8,13,21,34,55,89,144,233,...
buttnana
Posts: 13
Joined: Mon Sep 28, 2009 10:36 pm

Re: no label in my reference?

Post by buttnana »

ooh okay! it works! Thanks!
Post Reply