I am using a .bib file exported from Zotero with BetterBibTeX. I have activated the option export unicode as plain-text latex commands in the Better BibTex export options for BibLaTeX. I am stuck with pdftex and cannot swtich to XeLaTeX.
I was having errors regarding some unicode characters, such as ⟨:
! Package inputenc Error: Unicode char ̂ (U+302)
(inputenc) not set up for use with LaTeX.
I'm using \usepackage[utf8]{inputenc}, and I could fix the trouble with the angled brackets by loading the newunicodechar package and adding the following definitions to my preamble following this question:
\newunicodechar{⟨}{$\langle{}$}
\newunicodechar{⟩}{$\rangle{}$}
But how to do this for U+302 as it is a compounding character? The citation is a French name with î in the name. The .bib file contains
author = {Lalanne, Jean-Beno{\^\i}t}
I tried with
\newunicodechar{î}{\^{i}}
but it does not recognize the command. Next up:
\DeclareUnicodeCharacter{302}{\^{}}
which makes the error disappear but the output is Jean-Benoıˆt. I'm out of ideas.
Unicode char ⟨ (U+27E8). So in a way it solved my problem with the circumflex. – user334287 Jan 15 '18 at 07:22Beno{\^i}tor, directly,Benoît. Since Biber is able to read Unicode, you may try not setting the “Unicode as plain-text LaTeX commands”. – egreg Jan 15 '18 at 07:22\i/iare a bit tricky, see: https://tex.stackexchange.com/q/251261/35864. Not all unicode characters are recognised byinputencout of the box, that is why you need code for the angled brackets. – moewe Jan 15 '18 at 07:39biber --output-safechars ...– Jan 15 '18 at 07:50\iissue is a known one, and so your question could be considered a duplicate of https://tex.stackexchange.com/q/251261/35864 (or any of the other\iquestions). But the question about the⟨could be more interesting. It would greatly help us if you could show us an MWE and update your question with your current approach. – moewe Mar 01 '18 at 11:02