\documentclass[11pt]{memoir}

\def\watermarkloaded{0}

\input{includes/variables}
\input{includes/draft}
\input{includes/frame}
\input{includes/packages}
\input{includes/pagelayout}
\input{includes/geometry}
\input{includes/toc}
\input{includes/font}
\input{includes/title}
\input{includes/secdiv}
\input{includes/hyphenation}

\newcommand{\Char}[1]{
  \cleardoublepage
  \null
  \thispagestyle{empty}
  \vfill
  \begin{center}
    \huge\TitleFont #1
  \end{center}
  \vspace{2cm}
  \vfill
}

\begin{document}
  \frontmatter

  \thispagestyle{empty}
  \null
  \vfill
  \begin{flushright}
    \DisplayFont Idumea
  \end{flushright}
  \vfill
  \cleardoublepage

  \pagestyle{empty}

  \doublespacing

  \begin{center}\DisplayFont
    \null
    \vfill
    {\Huge Idumea}
    \vspace{1ex}

    {\Huge ×}
    \vspace{1ex}

    {\Large A Post-Self story}
    \vspace{2em}

    \vfill

    {\Large Madison Rye Progress}

    with contributions from

    {\Large Samantha Yule Fireheart

    Krzysztof “Tomash” Drewniak}
  \end{center}
  \thispagestyle{empty}

  \newpage

  \input{includes/copyright}

  \newpage
  \null
  \cleardoublepage

  \onehalfspacing
  %\doublespacing

  \null
  \vfill
  \noindent\textbf{Note:} this book touches on the plots of The Post-Self Cycle, as well as that of \emph{Marsh}. It is still a standalone novel, but might benefit from having read those works first. They may all be found \emph{post-self.ink} as paperbacks, ebooks, and free to read in the browser.
  
  \vspace{1cm}
  
  \noindent\textbf{Content notes:} brief description of sex, themes of self harm, suicide, and poor mental health.
  \vspace{1cm}
  
  \noindent The section with Warmth In Fire on page \pageref{warmth} is a collaboration with Samantha Yule Fireheart.
  \vspace{1em}

  \noindent The section with The Dog and The Rabbit Chaser on page \pageref{thedog1} is a collaboration with Krzysztof ``Tomash'' Drewniak.

  \cleardoublepage
  \thispagestyle{empty}
  \tableofcontents*
  \null
  \thispagestyle{empty}

  \newpage
  \singlespacing

  \begin{center}
  {\Large \DisplayFont \underline{Dramatis Personae}}

  \vspace{0.7em}
  
  {\DisplayFont\underline{The Ode clade}}

  \vspace{0.7em}

  {\DisplayFont\small Your Humble Narrator}

  Dear The Wheat And Rye Under The Stars

  \vspace{0.7em}

  {\DisplayFont\small The Woman}

  To Pray For The End Of Endings

  \vspace{0.7em}

  {\DisplayFont\small Her Friend}
  
  I Must Show No Hesitation When Speaking My Name

  \vspace{0.7em}

  {\DisplayFont\small Her Therapist}

  Where I May Ever Dream

  \vspace{0.7em}

  {\DisplayFont\small Her Cocladist}

  Should We Rejoice In The End Of Endings

  \vspace{0.7em}

  {\DisplayFont\small The Oneirotect}

  Which Offers Heat And Warmth In Fire

  \vspace{0.7em}

  {\DisplayFont\small The Instance Artist}

  Dear, Also, The Tree That Was Felled

  \vspace{0.7em}

  {\DisplayFont\small The Poet}

  Where It Watches the Slow Hours Progress

  \vspace{0.7em}

  {\DisplayFont\small The Musician}

  Beholden To The Heat Of The Lamps

  \vspace{0.7em}

  {\DisplayFont\small The Child}

  And We Are The Motes In The Stage-Lights

  \vspace{0.7em}

  {\DisplayFont\small The Narrator's Friend}

  Time Is A Finger Pointing At Itself
  
  \vspace{0.7em}

  {\DisplayFont\small The Blue Fairy}

  I Remember The Rattle Of Dry Grass

  \newpage
  
  \phantom{\Large \DisplayFont \underline{Dramatis Personae}}

  \vspace{0.7em}

  {\DisplayFont\underline{Others}}

  \vspace{0.7em}

  {\DisplayFont\small Her Lover}

  Farai

  \vspace{0.7em}

  {\DisplayFont\small The Dog}

  Scout Among Weird Skunks With Good Kettlecorn

  \vspace{0.7em}

  {\DisplayFont\small His Elder}

  Tomash

  \vspace{0.7em}

  {\DisplayFont\small The Rabbit-Chaser}

  \fbox{\rule{1in}{0pt}\rule[0.2ex]{0pt}{1.1ex}} (called ``Scout Chasing Rabbits'')

  \vfill

  And, of course, you, my dear, \emph{dear} reader.
  \end{center}

  \mainmatter
  \onehalfspacing

  \pagestyle{empty}

  \cleardoublepage

  \null
  \vfill
  \begin{quote}
People of Orphalese, beauty is life when life unveils her holy face.
But you are life and you are the veil. Beauty is eternity gazing at itself in a mirror.
But you are eternity and you are the mirror.

— Kahlil Gibran\label{prophet}
\end{quote}

%  And am I born to die?\\
%  To lay this body down!\\
%  And must my trembling spirit fly\\
%  into a world unknown?\\
%  A land of deepest shade;\\
%  Unpierced by human thought.\\
%  The dreary regions of the dead,\\
%  Where all things are forgot.
%
%  Soon as from earth I go,\\
%  What will become of me?
%  \end{verse}
%
%  — Charles Wesley

  \vfill

  \cleardoublepage
  \pagestyle{ourbook}
  %\doublespacing

  \Char{End Of Endings — 2403\par ×\par Rye — 2409}
  \markboth{Idumea}{Madison Rye Progress}
  
  \addcontentsline{toc}{part}{Idumea}
  \chapter*{×}
  \input{content/001}
  \chapter*{× ×}
  \input{content/002}
  \chapter*{×\\× ×}
  \input{content/003}
  \chapter*{× ×\\× ×}
  \input{content/004}
  \chapter*{×  ×\\×\\×  ×}
  \input{content/005}
  \chapter*{× × ×\\× × ×}
  \input{content/006}
  \chapter*{× ×\\× × ×\\× ×}
  \input{content/007}
  \chapter*{× × ×\\× × ×\\× ×}
  \input{content/008}
  \chapter*{× × ×\\× × ×\\× × ×}
  \input{content/009} \input{graphomania}\normalfont

  \newpage
  \null
  \cleardoublepage
  \null

  \vfill
  
  \begin{center}
  \noindent\Huge ×\label{x}
  \end{center}

  \vfill

  \cleardoublepage
  
  \backmatter
  \pagestyle{plain}

  %\singlespacing

  \Char{Afterword}

  \input{content/afterword}
  
\end{document}
