{include} is about the \include command which makes LaTeX process the content of a given file, add page breaks before and after and open a new auxiliary file for the given file.

learn more… | top users | synonyms

4
votes
1answer
739 views

Is there a LaTeX editor capable of synctexing a live preview from an included or inputted or subfiled chapter02.tex?

As a beginner... I thought I had settled for the distraction-free Gummi; but now I'm unsure, as I gather it's not so great for larger, modularized documents, such as writing a thesis: Gummi's live ...
1
vote
1answer
698 views

How can I use \input and \include with biblatex (biber backend)?

I have a document with external files. The only reason I am using external files is to make it easier to organize my large project. I have taken a small piece of the larger project and attempted to ...
0
votes
1answer
108 views

How can I change graphics with timeout in a beamer?

Is there a way to include several graphics on the same place on the frame, but at different times? Personally, I would like to roll 3-4 pictures repeatedly changing on every, say, 10 seconds. All of ...
0
votes
1answer
296 views

TeXworks: Compile only current document with \includeonly

I have a large document with multiple parts: main.tex: \documentclass{article} \begin{document} \include{part1} \end{document} part1.tex: % !TEX root = main.tex Hello World! This way, I can ...
3
votes
2answers
187 views

Include file with preamble to another tex file

I have two files: paper.tex with text, title, and full preamble with authors and so on. It compiles successfully. The second file (B) has also a full preamble with title, authors, little text. It ...
0
votes
1answer
317 views

A question mark instead of reference number appears when \cite is in a separate file inlcuded in the main file by \include

I am using the book style and each chapter is put in a separate file and included in the main file by \include. At the end of the main file, I put the following lines: \bibliographystyle{plain} ...
5
votes
1answer
116 views

re-define \ref and \label to include source filename?

I have a set of documents each with references that look like: \ref{figure1} and so on. This is no problem when building each document separately,but creates many duplicate references when using ...
4
votes
1answer
223 views

Is this the correct way to format a book in LaTeX?

I have a question that may be subjective but I will try to make it as less subjective as possible. Is this the correct way to format a book in LaTeX? What I have done is the following: ...
3
votes
1answer
28k views

how to turn latex figure by 90 degrees alongwith the caption? [duplicate]

\begin{figure}[p] \centering \includegraphics[width=1.3\textwidth, angle =90 ]{Graphs/1.png} \caption{Box plot of number of positions sent per iteration using this scheme} \label{fig:awesome_image} ...
2
votes
1answer
81 views

No %.aux file in a particular directory

I have the following line in my report.tex \include{intro/introduction} \include{prlm/preliminary} \include{svy/survey} and the corresponding directory structure. The directory structure is ...
2
votes
0answers
136 views

Combine two .tex files [closed]

I'm making my phd dissertation in LaTeX. Although I am a noob, everything works like a charm, but now I have to make the titlepage. My university had a LaTeX .tex file (with .sty file,...) which ...
1
vote
1answer
835 views

Creating an abbreviations file [duplicate]

I'm new to the LaTeX scene as I've starting writing my thesis. I'm using a root .tex file and using \include to add in my chapters (etc). I'm also using \nomencl to add an abbreviations list. I'd like ...
5
votes
1answer
588 views

What would cause LaTeX to put text and tables on separate pages?

My document is being generated with many pages with a short paragraph of text on one page, a short table on the next page, another short paragraph of text on the following page, etc. There is plenty ...
3
votes
1answer
42 views

Float location differ between full doc compile vs partial doc compile

I locate chapters in separate files, as shown below (a book of 500 pages, 14 chapters). The document class is based on the book class: \LoadClass[11pt,letterpaper,twoside]{book}[1994/12/09] ...
1
vote
2answers
2k views

Importing separate file into my LaTeX file

I'm curious as to whether it's possible to insert an entire separate file into a LaTeX document as an inline command. For example, I have the following LaTeX code: \begin{Verbatim}[frame=single] ...
4
votes
1answer
98 views

Are there some predefined directories for .tex file inclusion?

My question is simple, are there some predefined directories (in the texmf file system) where I can save my .tex files for further inclusions ? If yes : which ones are they ? Can I defined mine ...
15
votes
4answers
280 views

Test if file is in \includeonly

Is it possible to check if a file is listed inside \includeonly{...} ? For example I would like to do something like this \includeonly{file1,file2} \if\isincluded file1 % \isincluded is a ...
5
votes
2answers
2k views

Including .tex file to LyX document

Is it possible to write pure latex to a separate file and then include that in the LyX document. What are the pros and cons of doing that? As far as I understand there are problems with preamble. ...
3
votes
0answers
14k views

“No BoundingBox” error in latex [closed]

This is my preamble \documentclass[12pt,a4paper,twoside,french]{article} \usepackage{mathptmx} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} ...
7
votes
1answer
1k views

Beamer/Beamerarticle: \mode<article> is ignored after <presentation> was set, and vice versa

I have a problem with latex ignoring text after \mode<presentation> or \mode<article> was set. MWE description I have a large document that changes modes often, and I also \include some ...
1
vote
1answer
149 views

newclude has destroyed my application

I added \usepackage{newclude} with commands such as \include*{myfile} in an attempt to include myfile without the concomitant \clearpage. This didn't work, so I removed this new code and ...
2
votes
1answer
927 views

Using minitoc in included chapters?

I'm writing a thesis. It is structured as a main thesis.tex document, that uses \include to include individual chapters written in separate documents. I would like to include a mini-toc at the ...
3
votes
1answer
108 views

How to include a tex file with own formatting options

I have two tex files, tex1 and tex2. I want to include tex1 into tex2. I know \include and \input but those won't allow to include tex files with own formatting. tex1 has a header for example but tex2 ...
8
votes
3answers
6k views

How to include multiple pages in latex

I have a pdf file consisting of four pages (see attached). I want to include it in Latex, but when I use the basic code given below, only the first page of the pdf appears. I want to do is to present ...
2
votes
1answer
143 views

Complex latex document: how to locate offending package dependency [solved: was using dirty build] [closed]

For final distribution, certain appendix includes the pdfpages package. However, appendices should be skipped for normal "draft" versions, or while working on individual chapters. I am having ...
4
votes
1answer
84 views

Inserting a document with its own internal section numbering in another document

I have a fairly large LaTeX document, with several chapters. In one chapter, I intend to insert another LaTeX document. "In the following pages, we include (DOCUMENT) ..." I could use \includepdf, ...
0
votes
1answer
110 views

Adding a line to the TOC before the appendix [duplicate]

Possible Duplicate: First chapter appearing before first line in table of contents I am having issues with inserting a line into the TOC when including external files. \input and \include ...
3
votes
1answer
131 views

How do I best combine several documents?

I have a collection of articles written in latex, and I would like to "merge" them into a larger thesis document, in which each article will be a chapter. I have been looking at include and input, ...
28
votes
6answers
937 views

Is it possible to write all mathematical formulas in a separate file and add them in main file on-demand?

Consider this scenario: I have a report to write and I want to write all mathematical formulas in a separate file and then add them in the main report file on demand (i.e. include/import/add/call a ...
13
votes
1answer
963 views

Correct way to use include and includeonly when writing a large document like a thesis

I am writing a large document with several chapters and I would like to work on each chapter separately. In my main.tex I include the chapters either like \include{chap1.tex} \include{chap2.tex} ...
3
votes
1answer
115 views

Inserting two file with different preambles

Is it possible to insert a LaTeX file into another file without the same preamble?
7
votes
1answer
85 views

Skipping sections when compiling (without \include)

I'm writing a semi-long report with ten-ish sections - in other words, just short enough so that it's practical to keep it all in one file without getting lost. However, for compiling it'd be ...
4
votes
1answer
172 views

includeonly command does not modify TOC

I have written 2 chapters an 1 appendix, and I would like to have 2 version of this book. So I use \includeonly in order to include only chapter 1 and 2, but the TOC also shows the appendix name. ...
2
votes
2answers
262 views

\include and header

I have a separate .tex file for a list of symbols. They aren't nomenclature because I included more information than simple definitions. (I have 3 columns.) When I use \include{symbols} the header on ...
2
votes
1answer
79 views

Separate chapters, each with individual preface, included in same document

I have a document I want to split up into individual sections. I'd like each individual section to be independently compilable, but of course I also need the whole document to compile. The trouble ...
1
vote
1answer
651 views

Set a subfolder for \include(only)

Let’s assume a project with a main file main.tex including the chapter with \include. % main.tex \documentclass{book} \includeonly{one} \begin{document} \include{one} \include{two} \end{document} ...
4
votes
3answers
270 views

Creating complex documents from separate files

I have multiple documents (file1.tex, file2.tex, etc.) and one main file (let's call it main.tex). I would like to build a complex document that contains all file_i.tex files. I tried this (according ...
3
votes
0answers
493 views

BibTeX not working with \input or \include [closed]

I need some help with BibTeX. I use a seperate *.bib file which is working perfectly, but when the commands \input or \include are used to input text from another *.tex file the application tells me ...
5
votes
1answer
488 views

TOC “Appendices” wrongly entry comes after 1st appendix entry when use \include

I use the appendix package with its toc option for a book document. If the first of several appendices is inserted by using \include, then the "Appendices" heading in the TOC incorrectly appears after ...
3
votes
1answer
564 views

Blank page inserted when using \include [duplicate]

Possible Duplicate: Page break with \include I am using the Report document class and to manage the document i have divided it into seperate .tex files that are compiled within a main ...
4
votes
2answers
1k views

Export only table of contents

What would be the preferred way to export the Table of contents I use in a .tex file to a separate .pdf? Currently I have a my-report.tex file and I wish to pair the result of pdflatex ...
2
votes
1answer
908 views

Using \include with in Tabular / Array

I'm doing graphics using PStricks, writing each figure in it's own sub-file. I would like to order two of these figure vertically with a symbol in between. To that end, I've tried using a tabular and ...
8
votes
1answer
288 views

Can you put git revision information in a multifile document?

I have my PhD thesis under revision control (git), with a master file (~/Thesis/thesis.tex) using the \include command to include the chapters (~/Thesis/tex/chapter1.tex, etc). Is there a way to ...
0
votes
2answers
978 views

relative paths don't work without absolute path

I'm trying to automate pdftex to generate docs. I'm in some kind of hell where TeX assumes people want to use absolute paths or the working directory. I have the file main.tex. It imports several ...
3
votes
1answer
183 views

Autoinclude files

In my previous question I asked about templates. I got quite a cool answer, thanks! There is code like \long\def\FourierIntroduction{Content} In say the file Fourier.tex. What I would like is that ...
4
votes
1answer
217 views

A variant of \includeonly

Is there a way to have pdfLaTeX emit separate PDF files for each \included file, and somehow massage the \include/\includeonly mechanism so that when using the \includeonly command those files are ...
5
votes
1answer
228 views

inputting a file not from a subdirectory

I apologise if this question has already been addressed. Say I have a set up like this: I have a main folder in which I have both preamble.tex and a folder sub_1. In sub_1, there is another folder ...
6
votes
1answer
155 views

Table including rows of a master table

I have a big master-table* containing reference items and that is a simple cross-project database of such items. Now I'd like to include in different documents parts of this master table and select ...
3
votes
1answer
191 views

Set width of text (included from external file) only - keep rest of page as is

What I want I have a document that includes text from several external .tex files. These files can contain \section{} commands or \begin{quote} environments. Furthermore, I use the lineno package to ...
10
votes
2answers
264 views

Large document edited by a dozen people

We, a team of 12 people, plan to write a 50 pages paper. The paper will be divided into chapters. Usually, no more than 2 or 3 people will work on a given chapter. Having one large file will create ...