<div>Hi Ronald,</div>
<div>&nbsp;</div>
<div>Thank you very much for this template. I saved is as my_book.tex. It compiles successfully, but when I try to view output I got the following error:</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><strong>No such file or directory: c:\UserData\latex\my_book.dvi</strong></div></blockquote>
<div>&nbsp;</div>
<div>Do you know I can I fix it?</div>
<div>&nbsp;</div>
<div>Tks!</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/10/07, <b class="gmail_sendername">Fehd, Ronald J. (CDC/CCHIS/NCPHI)</b> &lt;<a href="mailto:rjf2@cdc.gov">rjf2@cdc.gov</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">From: &quot;Eloi Machado&quot;<br><br>&gt; I need a template of a tex file<br>&gt; with documentclass book.
<br>&gt; Does anyone of you have it?<br><br>According to Chicago Manual of Style<br><br><a href="http://www.chicagomanualofstyle.org/home.html">http://www.chicagomanualofstyle.org/home.html</a><br><br>a book has several parts: front, main, back
<br><br>Due to production considerations,<br>i.e., that FrontMatter is written after the body of the book<br>and has roman numerals paging,<br>document class book has commands<br>\frontmatter and<br>\backmatter<br>for changing page numbering.
<br><br>Below is a template that I have developed.<br><br>Does this answer your Q?<br><br>Ron Fehd&nbsp;&nbsp;the {SAS} macro maven&nbsp;&nbsp;CDC Atlanta GA USA RJF2 at cdc dot gov<br><br>\documentclass{book}<br>\pdfoutput=0%out=job.dvi<br>
%\pdfoutput=1%out=job.pdf<br>\title{\jobname\ example<br>&nbsp;&nbsp;&nbsp;&nbsp; }%end title<br>\author{Ronald J. Fehd<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}%end author<br>%\usepackage{}<br>%note: use for development and testing<br>%\includeonly{frontMatter}<br>%\includeonly{partA}
<br>%\includeonly{chapA}<br>%\includeonly{partZ}<br>%\usepackage[]{hyperref}%<br>\begin{document}%%%%%%%%%%%%%%%%%%%%%%%%<br>\include{frontMatter}<br>\include{partA}<br>%\include{chapA}<br>%\include{partZ}<br>\appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
<br>\include{chAppendixA}<br>\include{chAppendixB}<br>\include{chAppendixZ}<br>\include{backMatter}<br>\end{document} %%%%%%%%%%%%%%%%%%%%%%%%%<br>\endinput<br><br>*** partA.tex ***<br>\part{Example A}%\label{part:A}<br>\input{chapA}
<br>\input{chapB}<br>\input{chapZ}<br>\endinput<br><br>*** chapA.tex ***<br>%\hypertarget{ch:A}{\relax}%<br>\chapter{Example A}%\label{ch:A}<br>\input{chapAsectA}<br>\input{chapAsectB}<br>\input{chapAsectZ}<br>\endinput<br>
<br>%name: FrontMatter.tex<br>%source: The Chicago Manual of Style, 14 ed.<br>%\include{frontHalfTitle}<br>\maketitle<br>\frontmatter<br>%\include{frontCopyright}<br>%\include{frontDedication}<br>%\include{frontEpigraph}<br>
\tableofcontents<br>\listoffigures<br>\listoftables<br>%\include{frontForeword}<br>%\include{frontPreface}%and Acknowledgements<br>%\include{frontIntroduction}<br>%\include{frontListAbbreviations}<br>%\include{frontEditorialMethod}
<br>%\include{frontListContributors}<br>%\include{frontChronology}<br>\endinput<br><br>%name&nbsp;&nbsp;: BackMatter.tex<br>%source: The Chicago Manual of Style, 14 ed.<br>%after Chapters==Appendices:<br>%\backmatter<br>%\include{backNotes}
<br>%\include{backGlossary}<br>%\include{backBibliography}% or Reference List<br>%\renewcommand{\refname}{\subsection{Bibliography}}<br>%\renewcommand{\refname}{\subsection{Reference List}}<br>\bibliography{\jobname}%generates thebib environment
<br>%\include{backContributors}%<br>%\include{backIndex}%\theindex<br>%\include{backErrata}<br>\endinput<br><br>_______________________________________________<br>TeX FAQ: <a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq
</a><br>Mailing list archives: <a href="http://tug.org/pipermail/texhax/">http://tug.org/pipermail/texhax/</a><br>More links: <a href="http://tug.org/begin.html">http://tug.org/begin.html</a><br><br>Automated subscription management: 
<a href="http://tug.org/mailman/listinfo/texhax">http://tug.org/mailman/listinfo/texhax</a><br>Human mailing list managers: <a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br></blockquote></div><br>