I am a newbie at LaTeX/TeXlipse/TeXShop.
I am currently writing a LaTeX document using TeXlipse plugin in Ubuntu. Due to hardware issues on the Ubuntu machine I need to port the .tex files to TeXShop on a Mac OS X. Since I was using TeXlipse, it had created all the .tex files in a project format. My entry point is document.tex
\begin{document}
%include other pages
\input{./title.tex}
%\input{./certificate.tex}
\input{./abstract.tex}
\input{./acknow.tex}
\pagenumbering{roman} %numbering before main content starts
\tableofcontents
\listoffigures
\newpage
\pagenumbering{arabic} %reset numbering to normal for the main content
\input{./introduction.tex}
\input{./systemarchitecture.tex}
\input{./implementation.tex}
\input{./experimentresults.tex}
\input{./conclusion.tex}
\input{./ref.tex}
\end{document}
When I try to preview this document.tex file I am able to see the corresponding PDF file. But any changes made to the introduction.tex file are not visible. I am not sure if this is because TeXShop does not support this kind of a project structure, or do I have to include all of the data into a single .tex file?
The error I see in the console is as follows:
/introduction.tex:3: LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
Since introduction.tex is not another document but the part of a bigger document should I include \begin{document} in every .tex file?
\documentclassstatement and your preamble (ie, the\usepackage{}statements before\begin{document}. When you say "changes made to the introduction.tex file are not visible" are you saying that when you recompiledocument.texthat changes fromintroduction.texare not visible? If you do not want to compileintroduciton.texby itself then you don't need the\documentclass, premable, and\begin{document},\end{document}inintroduction.tex. – Peter Grill Apr 4 '12 at 14:54standalonepackage]() – Peter Grill Apr 4 '12 at 15:05