[texhax] Document class Book
Eloi Machado
eloimachado at gmail.com
Mon Aug 13 10:35:48 CEST 2007
Hi Ronald,
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:
*No such file or directory: c:\UserData\latex\my_book.dvi*
Do you know I can I fix it?
Tks!
On 8/10/07, Fehd, Ronald J. (CDC/CCHIS/NCPHI) <rjf2 at cdc.gov> wrote:
>
> From: "Eloi Machado"
>
> > I need a template of a tex file
> > with documentclass book.
> > Does anyone of you have it?
>
> According to Chicago Manual of Style
>
> http://www.chicagomanualofstyle.org/home.html
>
> a book has several parts: front, main, back
>
> Due to production considerations,
> i.e., that FrontMatter is written after the body of the book
> and has roman numerals paging,
> document class book has commands
> \frontmatter and
> \backmatter
> for changing page numbering.
>
> Below is a template that I have developed.
>
> Does this answer your Q?
>
> Ron Fehd the {SAS} macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
>
> \documentclass{book}
> \pdfoutput=0%out=job.dvi
> %\pdfoutput=1%out=job.pdf
> \title{\jobname\ example
> }%end title
> \author{Ronald J. Fehd
> }%end author
> %\usepackage{}
> %note: use for development and testing
> %\includeonly{frontMatter}
> %\includeonly{partA}
> %\includeonly{chapA}
> %\includeonly{partZ}
> %\usepackage[]{hyperref}%
> \begin{document}%%%%%%%%%%%%%%%%%%%%%%%%
> \include{frontMatter}
> \include{partA}
> %\include{chapA}
> %\include{partZ}
> \appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \include{chAppendixA}
> \include{chAppendixB}
> \include{chAppendixZ}
> \include{backMatter}
> \end{document} %%%%%%%%%%%%%%%%%%%%%%%%%
> \endinput
>
> *** partA.tex ***
> \part{Example A}%\label{part:A}
> \input{chapA}
> \input{chapB}
> \input{chapZ}
> \endinput
>
> *** chapA.tex ***
> %\hypertarget{ch:A}{\relax}%
> \chapter{Example A}%\label{ch:A}
> \input{chapAsectA}
> \input{chapAsectB}
> \input{chapAsectZ}
> \endinput
>
> %name: FrontMatter.tex
> %source: The Chicago Manual of Style, 14 ed.
> %\include{frontHalfTitle}
> \maketitle
> \frontmatter
> %\include{frontCopyright}
> %\include{frontDedication}
> %\include{frontEpigraph}
> \tableofcontents
> \listoffigures
> \listoftables
> %\include{frontForeword}
> %\include{frontPreface}%and Acknowledgements
> %\include{frontIntroduction}
> %\include{frontListAbbreviations}
> %\include{frontEditorialMethod}
> %\include{frontListContributors}
> %\include{frontChronology}
> \endinput
>
> %name : BackMatter.tex
> %source: The Chicago Manual of Style, 14 ed.
> %after Chapters==Appendices:
> %\backmatter
> %\include{backNotes}
> %\include{backGlossary}
> %\include{backBibliography}% or Reference List
> %\renewcommand{\refname}{\subsection{Bibliography}}
> %\renewcommand{\refname}{\subsection{Reference List}}
> \bibliography{\jobname}%generates thebib environment
> %\include{backContributors}%
> %\include{backIndex}%\theindex
> %\include{backErrata}
> \endinput
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20070813/d3a71370/attachment.html
More information about the texhax
mailing list