I use teXnicCenter, but i didnt find the function that enable me to just build part of document instead of the whole document. it takes me a lot of time to build the whole document again even with a minor correction.
Could you help?
thank u v. much
General ⇒ how to build part of document
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
how to build part of document
It is recommendable to split the document into several files (i. e. for each chapter) and then merge them in the main file which includes the preamble by using the \include command. You can choose specific parts of the document by using the \includeonly command.
In the sample code above there will only be the file chap1.tex included and processed.
Best egards
Thorsten¹
Code: Select all
\documentclass[11pt,a4paper]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{lmodern}
\title{Processing specific part of a document}
\author{spiegboy}
\includeonly{%
chap1,
% chap2,
% chap3,
% app1
}
\begin{document}
\tableofcontents
\include{chap1}
\include{chap1}
\include{chap1}
\appendix
\include{app1}
\end{document}
Best egards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
how to build part of document
LaTeX.org admin
Re: how to build part of document
I found that winEdit is capable of this.