{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
0answers
22 views

\include on every other page?

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 ...
3
votes
0answers
38 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: ...
10
votes
1answer
244 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
26 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} ...
0
votes
0answers
29 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 ...
0
votes
1answer
69 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, ...
12
votes
1answer
211 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
58 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
98 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
204 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
60 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
5k 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
89 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
84 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
25 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
24 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 ...
4
votes
1answer
259 views

Combining different projects into one (papers into PhD Thesis)

My question is similar to this one, but I have a problem with relative paths when including files. Assume I have three projects which all start with \documentclass[12pt,a4paper]{article} ...
0
votes
0answers
30 views

Removing headers on pages between chapters while using \include to input chapters

I am writing a document using the report class with the options twoside and openright. I want to remove headers and footers from blank pages between chapters. I tried the emptypage package as well ...
2
votes
1answer
58 views

Prefix “Figure” and giving reference to figures

Is it possible to adjust the font size of the prefix Figure when captioning an included image? Furthermore, is it possible to refer to a picture in a meaningful way without using a caption; I tried ...
6
votes
1answer
48 views

Include tex-files and compile separately

For a large project, I'd like to write each chapter on it's own. After that, I'd wish (of course) to incorporate all the chapters in a base document (the large project). I've heard ob \include and ...
3
votes
1answer
69 views

Undefined reference using a0poster (\include Vs. \input)

I have an a0poster document (see below an example) which is not loading the cross-references, although bibtex is working fine and compiling the references. I write the main text into a different tex ...
3
votes
2answers
70 views

I have two file -> a.tex and b.tex,how to insert b.pdf after a.pdf?

%********a.tex \documentclass{book} \usepackage[final]{pdfpages} \begin{document} Hello \includepdf[pages=-]{b.pdf} \end{document} Now b.tex %%%%%%%%%% %********b.tex \documentclass{book} ...
0
votes
0answers
45 views

A command for including a folder of macros

Is there any command to include a folder of macros(such as sty,def,... files) in preamble like one for graphics (\graphicspath{{figures/}}‎‎).
3
votes
2answers
180 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 ...
3
votes
1answer
30 views

Avoid acronym list when acronym environment is \include[d]

I want to keep my acronym environment in a separate file and avoid printing out the whole acronym list. Still the option [nolist] of the acronym package seems not to work when the acronym environment ...
2
votes
2answers
44 views

Latex compiling out \begin{document} etc

I am writing a thesis with latex, each chapter is in its own TeX file and get included with a \input{Chapters/Chapter1} command. One of my Chapters is generated with Sweave (R code) and includes ...
0
votes
0answers
29 views

Invalid dependencies with latexmk when using includeonly, hyperref and unnumbered sections

Latexmk compiles outputs even when source files have not changed in a specific case. My use case is the following: I generate several PDFs for a single document that contain either the complete ...
3
votes
1answer
176 views

Relative paths for \input and building from different directories

The minimal example If I have a directory containing my main LaTeX source file and it uses \input to incorporate some data in another file, I can use a relative pathname. E.g., with these files: ...
0
votes
0answers
25 views

Problem with `include` command [duplicate]

I have prepared a cover page and the first chapter of my dissertation. Both of these are in different tex files. I read that in order to have everything in a master file you need to use the include ...
4
votes
0answers
29 views

\importonly for only processing a single import?

I am composing a large document, and instead of using include/input, I use the \subimport* command from the import package. This allows me to take care of relatives paths very easily. However, the ...
0
votes
0answers
23 views

include tex tables on the same page [duplicate]

I want to include a table from another tex file before another table but this pushes the to another page. Do you have any solution to sidestep the problem? Here is the code ...
4
votes
2answers
115 views

clash between mcode and scrbook

I want to include Matlab code in my document. The mcode package used to do a great job in combination with my scrbook document class. However, I recently updated my KOMAscript family to version 3.12 ...
2
votes
1answer
55 views

Creating one .tex file form a structured large document [duplicate]

I just finished my Ph.D thesis using LaTeX and I create it in a structured way with several folders and .tex documents inside. I have a master main.tex file and add the different chapters, sections ...
27
votes
1answer
3k views

Adding Table of Contents to existing PDF

How can I add a Table of Contents (TOC) to an existing PDF? I have an existing PDF (scanned notes from a class). I'd like to improve this basic scan as much as possible. I do not think that any OCR ...
2
votes
1answer
123 views

\bibentry problem with chapterbib package

In my document I want to create a separate bibliography for each chapter. This works fine by using the chapterbib package. However, \bibentry does not work anymore in included files when invoking the ...
14
votes
3answers
2k views

Create list of all external files used by master LaTeX document?

Is there an easy way to create a list of all external files (complete path) which are used by a LaTeX document (and its "sub-documents") by \input \include \includegraphics ? (may I have forgotten ...
4
votes
1answer
61 views

Inconsistent page clearing with \includeonly

I'm writing my thesis using memoir.cls, with a top-level document for preamble and front matter and the like, and a source file per chapter, organised like this: \documentclass{memoir} ...
7
votes
1answer
178 views

Multiple PDF generation with one tex file

I'm writing my cv using moderncv, and I want to make it in 2 languages. I wrote a common part, which both languages will have, and specific ones, where I put the translated content. I also want to ...
0
votes
1answer
97 views

Error using \tikzexternalize and different graphical inputs

How can this issue be stated more precicely and finally solved? Having a large document and using \input{...} within figure enviorement for including gaphics by tikz and pdf's, png's. Each figure ...
6
votes
2answers
2k views

\usepackage[turkish]{babel} and \includegraphics inconcistency

Here is my document : \documentclass[12pt]{book} % must-have packages \usepackage[turkish]{babel} \usepackage[utf8]{inputenc} % This package will support Turkish chars % must-have packages ...
0
votes
0answers
52 views

How to use shell environment variable with import/include/input?

I would like to create a folder in my home directory to store a few files in it that should serve as templates e.g. handout.tex. I begin to write my specific file somewhere in my filesystem. Now I ...
0
votes
0answers
5 views

“smart” Include/Import for file in subfolder that have images in subsubfolders [duplicate]

i've to put in one file some other documents i wrote before. i've this structure mainfile.tex chapter1/chapter1.tex chapter1/intro.tex chapter1/fig/fig1.pdf chapter1/fig/fig2.pdf in chapter1.tex ...
2
votes
1answer
63 views

File name autocompletion in \include for large latex projects

I am a very lazy person, so sorry in advance if my question seems a bit odd. Working on a thesis, I am splitting the content of the whole document into multiple .tex files, one for each chapter ...
2
votes
1answer
149 views

Modular Documents, including image from other LaTeX-Project

I am currently writing on a document where I want to include subfiles; I am creating a modular document. Now, the problem is, that I am including (read: input) files, that have been used for other ...
2
votes
1answer
165 views

Can't insert/remove a blank page in main document

I'm on Win7 with TeX Live 2013 and TeXstudio. I have a main.tex file (\documentclass[...]{scrartcl}) with 2 \input{file} commands. I want to put a blank page between the table of contents and the ...
8
votes
2answers
399 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 ...
3
votes
1answer
172 views

Splitting the preamble

When working with big documents, especially when dealing with many lists, graphics, figures and includes, I often come up with a structure roughly looking like this. \documentclass{beamer} [preamble ...
1
vote
0answers
88 views

Combine sections into chapter. Each section a separate .tex file

I am putting together a portfolio of evidence together. I have written all the individual pieces of evidence as separate latex documents. Some of these documents have references at the end of the ...
28
votes
6answers
929 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 ...
3
votes
2answers
161 views

Figure not being typeset properly

I'm writing a report with using the IEEE Transactions template, and the template itself includes an example figure: \begin{figure}[htbp] \begin{centering} \textsf{A single column figure goes here} ...