BibTeX, biblatex and biberNewbie help with order of apperance in Bibtex

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Calypso
Posts: 5
Joined: Mon Dec 10, 2018 2:16 pm

Newbie help with order of apperance in Bibtex

Post by Calypso »

I am writting a report in Latex (overleaf) and having trouble sorting my references in order of apperance, can someone help me a bit?
Last edited by Calypso on Mon Dec 10, 2018 11:49 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Newbie help with order of apperance in Bibtex

Post by Stefan Kottwitz »

Hi Calypso,

welcome to the forum!

You could use the sorting=none option:

Code: Select all

\usepackage[sorting=none, ...]{biblatex}
Stefan
LaTeX.org admin
Calypso
Posts: 5
Joined: Mon Dec 10, 2018 2:16 pm

Newbie help with order of apperance in Bibtex

Post by Calypso »

Thank you!

When I use \usepackage[sorting=none, ...]{biblatex} in the preamble it shows an error when I compile, the whole document turns red.

\usepackage[sorting=none]{biblatex}
Last edited by Calypso on Mon Dec 10, 2018 11:50 pm, edited 2 times in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Newbie help with order of apperance in Bibtex

Post by Stefan Kottwitz »

Don't load biblatex twice, but add the option to the existing \usepackage command:

Code: Select all

\usepackage[backend=bibtex,
  bibencoding=utf8,
  sorting=none
]{biblatex}
I did not edit the command above in my post but used ... since the code in the question was just a screenshot image, not code text that I could copy and paste and edit. ;-)

Stefan
LaTeX.org admin
Calypso
Posts: 5
Joined: Mon Dec 10, 2018 2:16 pm

Newbie help with order of apperance in Bibtex

Post by Calypso »

\usepackage[backend=bibtex,
bibencoding=utf8
sorting=none
]{biblatex}
\addbibresource{bib/mybib}

Yet my references still don't show in order of apperance :?
Last edited by Calypso on Mon Dec 10, 2018 11:50 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Newbie help with order of apperance in Bibtex

Post by Stefan Kottwitz »

Perhaps it's because you forgot the comma in the code of the previous post aftert bibencoding=utf8 and before sorting=none so biblatex cannot understand the option.

Stefan
LaTeX.org admin
Calypso
Posts: 5
Joined: Mon Dec 10, 2018 2:16 pm

Newbie help with order of apperance in Bibtex

Post by Calypso »

Oh it works now after compiling 10 times, still the red error code appears every second time I compile, but the other times it works just fine
Calypso
Posts: 5
Joined: Mon Dec 10, 2018 2:16 pm

Newbie help with order of apperance in Bibtex

Post by Calypso »

Thank you so much! :P
Post Reply