I have installed MinionPro.sty and like the text part of the font very much for my thesis. I do not like the numbers though since they disturb readability when there are many numbers in the text. So I tried
\usepackage[onlytext]{MinionPro}
\usepackage{mathspec}
\setmathfont(Digits,Latin,Greek){Minion Pro}
My platform is Windows, MikTeX 2.9 (x64). I have also installed "Minion Pro" in C:\Windows\Fonts. When I try compiling in XeLaTeX, I get the following errors:
Undefined control sequence. \setmathfont(Digits,Latin,Greek){Minion Pro}
Missing \begin{document}. \setmathfont(Digits,Latin,Greek){Minion Pro}
Undefined control sequence. \setmathfont(Digits,Latin,Greek){Minion Pro}
Undefined control sequence. \setmathfont(Digits,Latin,Greek){Minion Pro}
Package mathspec Error: `amsmath' must be loaded earlier than 'mathspec'. \RequirePackage{amsmath}
So I compromised and tried Arno Pro for text and MinionPro for math as mentioned here in LuaLaTeX. Installed Arno Pro into Windows fonts.
\usepackage[minionint,mathlf,onlymath]{MinionPro}
\usepackage{fontspec}
\setmainfont[UprightFont=ArnoPro-Regular,
BoldFont=ArnoPro-Bold,
ItalicFont=ArnoPro-Italic,
BoldItalicFont=ArnoPro-BoldItalic,
Numbers={Proportional}]{Arno Pro}
No luck. First two errors with LuaLaTeX are
Undefined control sequence. Numbers={Proportional}]{Arno Pro}
Missing \begin{document}. Numbers={Proportional}]{Arno Pro}
EDIT: Complete main.tex file below
\newif\iflayoutversion
% \layoutversiontrue
\layoutversionfalse
\documentclass[11pt]{book}
\usepackage[dutch,english]{babel}
\usepackage{type1cm}
\usepackage{sty/fncychapleo}
\usepackage[vcentering,dvips]{geometry}
\iflayoutversion
\geometry{papersize={170mm,240mm},total={135mm,165mm}}
% \usepackage[a4,cam,center]{crop}
% \crop[font=\upshape\mdseries\small\textsf]
\else
\geometry{papersize={210mm,297mm},total={165mm,235mm}}
\fi
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
%% Now begin customising things. See the fancyhdr docs for more info.
\renewcommand{\chaptermark}[1]{\markboth{Chapter \thechapter. {#1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection~{#1}}{}}
\renewcommand{\headrulewidth}{0.5pt}
\usepackage{graphicx}
\DeclareGraphicsExtensions{.eps, .jpg, .jpeg, .png}
\usepackage{enumerate}
\usepackage{tabularx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{balance}
\usepackage{subfig}
\usepackage{url}
\usepackage{psfrag}
\usepackage{todonotes}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{algorithmicx}
\usepackage{amsthm}
\usepackage{url}
\usepackage[toc,page]{appendix}
\graphicspath{{./fig/}}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\usepackage[onlytext]{MinionPro}
\usepackage{mathspec}
%\setmainfont{Minion Pro}
\setmathsfont(Digits,Greek)[Numbers={Proportional}]{Minion Pro}
%\setmathfont[range=\mathit]{Minion Pro Italic}
%\usepackage[minionint,mathlf,onlymath]{MinionPro}
%\usepackage{fontspec}
%\setmainfont{MinionPro}[
%Extension = .otf,
%Path = ./fonts/,
%UprightFont = *-Regular,
%BoldFont = *-Bold,
%ItalicFont = *-It,
%BoldItalicFont = *-BoldIt,
%Numbers={Proportional}]
\usepackage[acronym,toc]{glossaries}
\algrenewcommand{\algorithmiccomment}[1]{\hskip3em// #1}
\include{title}
\begin{document}
\input{front-matter}
\fancyhead[LE]{\thepage}
\fancyhead[RE]{\leftmark}
\fancyhead[RO]{\thepage}
\fancyhead[LO]{\rightmark}
%\fancyhead[RO]{{\footnotesize\rightmark}\hspace{2em}\thepage}
\include{chap1/chap}
\graphicspath{{./fig/chap6/}}
\include{chap6/chap}
\begin{appendices}
\include{apndx1/chap}
\end{appendices}
\bibliographystyle{IEEEtran}
\small
\bibliography{IEEEabrv,references}
\end{document}



MinionPro.stysince you don't seem to be using that at all. – cfr Dec 26 '15 at 02:20mathspeccan be used with LuaLaTeX? I don't think so. – egreg Dec 26 '15 at 11:17MinionPro.sty? You can either use Old Style figures for text and/or math by using the optionstextosfand/ormathosfor you can have lining figures in text and/or math by using the optionstextlfand/ormathlf. – Henri Menke Dec 26 '15 at 14:26