Here is a WME:
\documentclass{article}
\usepackage{fontspec,xltxtra,xunicode,xgreek,textcomp}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{Hoefler Text} % Main document font
\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{GillSans} % Font for your name at the top
\usepackage[english,greek]{babel}
\usepackage[utf8]{inputenc}
\begin{document}
καλημερα
\end{document}
The output is boxes instead of greek characters. What is wrong?
PS: I could write my document with latin characters and I could produce the greek characters using \selectlanguage{} command, but I would like to avoid it
inputenc(and alsoxltxtra,xunicodeandtextcompare unnecessary). – egreg Jul 17 '15 at 09:55Missing character: There is no κ in font Hoefler Textin the log file. – egreg Jul 17 '15 at 10:01\greekfontwithpolyglossia, then that font will be used for Greek (but of course it can't be Hoefler Text). – egreg Jul 17 '15 at 10:32Undefined control sequence \greektext– egreg Jul 17 '15 at 10:38