Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have created a .bib file containing the resources. I'm using biblatex with style=numeric. I would like to have in my document the numbers order as I have inserted the corresponding resources in the .bib file.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Use the package option sorting=none and add \nocite{*} in the preamble. Note that this will also assign numbers to entries you don't cite in the document body.

\documentclass{article}

\usepackage[style=numeric,sorting=none]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
@misc{C03,
  author = {Cuthor, C.},
  year = {2003},
  title = {Charlie},
}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

Some text \autocite{A01,B02,C03}.

\printbibliography

\end{document}

enter image description here

share|improve this answer
    
yeah thanks...sorting = none resolved my problem –  Mazzy Nov 19 '12 at 11:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.