\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{flushright}\DisplayFont
    \null
    \vfill
    {\Huge Idumea}
    \vspace{1ex}

    A Post-Self story
    \vspace{2em}

    \vfill

    {\Large Madison Rye Progress}
  \end{flushright}
  \thispagestyle{empty}

  \newpage

  \input{includes/copyright}

  \newpage
  \null
  \cleardoublepage

  \onehalfspacing
  %\doublespacing

  \null
  \vfill
  \noindent\textbf{Note:} this book relies on the plots of The Post-Self Cycle, as well as that of \emph{Marsh}. It is strongly recommended that you 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:} themes of suicide and poor mental health.

  \mainmatter

  \pagestyle{ourbook}

  \cleardoublepage
  \null
  \thispagestyle{empty}

  \vfill

  \begin{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}

  \emph{— Charles Wesley}

    \vfill

\pagestyle{ourbook}

\null
  \cleardoublepage
  
  \Char{End Of Endings — 2403}
  \markboth{Idumea}{Madison Rye Progress}
  \chapter*{1}
  \input{content/001}
  \chapter*{2}
  \input{content/002}
  \chapter*{3}
  \input{content/003}


  \chapter*{8}
  \input{content/008}

  \input{graphomania-test}
\end{document}
