Templates, Wizards & Tools ⇒ Diffference between documents, files, & projects
-
- Posts: 9
- Joined: Wed Mar 02, 2011 11:51 pm
Diffference between documents, files, & projects
From the File tab in the menu, one can open a 'File' or 'Project'. In the folder C:\Program Files\TeXnicCenter\Templates, one finds two folders: 'Documents' and 'Projects'. What is the difference between files, documents, and projects in TeXnicCenter? In particular, I don't understand the function of a TeXnicCenter 'Project'. Thanks for any clarification.
Diffference between documents, files, & projects
I can help with your last question:
For example the project may have a main file CalculusExams.tex
and then exam1.tex might be something like
Both CalculusExams.tex and Exam1.tex are files, but the project is all of the package.
What makes Projects special is that I can be happily working on making Exam2.tex more comprehensive and then ask for everything to be compiled. The reason I know we should be working in projects is because F7 compiles the project, while CTRL F7 compiles the file that is currently open.
A project consists of a main file with a bunch of other, related files. What makes it special is that, after working with them, you get the impression that TeXnicCenter would really rather you make things projects. For example, I have a project called CalculusExams. The main file for this project includes the information on document class, formatting, etc., as well as the stuff I want on the first page of every Calculus Exam. Then, I have other files called Exam1.tex, Exam2.tex, . . . I then import these into the main document using eitherIn particular, I don't understand the function of a TeXnicCenter 'Project'.
\input{}
or \include{}
.For example the project may have a main file CalculusExams.tex
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
First Exam \hfill Name: \hspace{2in}
\include{Exam1}
\end{document}
Code: Select all
\begin{enumerate}
\item Pat your head and rub your tummy.
\end{enumerate}
What makes Projects special is that I can be happily working on making Exam2.tex more comprehensive and then ask for everything to be compiled. The reason I know we should be working in projects is because F7 compiles the project, while CTRL F7 compiles the file that is currently open.
- Stefan Kottwitz
- Site Admin
- Posts: 10275
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Diffference between documents, files, & projects
Hi mbirgen,
welcome to the forum!
Thank you for the explanation. I used projects in a similar way with Kile, now I do all with TeXworks.
Stefan
welcome to the forum!
Thank you for the explanation. I used projects in a similar way with Kile, now I do all with TeXworks.
Stefan
LaTeX.org admin