\documentclass{book}

\usepackage[utf8]{inputenc}
\usepackage{geometry}

\geometry{papersize={5in,8in},margin=1in}

\input{./meta.tex}

\begin{document}

\maketitle
\tableofcontents

\input{./output.tex}

\end{document}