Today,I typoset a book.
My code:
\documentclass[UTF8]{book}
\usepackage{geometry}
\usepackage{times}
\usepackage[colorlinks,linkcolor=blue,anchorcolor=blue,citecolor=red,unicode]{hyperref}
\geometry{left=2cm,right=2cm,top=2.8cm,bottom=2.5cm}
\begin{document}
\tableofcontents
\input{Preface}
\input{Preface to the first edition}
\input{Introduction}
\input{chapter_1}
\input{chapter_2}
\input{chapter_3}
\input{chapter_4}
\end{document}
However,the PDF file show Preface twice,not showing the chapter Preface to the first edition.So i wonder why and how to revise.
\chapter{Preface to the first edition}(or\chapter*{Preface to the first edition}) inside the corresponding file? – Gonzalo Medina Jan 19 '14 at 02:16\chapter*{Preface to the first edition}and\chapter*{Preface}in two *.tex file ,repectively. – abc Jan 19 '14 at 02:25\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Ch'en Meng Jan 19 '14 at 02:43