LaTeX forum ⇒ BibTeX, biblatex and biberBibliography does not work anymore Topic is solved

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

Bibliography does not work anymore

Postby s140504 » Mon Sep 24, 2018 2:57 pm

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:
  1. %-----bibliography begin -----%
  2. \usepackage[sorting=none]{biblatex}
  3. \addbibresource{Bibliography.bib}
  4. %-----bibliography end -----%


and later (after various texts):
  1. \pagestyle{empty}
  2. \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.
Reason: code marked

Tags:

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

Postby Johannes_B » Mon Sep 24, 2018 4:19 pm

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

Postby s140504 » Tue Sep 25, 2018 12:03 pm

These are some snippets that I took from code and Latex messages.
Picture1.png
Picture1.png (175.64 KiB) Viewed 531 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

Postby s140504 » Tue Sep 25, 2018 12:27 pm

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 530 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 530 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: 9323
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Sep 25, 2018 1:56 pm

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
Site admin

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

Postby Johannes_B » Tue Sep 25, 2018 2:10 pm

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

Postby s140504 » Wed Sep 26, 2018 1:54 pm

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: 9323
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Sep 26, 2018 1:59 pm

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
Site admin

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

Postby s140504 » Wed Sep 26, 2018 3:10 pm

I was moved to Overleaf from ShareLatex.

This is what my browser looks like:
Capture.PNG
Capture.PNG (140.27 KiB) Viewed 502 times


And the menu:
Capture2.PNG
Capture2.PNG (20 KiB) Viewed 502 times


By cmd you mean locally on the com like:
Capture3.PNG
Capture3.PNG (2.46 KiB) Viewed 502 times


Thank you

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

Postby Johannes_B » Wed Sep 26, 2018 3:40 pm

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.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests