% Autocento book LaTeX.  For compiling all of the smaller LaTeX files
% into one big book file (for proper pagination, etc).  Use this to
% include all the other files & run latex on it (or xelatex?).  Yeah.
\documentclass{book}
% Font specifications
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\setmainfont{Linux Libertine}
\setmonofont{Courier Prime}
\newfontfamily{\titlefont}{Playfair Display}
\newfontfamily{\typewrite}{Courier Prime}
% TOC & LOF (t?)
\usepackage{tocloft}
% Page geometry
\usepackage[letterpaper, inner=1in, outer=1in, top=1in, bottom=1in]{geometry}
% Fancy header
\usepackage{fancyhdr}
\fancyhead{}
\fancyhead[RO,LE]{\thepage}
% \leftmark = chapter number
% \rightmark = section number
\fancyhead[LO,RE]{\nouppercase{\leftmark} -- \nouppercase{\rightmark}}
\fancyfoot{}
\fancyfoot[RO,LE]{}
\fancyfoot[LO,RE]{}
% Document information
\title{Autocento of the breakfast table}
\author{Case Duckworth}
% new commands for pages' metadata
\newcommand{page}[2]{%
    \pagebreak
    \label{#2}
    \section{#1}
}
%\newcommand{subt}[1]{{\large \emph{#1}}}
\newcommand{epigraph}[2]{content, attrib#1#2}
\newcommand{dedication}[1]{\emph{for #1}}
\newcommand{ekphrastic}[1]{image#1}
% renew commands for other stuff
\renewcommand{href}[2]{target, text#1#2}
% new environments for prose, etc.
\newenvironment{prose}{}{}
% \newenvironment{list}{}{}
\newenvironment{table}{}{}

\begin{document}

\begin{titlepage}
     fancy title page goes here
\end{titlepage}

\pagestyle{fancy}
\frontmatter
 include front-matter stuff here
 
\mainmatter
 include all pages here
 
\end{document}
