BibTeX, biblatex and biberOscola bibliography not finding references

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

Oscola bibliography not finding references

Post by NiallNixon »

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/ ... tion-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.

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

Oscola bibliography not finding references

Post by Johannes_B »

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

Oscola bibliography not finding references

Post by NiallNixon »

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:

Code: Select all

\documentclass[11pt, letterpaper]{article}
\usepackage[style=oscola, ibidstyle=uc, backend=biber]{biblatex}
\usepackage[style=british]{csquotes}
\bibliography{example.bib}

\begin{document}
Example\footcite{housen2002}, another\footcite[3]{housen2002}, one more\footcite{crestonmoly2014}, again\footcite[45]{housen2002}, and again\footcite[45]{housen2002}.
\end{document}
So to answer your question, yes I'm using biber.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Oscola bibliography not finding references

Post by Johannes_B »

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

Oscola bibliography not finding references

Post by NiallNixon »

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: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Oscola bibliography not finding references

Post by Johannes_B »

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

Oscola bibliography not finding references

Post by NiallNixon »

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: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Oscola bibliography not finding references

Post by Johannes_B »

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

Re: Oscola bibliography not finding references

Post by NiallNixon »

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