I'm fairly new to {Xe|La}TeX, basically I use it only indirectly via emacs' org-mode. The problem is that UTF-8 input such as arrows (→, right arrow, [Compose]+i on Ubuntu/Gnome) doesn't show up in the result, whereas
Code: Select all
\rightarrow
What could be the problem?
I'm attaching a MWE that, while not made with org-mode, shows the same symptoms and may be due to the same cause.
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage{xltxtra}
\setmainfont[Mapping=tex-text]{Gentium}
\begin{document}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{Gentium}
ng: ŋ \\
glottalStop: ʔ \\
rightarrow: → \\
tex rightarrow: $\rightarrow$ \\
\end{document}