> This error message is wrong because I am using pdflatex to compile. The error message is because you used pdflatex. You have included the fontspec package, and that requires xelatex or lualatex and does not work with pdflatex. David