{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

1
vote
2answers
48 views

\input with undefined environments

I am trying to assemble my thesis with the standalone package. I am attempting to input my old LaTeX document, lna_achemso.tex, into thesis.tex. The standalone package works well when both documents ...
1
vote
0answers
29 views

Texmaker bibtex works with \input not with \include

I use bibtex 0.99d with Texmaker 4.3. I have a multi .tex file document with the main document using \include{} for chapters. The bibtex configured as bibtex build/%.aux doesn't work. However when ...
1
vote
1answer
44 views

latexmk -outdir with \include

I'm trying to get latexmk to compile a .tex file with external \include{...} references to a specific build directory so I don't pollute my directory tree with .aux files, etc. However, it appears ...
4
votes
2answers
1k views

Figure environment not working with included file (extra } or forgotten endgroup)

I've spent hours on this issue. I hope someone can help me. I'm running into some kind of interference when I try to use the figure environment (Likewise for table, might be related to floats). I ...
0
votes
0answers
22 views

Integration of tex-file into another tex-file but with separate titlepage and bibliography

I am writing my cumulative PhD thesis and need to integrate the already written papers into my PhD main file. I need the following things: the page numbering to continue throughout the whole PhD ...
0
votes
1answer
32 views

Header graphic dissapear from first page when using \thispagestyle{plain} in the second one

I'm using the fancyhdr command to incorporate a header in the first page of a document. This is the code I wrote: \thispagestyle{fancy}\hspace{0.2cm} ...
3
votes
1answer
63 views

Create a template

Is it possible to create a template where you can import your preamble as well? How? So you have your main document which looks like: \include{preamble} \include{A} \include{B} \include{C} And are ...
1
vote
1answer
167 views

Latex, Tikz, PDF's and Multiple .tex files

To give a brief background of my situation, I am currently writing a group report in LaTeX for my honours project and I'm attempting to use LaTeX for this. There are several sections in this report, ...
2
votes
1answer
68 views

MiKTeX Options submenu is greyed out in WinEdt 6.0

I have included the package mtpro2 in my latex document using \usepackage[lite,subscriptcorrection,slantedGreek,nofontinfo]{mtpro2} as recommended here. The main reason is that I need very wide ...
1
vote
1answer
294 views

Change size of whole set of elements

I am trying to include some gnuplot-generated figures using the epslatex terminal, which creates an .eps file and a .tex file. The way to include these figures in the document is writing ...
2
votes
1answer
43 views

include a preamble in a standalone

I need to make many images wich uses the same preamble. To make those images, I use the document class standalone. My aim would be to create a file preamble.tex and to include it in the other files, ...
2
votes
1answer
27 views

How to use \include with \tableofcontents in memoir class

I have a document using the memoir class in which I have broken up the chapters using \include. Inside those chapters, I use the \chapter{...} command, which prints the chapter at the correct place. ...
0
votes
0answers
25 views

include A3 into A4 document troubles

I know there is lot of topic about including A3 into A4 documents. But I decided to make my own environment to try to understand how it can work. I create one new environment to include A3 landscape ...
7
votes
3answers
9k views

Using relative paths for \include commands

I have a top-level latex file: /thesis.tex And subfolders with chapters: /chap1/ch1.tex In thesis.tex I use \include commands like so: \include{chap1/ch1} And in ch1.tex I have more includes for ...
0
votes
0answers
28 views

Include Sphinx-generated documentation in master file

I'm currently working on a project (for university) that will be documented with LaTeX. About one third of the documentation will be about a python module that I've written. I'm looking for a clean ...
12
votes
2answers
6k views

How to add a page number to the included PDF pages?

I'm creating a documentation with some included pdf files (mostly diagrams or tables) in the following way. \includepdf[pages=1-10, angle=90]{requirements/Requirements.pdf} The command ...
4
votes
3answers
162 views

How to merge several tex files so that they have one table of contents/List of tables & figures

I have three chapters which I combine into a thesis using pdfpages: as shown in this link Merging several papers This gets me 95% of what I need the only thing I still need is a table of contents ...
0
votes
0answers
19 views

\include{} with picture environment takes whole page [duplicate]

Octave gives me the possibility to safe a figure as .tex document, which then basically just includes one big picture-environment that includes the blank figure and adds the labels. It looks like this ...
3
votes
1answer
59 views

How can I quote (small) parts of my document in itself? [duplicate]

In my research I have large pieces of text of which I like to quote some parts of it, without having to copy/paste and have duplicate pieces. I know I can do that with \include, but the need to have ...
3
votes
3answers
83 views

Saving the state of the typesetting engine

When editing a long document, it is tiring to recompile all of it. Usually you do not want a print-ready output, only a locally meaningful output, that you correctly entered formulae, your sentences ...
6
votes
2answers
161 views

How to automatically include several text documents into a LaTeX document?

I have several .txt or .dat files, whose names are of the form: dn-ddmmyyyy.txt. For instance: d0-01021989.txt d1-21021989.txt d2-15021994.txt d3-12121996.txt d4-14032014.txt d5-22022035.txt ...many ...
7
votes
2answers
137 views

Adding styling to LaTeX produced by MATLAB

MATLAB has a function called publish which has the option to export a script and its output as LaTeX. It looks quite nice, although there are a few additional things that I would like to do to the ...
4
votes
2answers
3k views

Blank pages after \include in LaTeX report class

I'm writing my thesis as several separate chapters and incorporating them into one .tex file. Some of the chapters are pdfs of articles, and they are simply added to my master.tex using \input. ...
1
vote
1answer
362 views

A question on tikz/pgf externalization, standalone, and includeonly for compiling large document

I have a goal to build an efficient compiling environment to build large documents. The requirements are these: Use tikz/pgf to draw many figures; Use \includeonly to build only a portion of the ...
6
votes
1answer
160 views

modular chapters of a dissertation

I have several different chapters I would like to include into a dissertation. Each chapter is a standalone paper and has its own directory structure (figures, tables, etc.). I would like to retain ...
1
vote
1answer
58 views

How to force section to not go to new page in article

I have a document like this: \documentclass{article} \begin{document} \include{sect1} \include{sect2} \end{document} Both files sect1.tex and sect2.tex begin with \section{...}. The output pdf ...
8
votes
2answers
650 views

How can I include subfiles in to a subfiles?

First of all, I am a newbie here and I have no idea to post a query but I have a problem for which I require your help. I even don't know what should be the title of my problem but what my intuition ...
2
votes
1answer
34 views

Malfunction when loading preamble code using \include{}

I am trying to load a piece of code using \include{file}. This code uses tikz to create fancy chapters. The weird thing is that when I load my code, the \chaptername gets cut(after running the code ...
2
votes
1answer
76 views

How to use reftex in multiple files

I tried some solutions but fail so far. I divide large data into multiple files and then include all of them in main file. I used emacs24. Here is general of my main.tex file \include{chapter1} ...
0
votes
0answers
38 views

Exclude citations from other chapters, but make cross-references work

I'm writing up my PhD dissertation, and I tend to compile each chapter separately. Each chapter is in a separate document, and is included in the main LaTeX file. I use \includeonly to only include ...
1
vote
0answers
26 views

Rendering a pdf in a different location, from a standalone tex-file that combines several chapters [duplicate]

I've seen a lot of these questions, but in my search I haven't managed to find an answer to my problem. I am building a directory system for simple use, where I have divided the first folder into ...
4
votes
1answer
87 views

Resume option in enumitem with \includeonly

If I use \includeonly to include file foo2.tex, \begin{enumerate}[resume] does not resume the numbering of the last enumerate environment in file foo1.tex. What I've done is to run all parts, see ...
2
votes
0answers
32 views

Can “insert reference” function searching external file in texshop?

I am using Texshop under Lion. I am writing a thesis which contains many chapters as separated files and I use "include" in the main file. In Texshop, one can directly insert reference by ...
0
votes
0answers
20 views

undefined control sequence for \subfigure [duplicate]

using TeXShop in OS X Maverick, a simple subfigure script is returning "undefined control sequence". Although I can bypass it and still generate the image-included pdf by typing "s" to "ignore all" ...
3
votes
0answers
52 views

Including fully functional .tex documents [duplicate]

I'm trying to combine four separate .tex documents into one big "book" with each document as a chapter. I use the import package. This is essentially what my main document looks like: ...
2
votes
2answers
116 views

answers sometimes in test, sometimes in answer file [duplicate]

So this is going to sound strange, but I'm wondering if there is a clean way to do this. By the time I have a project done, I will have written two .tex files: one with questions, and another one ...
7
votes
3answers
17k views

How to shift graphics/adjust placement of figure with \includegraphics

I composed a diagram that takes up the entire sheet of paper in landscape mode, called diagram.tex (compiled it to generate pdf). I'm trying to include that into an article, but only half of it is ...
10
votes
1answer
299 views

Refsection and \includeonly warning

I'm using biblatex with a biber backend to create a cumulative bibliography, subdivided by chapter. My (simplified) main file (main.tex) is: \documentclass{book} \usepackage[refsection=chapter, ...
0
votes
0answers
44 views

tikz picture inside main code or include tikz output

Suppose that someone wants to include a tikz picture inside a LaTeX document. Suppose that a simple tikz code is the following \documentclass{standalone} \usepackage{tikz} \begin{document} ...
1
vote
0answers
41 views

Make arara ignore \includeonly command

I'm actually about to write up my dissertation and have split it into chapters that are included into the main document via \include{chapter}. To keep compilation times short while working on it, I ...
12
votes
1answer
250 views

Is there a limit to the size of a tex-file?

I've been writing a document for some time now. It is steadily growing and hopefully will continue to do so. Lately I realised that -- although I just recently bought a new MacBook -- when I work on ...
4
votes
0answers
74 views

How do I include Postscript graphics in a LaTeX file?

I am trying to include sample.ps file to my document with the following code \documentclass{article} \usepackage[margin=3cm,a4paper]{geometry} \usepackage{amsmath,amsthm} \usepackage{amsfonts} ...
8
votes
1answer
152 views

Reference label with included file and relaxed clearpage

I am running into a rather weird error that apparently originates from the combination of \include, \let\clearpage\relax and a referenced label after a page break. In this particular example, the ...
9
votes
1answer
249 views

Make a “standalone” version of multiple files: all document in one .tex file

Disclaimer: this question is not related to the standalone package. When writing an article, I split the content between several files, to ease the versionning notably. At the time of writing, most ...
2
votes
1answer
115 views

Included PDF line width

I've an image I made with Inkscape and exported to PDF that I want to include in my document. However, there is one annoying thing: The line width (e.g. the border width of a rectangle) depends on the ...
12
votes
2answers
6k views

Multiple bibliographies

I have the following: \documentclass{report} \begin{document} \include{chapter1} \include{chapter2} \end{document} I also have a reference.bib file, with entries book1, book2 and book3. ...
3
votes
2answers
112 views

An .eps image, whose caption is too separated from the image.

I am writing a thesis in a large .tex file in Vim. I have an .eps image, whose caption is too separated from the image. I have extensively read similar posts, tried almost everything, but the ...
1
vote
1answer
143 views

Create my own templates with include files, how to create directory structure?

I want to have a directory called "Templates" where I would like to have .tex files and image files for inclusion. An example template would setup a letter format with watermark, fancy header, ...
0
votes
1answer
42 views

Bibliography & \include

I am working on a big project divided, and i've decided that the best way to go about it is to write separately each chapter and then simply used the \include command on the main document. However, I ...
0
votes
0answers
47 views

Problem with combined part/frame number with \includeonly

This is a follow-up question to Create references with part number and frame number. I want to create beamer slides with parts (for lecture slides) and I want to show a combination of part number and ...