{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

6
votes
1answer
75 views

distribute contents of two input-files to left and right pages

Is it possible to import two tex files with \input and to have the content of the one file be always on the left page facing the content of the other file being always on the right? The page numbers ...
2
votes
0answers
25 views

References undefinded when using \include{filename}

I am compiling my thesis where I have a rootfile and each chapter is read in with \include{chapterfolder/chaptername}. Everything works but the references, they are all undefinded. When I run BibTex ...
1
vote
1answer
37 views

Is it possible to \include .tex files from other directories?

I want to use the command \include to include a .tex file which is not in the same directory as the main .tex file. Is this possible? I have not found any information about it, and this: ...
1
vote
1answer
41 views

Is there a way to make image/Table appear on hovering mouse on another image in the pdf?

I am trying to make an image or a table appear on mouse hover (mouseover) over specific parts of another image like an info-graphic. Can someone tell me a package and syntax to achieve this? The ...
2
votes
0answers
50 views

Opacity Logo in beamer slide

Hi i have the following Beamer slide and i want to make the logo in the bottom right corner have an opacity on say 50 % ? Here is my code \documentclass[a4paper, ]{beamer} ...
2
votes
1answer
21 views

Error when using \include with higher-level directory

I have many separate documents in subfolders that each \include a *.tex file in the parent directory that contains macros. This worked fine the last time I compiled these files, about 10 years ago and ...
6
votes
1answer
68 views

Find files that are not included by any other files

In a larger latex project am using \include to include the chapter files and within those \input for sections and subsections. I just discovered that due to some rearranging some of the \input ...
2
votes
1answer
43 views

Is there any way to include the literal text of another file?

From what I have read, input processes text and includes commands found, and include can't be used in the preamble for some reason (correct me if I'm wrong). I just want a command that replaces itself ...
1
vote
1answer
403 views

pdf_tex files and \import: PDF file not found

I am currently working on my PhD thesis, and I am having trouble including a pdf_tex and pdf file created using Inkscape. I am using TeXStudio and PDFLaTeX. The relevant files are: ...
0
votes
1answer
22 views

Silence warning about non-existing destination without disabling hyperref

This is not a duplicate but a follow-up question to "Reference does not exist" warning with \includeonly. I use \includeonly to compile only part of my document. This causes hyperref to ...
1
vote
1answer
40 views

Usage of include (graphics, section's and only)

I'm working on my master thesis in LaTex (using TexMaker). I'm a bit new but getting the hang of it. At the moment i'm making my sections in different tex documents. For example, i have an abstract, ...
2
votes
1answer
35 views

Displaying counts and tables based on external files

I've got a complex report that I'm trying to generate, and I'm at a loss on how best to get it working. Let me say that using CSV files is not an option, for starters. I have a number of files named ...
2
votes
1answer
26 views

Include a tex file that contains the bibliography section

I found when I tried to keep the spaces in my file name by using \include{{""}}, then the file could still be included, but the references would be question marks. This is my MWE ...
0
votes
0answers
11 views

Include TeXDoclet error

I'm trying to include a Javadoc (LaTeX format) genereted with TeXDoclet. I follow the instructions in the documentation: Compile with the -include option, which gives me two files: docs.tex and ...
3
votes
1answer
21 views

tex4ht: problem with Index compilation

I have problems with index section. I use tex4ht to compile my manual to html file. In case if makeindex and begin{document}/end{document} commands are located in included file, compilation if ...
1
vote
1answer
64 views

Problem using \includeonly

I have a problem using the \includeonly command. I have a large document and I wanted to split it up into sections- each section would be in its own file and I would compile only the current chapter ...
1
vote
2answers
33 views

How can I obtain correct table of contents order in beamer when including subsections from files?

How can I fix the table of contents order in my beamer? I work with a main file and include one file for each section. However the table of contents puts the subsections before their respective ...
2
votes
3answers
220 views

Include a document into another document with clipping

I want to include a document into another one. The document, which should be included, exists as pdf and tex file. The document which I want to include is about 30 pages. I want to include the ...
2
votes
1answer
155 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 ...
2
votes
1answer
43 views

Is it possible to input tex files from subfolders inside subfiles?

I want to automate the process of inputting tex files from subfolders. Previously I managed to automate the inclusion of images from "images" subfolder within the subfolder of each subfile. I would ...
7
votes
4answers
2k 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
31 views

lot numbering without caption

I am trying to import on my document several tables in png format that where created with excel. They already include the caption and the table number so I don't want to include a caption. Following ...
2
votes
1answer
43 views

using \include while having output files in separate directory in big project

At this moment my project looks like this The build folder contains the main.tex file that looks like this \input{../latex/preamble} \begin{document} \input{../latex/chapter1} ...
0
votes
0answers
42 views

\include not working. Folder structure too deep?

I wrote \include{{"Folder_A/B/C/D/M"}}. LaTeX reported that it could not write the 'Folder_A/B/C/D/M.aux' file. Is it because my file is too deep? Any idea? THX! OK. Someone told me this short ...
0
votes
0answers
77 views

LaTex \include space in path

It's not graphs. It's a .tex file that I want to include. I used \input and it worked fine. But as I keep writing more and more, the file got bigger and bigger and I decided to use chapterbib to make ...
4
votes
1answer
33 views

\Include{MyFile} not including

To make my main.txt more readable I want to use \include{titlepage} where titlepage is saved in the same folder as main.txt. I also used \include for my file Chapter1.txt that works perfect, so ...
568
votes
4answers
254k views

When should I use \input vs. \include?

There are two different commands to incorporate another file into the source of some document, \input and \include. When should I use one or the other? What are the differences between them? Are there ...
3
votes
1answer
60 views

Excluding parts but keeping everything in TOC

I have a document where I use \includeonly to only compile parts of it at a time. However I would still like the Table of Contents to display everything. Is this possible?
2
votes
2answers
283 views

Split thesis chapters into separate files for compilation speed

I am writing a thesis using a template similar to this template. The main file (dissertation.tex) uses \include{} to include each chapter. I have a large chapter (over 60 pages with 70 images) that ...
1
vote
1answer
108 views

Multiple source document with htlatex and tex4ebook

How should I compile a document with chapters on different tex files using tex4ebook? The output of 'tex4ebook main.tex' has valid title page, index, empty chapters and valid bibliography. Structure ...
2
votes
1answer
80 views

Includeonly for files in subdirectory

I have a book and I have all my chapters stored in a subdirectory chapters. How do I use \includeonly on those files? My current attempts have not been working. MWE: \documentclass{scrbook} ...
7
votes
1answer
120 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} ...
1
vote
1answer
76 views

Bibulous not recognizing references in included file

I am using the Bibulous tool to create nicely customizable bib styles (see also Create clean and simple custom bibstyle) i.e. this tool uses an alternative command to parse the *.bib file and create ...
1
vote
0answers
31 views

Line Spacing of Text after figure including [duplicate]

I am having quite a small problem, which I can't solve alone. It's about the line spacing after including an image and there is always a line spacing in the text below the image. Here's the code: ...
0
votes
0answers
101 views

Relative paths to tex files? [duplicate]

In the preamble of my tex document I can set graphicspath. Is it also possible to set a path to sub sections and tables, so I can do \input{relative-path/filename.tex} from any tex file and move that ...
0
votes
0answers
14 views

control line spacing of text to figure [duplicate]

There are some places in my document where I try to force a figure to a specific place in the document and it goes to the other page. For example at this location: and here: I wanted to be able ...
1
vote
0answers
38 views

Include changes the layout [closed]

Maybe this question is a bit specific, but it's an issue I have ran into recently. So I have a larger document with multiple sections from different tex files. I simply include those files in the ...
2
votes
1answer
109 views

Compilation error [closed]

for the following code: \documentclass[12pt]{report} \usepackage[utf8]{inputenc} \usepackage{setspace} \usepackage{graphicx} \include{\frontmatter/title} \include{\frontmatter/abstract} ...
3
votes
1answer
111 views

Error: ! Package utf8x Error: MalformedUTF-8sequence. using \include{} function

I'm writing my thesis in spanish on latex and I'm using the \include{} function to bring other .tex files to my master.tex (main file). My encoding looks something like this: ...
1
vote
0answers
53 views

Problems include graphics

I am trying to include a network I created in Gephi into my thesis, but I am having problems doing it. I currently do it in the following way: \begin{figure}[ht] \centering ...
1
vote
1answer
29 views

How to get rid of the page break after the sections? [duplicate]

I am very new to LaTeX and really only know how to use templates. I am making a LaTeX with the document class article that uses \include{} to put in the various sections in and it will start a new ...
1
vote
0answers
61 views

`include` (and `input`) with part of a file name [closed]

Is it possible to use the \include and \input commands with only part of a file name and use relative directories? I.e. \include{Part1} \include{Part2} instead of \include{Part1_Filename} ...
1
vote
0answers
22 views

Collate apa6 documents into book

I'm getting a Master of Education (Go Mizzou Tigers!), and I'm using overleaf to create all of my tasks/milestones/deliverables. It's going pretty well so far, and I'm using the apa6 package, which is ...
1
vote
1answer
140 views

German Umlaut problem - packages fontenc/inputenc do not work properly for included documents

I have a project with (so far) 5 included files. Within the first and the last included file the Umlauts are properly displayed, in the other three files there are undefined symbols in the output. ...
0
votes
1answer
54 views

How to Include external word document between the lyx document

I am writing my thesis, have to include a word file consists of 5 to 6 pages between the LyX document. Kindly help me by telling how can I include an external file in LyX document.
2
votes
1answer
39 views

Vertical center aligning pictures and minipages using subfig

I am trying to place 3 sub numbered picture beside 3 unnumbered table and have each picture center aligned with one of the tables. For this I am using the subfig package and minipages to put the ...
5
votes
2answers
66 views

Truncate compilation of an “input” file

When writing mathematical results, I often jot down several quasi-proofs before deciding on the actual structure. Nevertheless, I like to keep these alternative sketches as a reference in case I ...
21
votes
4answers
4k 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 ...
2
votes
1answer
47 views

macro for typesetting and adding a line to another document

I am writing a lengthy document and breaking it into chapters. I would like to use something like \include in my main.tex, and that typesetting of each chapter would typeset the main.tex with an ...
1
vote
1answer
43 views

Including an existing asymptote picture in a LaTeX document

I have a project laid out like this: a parent folder, a subfolder named Main where the parts for my projects as well as the macros used throughout are, and another Figures subfolder containing my ...