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

% 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 because of something tricky ill need to debug later
\newcommand{\bimg}[1]{(img #1)}

% --- typesetting aids for some subtle syntax of flynt
\newcommand{\formulation}[1]{'\textit{#1}'}

\newcommand{\triquote}[1]{'''#1'''}

% 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}
	}

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

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

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

% Title
\thispagestyle{empty}
{
	\centering\sffamily

	\plainbreak{3}

	{ \Large
	Blueprint for a Higher Civilization \par}

	\plainbreak{3}

	{ \large Henry Flynt \par}
}

\clearpage

\newcommand{\photopage}[3]{
	\begin{figure}[!hp]
		\centering
		\includegraphics[width=4in]{#1}
		\caption{#2 (photo by #3)}
	\end{figure}}

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

\input{essays/introduction.tex}

\clearpage

\tableofcontents*

\clearpage

\mainmatter

% \input{extra/general_acognitive_culture.tex}
% \input{extra/philosophy_of_concept_art.tex}
% \input{extra/structure_art_pure_mathematics.tex}
\input{anarchic/collectivafter.tex}

\end{document}