My document builds just fine using xelatex, but now I am trying rubber and I get the following error:

$ rubber --module xelatex proposal
Source path uses special characters, error tracking might get confused.
compiling proposal.tex...
/usr/local/texlive/2013/texmf-dist/tex/latex/fontspec/fontspec.sty:41: ..............................................  
/usr/local/texlive/2013/texmf-dist/tex/latex/fontspec/fontspec.sty:41: leading text:  }

I have no idea how to debug this, since the error appears to be in fontspec.sty and not in my document itself.

I don't think I'm doing anything particularly weird in my preamble either:



\lhead{\textit{My Proposal}}
\rhead{\textit{Mark A. Richman}}


\setmainfont[Ligatures=TeX]{Minion Pro}
\setsansfont{Myriad Pro}
\newfontfamily\titlefont[Scale=2.0,Ligatures=TeX]{Minion Pro}
  • 1
    Nothing to do with the actual problem, but you should drop the usage of fontenc when compiling with xelatex and fontspec. – Johannes_B Dec 11 '13 at 14:14
  • Why is that? I'm happy to remove unneeded modules :) – Mark Richman Dec 11 '13 at 14:21
  • 2
    Fontspec selects an encoding by himself. This is EU1 (xetex) or EU2 (luatex). – Johannes_B Dec 11 '13 at 14:26
  • Did you ever puzzle this out? Just started seeing it. – jamtur01 May 23 '15 at 15:18
  • Sorry, I haven't touched LaTeX in almost a year now :( – Mark Richman May 23 '15 at 18:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.