[texhax] Problem working with include files
Bruno Estigarribia
aananda at stanford.edu
Sat Mar 31 02:21:05 CEST 2007
Hello all,
I am writing a thesis using the following code:
\documentclass[12pt,twoside,openright]{report}
\setcounter{errorcontextlines}{2}
\usepackage[dvipdfm]{graphicx}
\usepackage{setspace}
\usepackage{covington}
\usepackage{subfigure}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{xytree}
\usepackage{suthesis-2e}
\doublespacing
\title{ }
\author{ }
\dept{ }
\principaladvisor{}
\typein[\files]{Now put in includeonly}
\includeonly{\files}
\begin{document}
\include{preface}
\include{acknowledgment}
\include{chapter1}
\include{chapter2}
\include{chapter3}
\include{chapter4}
\include{chapter5}
\include{chapter6}
\include{chapter7}
\include{chapter8}
\include{chapter9}
\appendix
\include{appendix1}
\include{appendix2}
\include{appendix3}
\include{bibliography}
\end{document}
I am trying to process only chapter 2, but I am getting all sorts of
error messages that, as far as I can tell, are associated with not
having a \begin{document} command at the beginning of my file. For
instance, the beginning of the .log file shows:
This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded
format=latex 2006.12.28) 19 JAN 2007 14:08
entering extended mode
**C:/Documents*and*Settings/Owner.YOUR-0A8FD207A5/Desktop/Drafts191206/Chapter2.tex
(C:/Documents and
Settings/Owner.YOUR-0A8FD207A5/Desktop/Drafts191206/Chapter2.tex
LaTeX2e <2003/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang,
nohyphenation, german, ngerman, french, loaded.
! Undefined control sequence.
l.1 \chapter
{Adult English yes/no questions}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1 \chapter{A
dult English yes/no questions}
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Missing character: There is no A in font nullfont!
A later error shown by the .log file:
! LaTeX Error: The font size command \normalsize is not defined:
there is probably something wrong with the class file.
Since I am a newbie, I am having trouble solving this. Maybe these
errors have different sources after all? I googled “font nullfont”,
searched the FAQs, and read many of the errors explained there. I tried
erasing all the \include commands after \begin{document} thinking they
may conflict with what I am entering at the prompt. But obviously I need
them because otherwise LaTeX is not even creating the .aux file (if I
understand correctly). So, I’ve run out of ideas. If somebody could find
the time to sketch a solution or point at where to find one, I’d be very
grateful.
Cheers,
Bruno
More information about the texhax
mailing list