\documentclass[12pt,letter]{book} \begin{document} \frontmatter \tableofcontents \input{preface} \chapter{test} this si a test \end{document}