\documentclass[10pt,twoside,draft]{memoir}

\usepackage{salitter}
\usletterlayout

\usepackage{mwe}
\usepackage{amsmath}
\usepackage{stix}
\usepackage{xfrac}
\usepackage{bbold}
\usepackage{csquotes}
\usepackage[normalem]{ulem}
\usepackage{enumitem}
\usepackage{tikz}
\usetikzlibrary{calc}


% fonts
\newpxfont

\newcommand{\tocline}{
	\addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par}}
\setlength\cftbeforepartskip{1.1em}
\setlength\cftbeforechapterskip{0.5em}

\renewcommand{\printpartname}{}
\renewcommand{\parttitlefont}{\normalfont\Huge\scshape}

% \usepackage{cabin}
% \newfontfamily{\specialheadersfont}{Cabin}

\newcommand\speech[1]{
	\textquote{\emph{#1}}}

\newcommand\said[1]{ % oops
	\speech{#1}}

\newcommand\essaytitle[1]{\uline{#1}}

\newcommand\gap{\plainbreak{2}}

\newcommand\inlineaside[1]{\textit{(#1)}}

\newcommand\x{$x$}
\newcommand\y{$y$}

\newcommand\redact[1]{\xout{#1}}

\newcommand\greater{>}
\newcommand\less{<}

% TODO these should be considered placeholders basically
\newcommand{\name}[1]{\textbf{#1}}

% "linguistic expression"
\newcommand{\lexpression}[1]{"\emph{#1}"}
\newcommand{\expression}[1]{\lexpression{#1}}

\newenvironment{sysrules}{\begin{hangparas}{3em}{1}}{\end{hangparas}\vskip 1em}

\newcommand\postulate[1]{\emph{Postulate #1}.}

\newcommand\dreamdate[1]{\plainbreak{1}\uline{#1}\\}
\newcommand\dreamdatecomment[2]{\plainbreak{1}\uline{#1} --- \textit{#2}\\}

\newcommand\cubeframe{\includegraphics[width=1em]{img/cubeframe}}
\newcommand\cubeup{\includegraphics[width=1em]{img/cubeup}}
\newcommand\cubedown{\includegraphics[width=1em]{img/cubedown}}

\newcommand\photopage[4]{
  \begin{figure}
    { \centering\includegraphics[width=4.5in]{#1}\par } 
    \vskip 1em
    \noindent #2 \vskip 1em
    \caption{\noindent #3} 
    { \raggedleft \itshape (photo by #4) \par }
  \end{figure}}

\begin{document}
\frontmatter
\graphicspath{{img/}}
\pagestyle{ruled}
\chapterstyle{tandh}
\openany

\renewcommand*{\thesection}{\Alph{section}}

\renewcommand*{\cftpartfont}{\bfseries\scshape}
\renewcommand*{\cftchapterfont}{\normalfont}
\renewcommand*{\cftsectionfont}{\itshape}
% \setlength\beforechapskip{10pt}
\renewcommand*{\chapterheadstart}{\vskip 1pt}


\setlist{itemsep=3pt}
\setlist{parsep=0pt}
\setlist{topsep=3pt}
\setlist{leftmargin=1cm}

\newcommand{\emt}[1]{\textit{#1}}
\setlist{nosep}

% Title
\thispagestyle{empty}
{
	\centering
	\vfill
	\vfill
	\includegraphics[scale=1]{img/blueprint_title}
	\vfill
	\includegraphics[scale=1]{img/blueprint_author}
	\vfill

}

\clearpage

\thispagestyle{empty}
\photopage{img/creep02}{5/15/1962}{Henry Flynt presents "Creep" lecture in Adam Hovre upper common room, Harvard University, May 15, 1962}{Tony Conrad}
\clearpage

\input{essays/introduction.tex}

\clearpage

\tableofcontents*

\clearpage

\listoffigures

\clearpage

\mainmatter
\part{Philosophy}
\tocline
\input{essays/flaws_underlying_beliefs.tex}
\input{essays/walking_through_walls.tex}
\input{essays/philosophical_reflections.tex}
\input{essays/flyntian_modality.tex}
\input{essays/some_objections.tex}
\input{essays/philosophy_proper.tex}
% primary study?

\part{Esthetics}
\tocline
\input{essays/down_with_art.tex}
\input{essays/art_or_brend.tex}
\input{essays/letters.tex}
\input{essays/photos.tex}
% \input{extra/poem_1.tex}
% \input{extra/poem_4.tex}

\part{Para-science}
\tocline
\input{essays/dissociation_physics.tex}
\input{essays/mathematical_studies.tex}
\input{essays/post_formalism_memories.tex}
\input{essays/studies_in_constructed_memories.tex}

\part{The New Modality}
\tocline
\input{essays/energy_cube1966.tex}
\input{essays/energy_cube1961.tex}
\input{essays/concept_art.tex}
\input{dissociator_syntax.tex}
\input{essays/perception_dissociator.tex}
\input{essays/mock_risk_games.tex}
\input{essays/dream_reality.tex}

\part{Social Philosophy}
\tocline
\input{essays/social_recognition.tex}
\input{essays/creep.tex}
\input{essays/three_levels_of_politics.tex}

\part{Science (Logic)}
\tocline
\input{essays/admissible_contradictions.tex}
\input{essays/propositional_vibration.tex}
% \input{extra/repressed_content.tex}
% \input{extra/apprehension_of_plurality.tex}

\backmatter
\part{Appendix}
\tocline
\input{extra/structure_art_pure_mathematics.tex}
\input{extra/misleading_newness.tex}
\input{extra/anthology_non_philosophical.tex}
\input{essays/exercise_awareness_states.tex}
\input{extra/general_acognitive_culture.tex}
\input{extra/communists_must.tex}
\input{extra/primary_study_paraphrase.tex}
\input{extra/radicalism_of_unbelief.tex}
% input{extra/philosophy_of_concept_art.tex}

\end{document}