%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

\documentclass[11pt,openany,oneside]{memoir} 
\usepackage{graphicx,color} 
\usepackage{wrapfig}
\usepackage{parallel}
\usepackage{xltxtra}
\usepackage{polyglossia} 
\setdefaultlanguage{english} 
\setotherlanguage[variant=ancient]{greek} 
\setotherlanguage{hebrew} 
\usepackage{csquotes} 
\RequirePackage{relsize} 
% next 3 lines to get small blockquote
\newenvironment*{smallquote}{\quote\small}{\endquote} 
\SetBlockEnvironment{smallquote} 
\SetBlockThreshold{2} 
\usepackage[natbib=true,style=authortitle-icomp]{biblatex} 
\bibliography{history,exegesis,archaeology,sources,general} 
\setromanfont[Mapping=tex-text,
			Numbers=OldStyle]
				{Junicode} % BoldFont={fontname}
\chapterstyle{wilsondob}
%demo, companion, thatcher, dowding, southall
\pagestyle{companion}
%ruled, companion, 
\setsecheadstyle{\large\scshape
\raggedright} 
\newfontinstance\hebrewfont[Script=Hebrew,Scale=MatchLowercase]{NewJerusalemU} 
\newfontinstance\greekfont[Scale=MatchLowercase]{Junicode}                                
\includeonly{Gen_11} 
\usepackage[colorlinks,linkcolor=blue]{hyperref}


\begin{document} 
\frontmatter 
\begin{titlingpage}
\title{\textsc{Notes for a commentary on Genesis}} 
\author{Gildas Hamel} 
\date{} 
\maketitle 
\end{titlingpage}
\killtitle 
\tableofcontents*

%\chapter*{Preface}
\mainmatter 
\include{Gen_00} 
\include{Gen_01} 
\include{Gen_04} 
\include{Gen_06-10} 
\include{Gen_11} 
\include{Gen_12} 
\include{Gen_17} 
\include{Gen_20} 
\include{Gen_22} 
\include{Gen_23} 
\include{Gen_24} 
\include{Gen_27} 
\include{Gen_29} 
\include{Gen_30} 
\include{Gen_31} 
\include{Gen_32} 
\include{Gen_34} 
\include{Gen_37} 
\include{Gen_38} 
\include{Gen_40} 
\include{Gen_42} 
\include{Gen_49}

\backmatter 
\printbibliography 
\end{document} 
