BibTeX, biblatex and biberReferences are not numbered

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
ahmedlasheen
Posts: 43
Joined: Wed Oct 27, 2010 10:25 pm

References are not numbered

Post by ahmedlasheen »

Hello All
I am using plainnat bibliography style, one major problem problem is that the reference are not numbered, also in citation the hyper link is divided so there one box around author year and other box around author name, how can I make two boxed just a one box.
the following are mini example

Code: Select all

\documentclass[a4paper,preprint,review,12pt]{elsarticle}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage{hyperref}
\biboptions{round,comma,authoryear}

\begin{document}
\section{Introduction}
first \citep{nicholson1996review}, second   \citep{saji1999dipole} 
\nocite{*}
\section*{Refernce}
\bibliography{africa}
\bibliographystyle{plainnat}
\end{document}
the bib file is

Code: Select all

@article{nicholson1996review,
  title={A review of climate dynamics and climate variability in eastern Africa},
  author={Nicholson, SE},
  journal={The limnology, climatology and paleoclimatology of the East African lakes},
  pages={25--56},
  year={1996},
  publisher={Gordon and Breach Amsterdam,, The Netherlands}
}
@article{saji1999dipole,
  title={A dipole mode in the tropical Indian Ocean},
  author={Saji, NH and Goswami, Bhupendra Nath and Vinayachandran, PN and Yamagata, T},
  journal={Nature},
  volume={401},
  number={6751},
  pages={360--363},
  year={1999},
  publisher={Nature Publishing Group}
}

@article{vinayachandran2009indian,
  title={Indian Ocean dipole: processes and impacts},
  author={Vinayachandran, PN and Francis, PA and Rao, SA},
  journal={Current trends in science},
  pages={569--589},
  year={2009},
  publisher={Indian Academy of Sciences}
}
I have attached the pdf file
thanks in advance
Attachments
test.pdf
(34.8 KiB) Downloaded 946 times

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

References are not numbered

Post by cgnieder »

ahmedlasheen wrote:I am using plainnat bibliography style, one major problem problem is that the reference are not numbered,
That's because you've set up author-year referencing:

Code: Select all

\biboptions{round,comma,authoryear}
If you remove authoryear you'll get numbers instead.

Regards
site moderator & package author
ahmedlasheen
Posts: 43
Joined: Wed Oct 27, 2010 10:25 pm

Re: References are not numbered

Post by ahmedlasheen »

thanks for your answer
yes that's right when I remove the author year, the bibliography get numbers, but in citation I found that the author name and year disappeared, Actually in a lot of journal both citation are written with author name , year and also the bibliography has numbers so how can I have both things simultaneously.

thanks in advance
Post Reply