\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 sections with The Dog and The Rabbit Chaser on pages \pageref{thedog1} and \pageref{thedog2} are a collaboration with Krzysztof ``Tomash'' Drewniak.

  \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{verse}
People of Orphalese, \\
\vin beauty is life when life unveils her holy face.\\
\vin But you are life and you are the veil.\\
\vin Beauty is eternity gazing at itself in a mirror.\\
\vin But you are eternity and you are the mirror.

— Kahlil Gibran
\end{verse}

%  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}
  %\chapter*{1}
  \chapter*{}
  \input{content/001}
  %\chapter*{2}
  \secdiv
  \input{content/002}
  %\chapter*{3}
  \secdiv
  \input{content/003}
  %\chapter*{4}
  \secdiv
  \input{content/004}
  %\chapter*{5}
  \secdiv
  \input{content/005}
  %\chapter*{6}
  \secdiv
  \input{content/006}
  %\chapter*{7}
  \secdiv
  \input{content/007}
  %\chapter*{8}
  \secdiv
  \input{content/008} \input{graphomania}

  \newpage
  \null
  \cleardoublepage
  \null

  \vfill
  
  \begin{center}
  \Huge ×
  \end{center}

  \vfill

  \cleardoublepage
  

  \backmatter

  \chapter*{Afterword}
  \cleardoublepage
  
  \includepdf[fitpaper=true]{hymn.pdf}
  
\end{document}
