I've got several .bib entries like this:
@article{Guinet:Torp,
author={Louis Guinet},
title={Les toponymes normands \guillemotleft Torp(s)\guillemotright, \guillemotleft Torpt\guillemotright, \guillemotleft Tourp(s)\guillemotright, \guillemotleft Tour(s)\guillemotright},
journal={Annales de Normandie},
volume=30,
number=2,
pages="193--197",
year=1980,
}
but biblatex (or maybe biber) converts them to math mode in the .bbl file:
\field{title}{{Les toponymes normands {$\guillemotleft$}Torp(s){$\guillemotright$}, {$\guillemotleft$}Torpt{$\guillemotright$}, {$\guillemotleft$}Tourp(s){$\guillemotright$}, {$\guillemotleft$}Tour(s){$\guillemotright$}}}
This is invalid and results in the wrong characters coming out. How do I fix this?
MWE:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[backend=biber]{biblatex}
\bibliography{place_names}
\begin{document}
\cite{Guinet:Torp}
\printbibliography
\end{document}
which gives:
LaTeX Warning: Command \guillemotleft invalid in math mode on input line 7. LaTeX Warning: Command \guillemotright invalid in math mode on input line 7. ! Undefined control sequence. ...{$\guillemotright $}, \guillemotlef \t {T}orpt{$\guillemotrigh...
It used to work on earlier versions of TexLive (I am now using what comes with Ubuntu 16).
inputenc. – moewe Jul 22 '17 at 10:25inputenc, e.g.\usepackage[utf8]{inputenc}. (Make sure your file is encoded in UTF-8.) – moewe Jul 22 '17 at 10:38.texfile should be enough, if your files are ASCII anyway that is fully compatible with UTF-8. So you can say they are UTF-8 without changing anything. If you have non-ASCII chars, more care is needed. – moewe Jul 22 '17 at 10:40{\=\i}(in fact any combinations with\i) very well. – moewe Jul 22 '17 at 11:15\iwith a variant of PLK's answer to https://tex.stackexchange.com/q/251261/35864 – moewe Jul 22 '17 at 11:18{\=\i}and replace it byī, then things would work out OK. – moewe Jul 22 '17 at 11:41