LaTeX forum ⇒ BibTeX, biblatex and biberReferences no sorting. List as entered in .bib file Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
oozypal
Posts: 8
Joined: Fri Dec 21, 2012 8:46 am

References no sorting. List as entered in .bib file

Postby oozypal » Sat Oct 03, 2015 10:28 am

Hello,

I am trying to solve a problem I faced with my Prof. when we tried to publish one paper. The issue was that Latex sort the references either by alphabetical order or by the way they were referenced in the paper. My Prof. is old and sometimes when he make notes for me, he writes, "Add Ref. 32 here". Unfortunately, Ref. 32 is no longer 32 because I added other references to .bib. Therefore, I thought that I would keep the references number as they are entered in the .bib file so they keep their number until the paper is ready to be submitted.

My question is how to make latex list references as they were entered in the .bib without sorting whatsoever?

Note: I am using bibtex.

Thank you
OOzy

Tags:

rais
Posts: 152
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Sat Oct 03, 2015 10:56 am

A \nocite{*} before the first \cite command in combination with one of the unsrt styles might do what you want.

KR
Rainer

User avatar
Johannes_B
Site Moderator
Posts: 3662
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Oct 03, 2015 10:58 am

Welcome,

I'm not sure this is possible. And i don't think beeing an old professor is an excuse for ambiguity ;-)

Prepare a standalone document with a numbered bibliography. Use this as a reference point for both of you. It will not change and the references will stay the same.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

oozypal
Posts: 8
Joined: Fri Dec 21, 2012 8:46 am

Postby oozypal » Sat Oct 03, 2015 12:06 pm

Rainer,

rais wrote:A \nocite{*} before the first \cite command in combination with one of the unsrt styles might do what you want.


This did the trick.

Johannes_B wrote:I'm not sure this is possible. And i don't think beeing an old professor is an excuse for ambiguity ;-)


Johannes, have ever tried to teach an old dog a new trick? :lol: :lol:

With this trick I can keep references with the same number until we are done then I will remove this code to bring everything back to normal.



At any rate, I, wholeheartedly, thank both of you.

OOzy


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 3 guests