TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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}
share|improve this question
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
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 posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.