I've been struggling with trying to get Greek characters to typeset in my bibliography for a while now, but can't seem to find a solution that works for me.
Here is a MWE of the .tex
I am working with:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber, bibencoding=utf8]{biblatex}
\addbibresource{library.bib}
\begin{document}
Here is the citation: \cite{duchowski_2012}
\printbibliography
\end{document}
And the relevant entry in library.bib
:
@inproceedings{duchowski_2012,
title = {τεχνη Photons: Evolution of a Course in Data Structures},
pages = {49-56},
booktitle = {Eurographics 2012-Education Papers},
author = {Duchowski, Andrew T.},
date = {2012}
}
After running XeLaTeX and Biber, the .bbl
file has the Greek characters correct. However, running XeLaTeX the second time, the typeset citation is:
[1] A. T. Duchowski. “ Photons: Evolution of a Course in Data Structures”. In: Eurographics 2012- Education Papers. 2012, pp. 49–56.
and the .log
file has these lines:
[1]
Missing character: There is no τ in font cmr10!
Missing character: There is no ε in font cmr10!
Missing character: There is no χ in font cmr10!
Missing character: There is no ν in font cmr10!
Missing character: There is no η in font cmr10!
The problem is, I am restricted to Times New Roman or Computer Modern for the majority of the document. I'm sure there is an exception for typesetting the Greek characters, but I don't want to change the font of the entire bibliography. Any suggestions on a workaround?
Best Answer
With XeLaTeX you mustn't use
inputenc
; for getting full Unicode support,fontspec
is needed instead. However, the default font you get is Latin Modern (very similar to Computer Modern) which hasn't Greek letters. You can get by withucharclasses
The trick with
ucharclasses
shouldn't be necessary if you use an OpenType version of Times that has Greek glyphs.