Update of /cvsroot/bsdbook/bsdbook/src
In directory usw-pr-cvs1:/tmp/cvs-serv12979
Modified Files:
book.tex title.tex
Log Message:
This commit will allow the LaTeX output (only PDF at the moment) to display
text in the normal justified format. The titlepage (title.tex) was not
allowing the document to do the Right Thing(tm).
Changes:
- Change font size to 11pt (clearer and crisp)
- Replace the mitpress style with the mylayout style (from LaTeX distro)
- Change paragraph indentation to 0pt, i.e. no (para) indentation
- Wrap \include{title} with (begin/end){titlepage} so that it doesnt mess
up justification (i.e. paragraph spacing) of the document
- Add a missing brace, '}' to title.tex so it will process without
erroring out. (title.tex)
This is commit 1 of 2; Next commit will allow conditional based processing
of the LaTeX sources, which will allow us to produce HTML, and other plethora
of output formats.
Index: book.tex
===================================================================
RCS file: /cvsroot/bsdbook/bsdbook/src/book.tex,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- book.tex 24 Aug 2002 19:44:19 -0000 1.1.1.1
+++ book.tex 28 Aug 2002 02:53:21 -0000 1.2
@@ -1,6 +1,6 @@
-\documentclass[pdftex,10pt,a4paper,twoside]{book}
+\documentclass[pdftex,11pt,a4paper,twoside]{book}
\usepackage{bsdbook}
-\usepackage{mitpress}
+\usepackage{mylayout}
\usepackage{thumbpdf,makeidx,shortvrb,latexsym}
\RequirePackage[pdftex,
@@ -24,11 +24,14 @@
\def\pdfBorderAttrs{/Border [0 0 0] } % No border arround Links
\makeindex
\typeout{Copyright \copyright 2002. BSDBook Project. All Rights Reserved.}
-
+\setlength{\parindent}{0pt}
+
\begin{document}
\frontmatter
+\begin{titlepage}
\include{title}
+\end{titlepage}
\include{acknowledgments}
\tableofcontents
Index: title.tex
===================================================================
RCS file: /cvsroot/bsdbook/bsdbook/src/title.tex,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- title.tex 24 Aug 2002 19:44:19 -0000 1.1.1.1
+++ title.tex 28 Aug 2002 02:53:21 -0000 1.2
@@ -1,6 +1,5 @@
% Contents: The title page
% $Id$
-
\pdfbookmark{Title Page}{title}
\newlength{\centeroffset}
\setlength{\centeroffset}{-0.5\oddsidemargin}
@@ -36,4 +35,4 @@
BSD License.\\
\end{small}
-\endinput
+\endinput}
|