How can I use the Calibri font in LaTeX? I am using the following commands:
\usepackage{fontspec}
\setmainfont{Calibri}
I get the following error message:
! Fatal fontspec error: "cannot-use-pdftex"
! The fontspec package requires either XeTeX or LuaTeX to function.
! You must change your typesetting engine to, e.g., "xelatex" or "lualatex"
! instead of plain "latex" or "pdflatex".
!
! See the fontspec documentation for further information.