}%
}
-\XeTeXgenerateactualtext=1
+% not supported on texlive version on jessie, and has weird side effects in some readers
+%% \XeTeXgenerateactualtext=1
%% \DeclareOption{14pt}{\renewcommand{\normalsize}{\AtEndOfClass{\fontsize{14}{17}\selectfont}}}
\newif\ifshowtoc \showtoctrue
\DeclareOption{notoc}{\showtocfalse}
-\newif\ifsansfont \sansfontfalse
-\DeclareOption{sansfont}{\sansfonttrue}
+%\newif\ifsansfont \sansfontfalse
+%\DeclareOption{sansfont}{\sansfonttrue}
\newif\ifmargins \marginstrue
\DeclareOption{nomargins}{\marginsfalse}
\usepackage{scalefnt}
\usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref}
-\ifsansfont
-\renewcommand{\familydefault}{\sfdefault}
-\fi
+%\ifsansfont
+%\renewcommand{\familydefault}{\sfdefault}
+%\fi
\newfontfamily\alien[
SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
%LetterSpace=-1.0
%] {NotoSerif}
-\setsansfont [
-UprightFont = NotoSansDisplay-Regular,
-ItalicFont = NotoSansDisplay-Italic,
-BoldFont = NotoSansDisplay-Regular,
-BoldItalicFont = NotoSansDisplay-Italic,
-SmallCapsFont = NotoSansDisplay-Regular,
-SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
-Scale=1.04,
-LetterSpace=-1.0
-] {NotoSansDisplay}
+%\setsansfont [
+%UprightFont = NotoSansDisplay-Regular,
+%ItalicFont = NotoSansDisplay-Italic,
+%BoldFont = NotoSansDisplay-Regular,
+%BoldItalicFont = NotoSansDisplay-Italic,
+%SmallCapsFont = NotoSansDisplay-Regular,
+%SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}},
+%Scale=1.04,
+%LetterSpace=-1.0
+%] {NotoSansDisplay}
\defaultfontfeatures{
SizeFeatures={