I have some entries in my reference list that contain \langle
and \rangle
signs in their title like the one in the following MWE:
\begin{filecontents}{\jobname.bib}
@BOOK{test,
author = {A. Uthor},
title = {A title with some $\langle \Psi \rangle $ stuff},
year = {2014},
publisher = {A Company}
}
\end{filecontents}
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
If I process this MWE with pdflatex
and biber
the \langle
s and \rangle
s are missing in the output and the `pdflatex log file says
Package inputenc Error: Unicode char \u8:⟨ not set up for use with LaTeX.
and
Package inputenc Error: Unicode char \u8:⟩ not set up for use with LaTeX.
I already have tried the tricks from Revtex - using math in footnote without any success. When looking into the .bbl
file generated by biber it turns out, that the title field looks as follows:
\field{title}{A title with some $⟨\Psi ⟩$ stuff}
So obviously biber itself is already replacing the \langle
and \rangle
commands with ⟨
and ⟩
respectively but those are then incompatible with inputenc
.
According to the biblatex
manual I could set the safeinputenc
package option which instructs biber
to try to convert all utf8 encoded stuff into ASCII. This works for the issue described above but it will also cause me new pain with other entries as some of the conversions that biber
tries are leading to wrong results.
So is there some third way that I don't see or am I maybe experiencing a bug in biber
as its conversion to ⟨
and ⟩
is wrong?