LaTeX forum ⇒ BibTeX, biblatex and biberOscola bibliography not finding references

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
NiallNixon
Posts: 9
Joined: Mon Aug 03, 2015 9:13 am

Oscola bibliography not finding references

Postby NiallNixon » Mon Aug 03, 2015 9:53 am

Hi all,

I've been using LaTeX for quite some years now but only for engineering papers/articles. Now a friend of mine (Law major) is trying to learn how to use it but is having some trouble with their citation method. In law they apparently often use Oscola (https://www.ctan.org/pkg/oscola?lang=en) and this is what seems to be giving the problem. My references are undefined for some reason...

While creating our own documents we ran into problems but even using the example (oscola.tex) in the package example seems to give the same result. See the image below where the output (top is from my output, bottom from example pdf) is slightly different but the references (at least 1, 2 and 3) should be the same.

The correct way:
Image

My output:
Image

Another example (and proof that something fishy is going on) is here on this forum: http://tex.stackexchange.com/questions/233831/modifying-the-oscola-citation-style. The author says it should look like:
Image

But my output is:
Image

I tried all the usual:
1. pdflatex, bibtex, pdflatex, pdflatex
2. Deleting all build files
3. Running just bibtex file with different editor
...

Can anyone tip me as to what is going wrong here?
I'm using Texmaker 4.4.1 and MikTex 2.9.

Tags:

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

Postby Johannes_B » Mon Aug 03, 2015 12:12 pm

oscola is a biblatex style and you have to call biber instead of bibtex. You have not shown any code so i can't be sure though.

How to use biber with my editor?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

NiallNixon
Posts: 9
Joined: Mon Aug 03, 2015 9:13 am

Postby NiallNixon » Mon Aug 03, 2015 12:19 pm

The code was in the link as it was an example of someone else. Here is the code for the second snippit in my starting post:

  1. \documentclass[11pt, letterpaper]{article}
  2. \usepackage[style=oscola, ibidstyle=uc, backend=biber]{biblatex}
  3. \usepackage[style=british]{csquotes}
  4. \bibliography{example.bib}
  5.  
  6. \begin{document}
  7. Example\footcite{housen2002}, another\footcite[3]{housen2002}, one more\footcite{crestonmoly2014}, again\footcite[45]{housen2002}, and again\footcite[45]{housen2002}.
  8. \end{document}


So to answer your question, yes I'm using biber.

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

Postby Johannes_B » Mon Aug 03, 2015 12:22 pm

Buddy, you are not. You are instructing package biblatex to set up everything for the use of biber. But you are calling bibtex as you are saying yourself.

By the way, it should be \addbibresource{<nameOfTheFile>.bib}. The command used in the questin (not answer) is deprecated.

Can you show us the blg-file?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

NiallNixon
Posts: 9
Joined: Mon Aug 03, 2015 9:13 am

Postby NiallNixon » Mon Aug 03, 2015 12:50 pm

Ah I see what you mean, sorry. I'm not as familiar with the workings of bibliographies as I could be. Normally, with non-oscola style citations, it just works. To me it is strange though that a tex file produces totally different output on my system then on the poster of the tex file in question.

Here is my .blg file:

This is BibTeX, Version 0.99dThe top-level auxiliary file: build\test2.aux
I found no \citation commands---while reading file build\test2.aux
I found no \bibdata command---while reading file build\test2.aux
I found no \bibstyle command---while reading file build\test2.aux
(There were 3 error messages)

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

Postby Johannes_B » Mon Aug 03, 2015 12:56 pm

See, this is BibTeX. You need to cal biber.

How do i call biber with my editor?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

NiallNixon
Posts: 9
Joined: Mon Aug 03, 2015 9:13 am

Postby NiallNixon » Mon Aug 03, 2015 2:07 pm

Thanks again. Getting somewhere now, at least it's finding the references. The output of the .blg file is now:

[0] Config.pm:318> INFO - This is Biber 1.8
[1] Config.pm:321> INFO - Logfile is 'test2.blg'
[143] biber-MSWIN:272> INFO - === %a %b %e, %Y, %H:%M:%S
[144] Biber.pm:333> INFO - Reading 'test2.bcf'
[264] Utils.pm:169> WARN - Warning: Found biblatex control file version 2.7, expected version 2.5
[265] Biber.pm:630> INFO - Found 2 citekeys in bib section 0
[293] Biber.pm:3053> INFO - Processing section 0
[323] Biber.pm:3190> INFO - Looking for bibtex format file 'example.bib' for section 0
[325] bibtex.pm:812> INFO - Found BibTeX data source 'example.bib'


Besides the fact that the pdf now doesn't appear automatically in texmaker, if I open it, the references are still bold and not written full (just the bold citation key).

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

Postby Johannes_B » Mon Aug 03, 2015 2:23 pm

Your versions of biblatex and biber aren't matching. Please update your TeX-distribution. If you are running MikTeX, do it in user and admin mode.

Don't forget to make the latex-run at the end.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

NiallNixon
Posts: 9
Joined: Mon Aug 03, 2015 9:13 am

Postby NiallNixon » Mon Aug 03, 2015 11:13 pm

The update seemed to finally do it, thanks again for all that, cheers!


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 6 guests