Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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:

\documentclass[letterpaper,11pt,oneside]{report} 

\usepackage[T1]{fontenc}
\usepackage[final]{microtype}
\usepackage[margin=1.0in]{geometry}
\usepackage{graphicx}
\usepackage{fontspec}
\usepackage[backend=bibtex,url=false]{biblatex}
\usepackage{hyperref}
\usepackage{titlesec}
\usepackage{fancyhdr}
\usepackage{lipsum}

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

\renewcommand{\chaptername}{}
\setcounter{chapter}{0}
\titleformat{\chapter}{\normalfont\huge\bfseries}{\chaptertitlename\thechapter}{1em}{}
\titleclass{\chapter}{straight}

\setmainfont[Ligatures=TeX]{Minion Pro}
\setsansfont{Myriad Pro}
\setmonofont[Scale=MatchLowercase]{Menlo}
\newfontfamily\titlefont[Scale=2.0,Ligatures=TeX]{Minion Pro}
\urlstyle{same}
share|improve this question
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.