BibTeX, biblatex and biberrunning biblatex with utf-8 bib data

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
GeoffRussell
Posts: 4
Joined: Wed Nov 26, 2014 1:14 am

running biblatex with utf-8 bib data

Post by GeoffRussell »

Hi biblatex people ...

I'm trying to learn how to work with utf-8 bib entries and am having difficulties. Below is my example, I've tried using lualatex and pdflatex, but either way ... biber crashes ... which I don't understand, since I thought it could handle utf8.

Thanks,
Geoff

Code: Select all

\begin{filecontents}{\jobname.bib}
@article{vanDerWerfLCA,
author={van der Werf, Hayo M and ,G. and Corson,Michael S. and Wilfart,Aurélie},
year={2013},
month={06},
title={LCA Food 2012--towards sustainable food systems},
journal={The International Journal of Life Cycle Assessment},
volume={18},
number={5},
pages={1180-1183},
}
\end{filecontents}
\documentclass{article}
\usepackage{csquotes}
\usepackage[british]{babel}
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\addbibresource{\jobname.bib}
\begin{document}
Article by \parencite{vanDerWerfLCA}
\printbibliography
\end{document}

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

running biblatex with utf-8 bib data

Post by Johannes_B »

Very good example.

Biber generates a log file of its own, the biber log or short blg. This is the most important source for help.

Running your example shows me a warning, that the last name of ,G could not be determined. Have a look at your author, there is some messy stuff.

It will run fine after you fixed the names and separated them with the proper and (as you already do).
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
GeoffRussell
Posts: 4
Joined: Wed Nov 26, 2014 1:14 am

Re: running biblatex with utf-8 bib data

Post by GeoffRussell »

Ah... thankyou.

But my real code still failed and I've now also realised I needed an \usepackage[utf8]{inputenc} for non-ascii chars in the bbl file. Now it all
runs :D
Post Reply