Templates, Wizards & ToolsDiffference between documents, files, & projects

Information and discussion about TeXnicCenter document/project templates and wizards and other tools and extensions for TeXnicCenter
Post Reply
steven_nevets
Posts: 9
Joined: Wed Mar 02, 2011 11:51 pm

Diffference between documents, files, & projects

Post by steven_nevets »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
mbirgen
Posts: 1
Joined: Wed Mar 11, 2015 10:16 pm

Diffference between documents, files, & projects

Post by mbirgen »

I can help with your last question:
In particular, I don't understand the function of a TeXnicCenter 'Project'.
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 either \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}
and then exam1.tex might be something like

Code: Select all

\begin{enumerate}
\item Pat your head and rub your tummy. 
\end{enumerate}
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.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10275
Joined: Mon Mar 10, 2008 9:44 pm

Re: Diffference between documents, files, & projects

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply