Templates, Wizards & Tools ⇒ Diffference between documents, files, & projects
-
- Posts: 9
- Joined: Wed Mar 02, 2011 11:51 pm
Diffference between documents, files, & projects
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Diffference between documents, files, & projects
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: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Diffference between documents, files, & projects
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