BibTeX, biblatex and biberBibliography does not work anymore

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Post by s140504 »

Hello.

I used one of the existing guides to get my bibliography working.
It used to work - now i t doesn't and I'd like your help.

It does not print the bibliography neither does it rekognize the citations.

In main I have:

Code: Select all

%-----bibliography begin -----%
\usepackage[sorting=none]{biblatex}
\addbibresource{Bibliography.bib}
%-----bibliography end -----%
and later (after various texts):

Code: Select all

\pagestyle{empty}
\printbibliography
---
Is it not possible to insert photos here?

Regards Kristian /Denmark
Last edited by Stefan Kottwitz on Tue Sep 25, 2018 1:43 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.

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Bibliography does not work anymore

Post by Johannes_B »

Welcome,

it is possible to attach images. Just go to attachments below the text field when writing a reply.

You have to run an external tool to get the bibliography database processed. Did you run it? What does the blg file say?

Please also have a look at https://en.m.wikibooks.org/wiki/LaTeX/B ... _and_biber
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Post by s140504 »

These are some snippets that I took from code and Latex messages.
Picture1.png
Picture1.png (175.64 KiB) Viewed 29003 times
My problem is that it used to work and now it does not anymore.
I used a guide which included @book-"Einstein" and more and got it working then suddenly it did not anymore.

I will have a look in to your link. If you have any more knowledge based on the pictures please let me know.

Best regards Kristian
s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Post by s140504 »

So I checked your links.

I am on Overleaf and according to what I can see below:
Picture2.png
Picture2.png (6.58 KiB) Viewed 29002 times
there should be no problem.

But when I look at my compiler options I do not have latexmk
Picture3.png
Picture3.png (3.03 KiB) Viewed 29002 times
??

I also have an issue with the frontpage but that issue is solved when I choose XeLaTeX or LuaLateX.

I will look uther in to it. Thanks
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Bibliography does not work anymore

Post by Stefan Kottwitz »

Hi Kristian,

welcome to the forum!

latexmk is a wrapper tool. You could add it to your compiler options, but it's not a must. What you need though, that's BibTeX or biber. Let's try the first one.

First you compile your document with LaTeX (can be either of pdfLaTeX, XeLaTeX, or LuaLaTeX, doesn't matter). Then you need to run bibtex on it. Either at the command line by entering "bibtex documentname" (no file name extension) or by running it as a compiler option in your editor. That generates the bilbliography. Then run the LaTeX compiler again to include it.

The usual routine is, every time you made considerable changes and want to compile,
  • run LaTeX (to compile with your changes)
  • run bibtex (if there were changes in the bibliography or with citations)
  • run LaTeX again (to include the changed bibliography)
  • run LaTeX again (to finally update references, such as page references in the table of contents)
That's why people use latexmk, to run all 4 steps automatically.

I don't run all 4 steps all the time. Just the first one, and from time to time (when bib data changed) or finally, I may run all 4 steps.

Stefan
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Bibliography does not work anymore

Post by Johannes_B »

There is a comma missing after the isbn field.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Post by s140504 »

I might be noob-ish.
When you say command-line you mean to put it in the code?

I don't get the "run bibtex/biber/biblatex" stuff. I just press compile and expect it to work lol.

Take me under your Latex/Overleaf-arms and bring me to paradise.

On bibtex.org I found:
$ latex myarticle
$ bibtex myarticle
$ latex myarticle
$ latex myarticle

This should go in the code? Or somehow in the compiler to get the latexmk working?

Regards from DK, Kristian
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Bibliography does not work anymore

Post by Stefan Kottwitz »

The command line means a terminal window on Mac OS X or on Linux, on windows it means the "cmd" program.

But modern LaTeX editors offer bibliography options by click-compiling or configuring. Which editor are you using?

Stefan
LaTeX.org admin
s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Post by s140504 »

I was moved to Overleaf from ShareLatex.

This is what my browser looks like:
Capture.PNG
Capture.PNG (140.27 KiB) Viewed 28974 times
And the menu:
Capture2.PNG
Capture2.PNG (20 KiB) Viewed 28974 times
By cmd you mean locally on the com like:
Capture3.PNG
Capture3.PNG (2.46 KiB) Viewed 28974 times
Thank you
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Bibliography does not work anymore

Post by Johannes_B »

You have several problems in your document. Fix them.

I mentioned the missing comma earlier.
Overleaf will run the necessary steps for you, but if there are errors, LaTeX has troubles.

Once the errors are fixed, recompile from scratch.

Don't worry about the command line of your OS.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply