{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
1answer
119 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 ...
2
votes
2answers
42 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
243 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
59 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 ...
2
votes
1answer
35 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 ...
5
votes
1answer
76 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} \input{../...
0
votes
1answer
63 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
121 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
44 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 ...
3
votes
1answer
71 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?
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
168 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 ...
1
vote
1answer
112 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 ...
0
votes
0answers
15 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
43 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 ...
3
votes
1answer
338 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: \documentclass[11pt,...
1
vote
1answer
33 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
35 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
0answers
58 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 \includegraphics[...
1
vote
1answer
311 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
79 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
48 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
75 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 ...
2
votes
1answer
55 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
50 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 ...
2
votes
0answers
71 views

\include{} and bibtex

I can't make \include{} and BibTeX work together for some reasons. The bibliography is displayed but not the references. They all appear with ?. What is wrong with me? Here is my code : \...
1
vote
1answer
943 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: phd_thesis_all/...
10
votes
1answer
319 views

\includegraphics takes the wrong image if no extension is specified

The following code incorrectly displays the image with the letter B in the header of the first page, even though I included the image with the letter A. \documentclass{article} \usepackage{graphicx,...
4
votes
1answer
106 views

Does LaTeX support including a specific part of an \input, like a specific environment and ignoring everything else? [duplicate]

Can LaTeX natively include only specific expressions from an input file (ignoring the rest)? I am not sure how to best word my question. Below is an example of what I'd like to do. Situation For ...
0
votes
1answer
157 views

Listings moredelim / morestring options doesn't work with included file

I don't know how to fix the double quote character (’"’) with the listings package when the code is in a separated file. Listing get this as the beginning of a string but it is not. Many thanks to ...
0
votes
1answer
70 views

Forcing a single column, full width table

I am writing multiple documents like paper.tex, report.tex, book.tex etc. They all have different formats like single/double column, landscape/portrait etc. All these (wrapper like) document tex ...
0
votes
0answers
29 views

Weird first page with cryptic content [duplicate]

TeXworks 0.4.5 r.1280 (MiKTeX 2.9) portable typesetting with pdfLaTeX Hi all, I have a weird problem with my latex document. Everything was fine so far until today a new page appears before my ...
2
votes
0answers
37 views

Trace errors when using \include

I'm writting my thesis and decided to divide my main .tex file into different files containing the chapters using \include. However, when I compile my main file the error logs don't take me to the ...
0
votes
1answer
28 views

Nested inputs with unwanted pagebreak

Let's say I have a document for which all sections and subsections are separate .tex-files. As I cannot nest \include, I'm using \input. \documentclass[a4paper,11pt,titlepage]{article} \title{...} \...
1
vote
1answer
247 views

How to adjust float options of Tikz picture

I am trying to include several Tikz figures drawn in R, below eachother in a Latex file. It keeps including the figures at the top of new pages. Is there an easy way to make this work? The simple ...
2
votes
1answer
95 views

Include section of existing drawing in a new Asymptote file

Experts, I have created a drawing using Asymptote. Now I would like to include a specific section of this drawing in a new .asy-File to make it larger and add some additional lines. Is there a smart ...
7
votes
2answers
149 views

Insert a tex file pdf inside another tex file dynamically

Suppose that both tex1.tex and tex2.tex are two independent tex files in the sense that both compile and generate a pdf file independently. I would like to include the output of tex2.tex in the tex1....
4
votes
1answer
64 views

Is there any way to read arbitrary part of external tex file?

I am not expert in tex programming, sorry if I am asking a simple question. I need to include an external tex file in a master one but after excluding its preamble and the commands of \begin{document} ...
1
vote
1answer
469 views

Include tikz pictures in main script

I include all my tikz figures with \includestandalone{filename}. I am using \tikzset after \begin{document} in all my tikz figure files but I use \usetikzlibrary in the header (outside of \begin{...
1
vote
1answer
38 views

Use default message if file is missing

There is very simple and fool-proof solution for default actions if included file is missing. It is using \IfFileExists{IncludedFile}% {% routine if file exists }% {% routine if file does not exist }...
0
votes
0answers
93 views

File structure/organization for book

I need to write a short book divided in 3 big chapters and about 40 short sections (for a maximum of a couple of pages each). Dividing the book in 3 files seems very messy, but dividing it into 40 ...
3
votes
0answers
48 views

Including chapter as a separate TeX file [duplicate]

I am trying to include a separate TeX file that will contain the text of a chapter, however when I try to point the main TeX file to the chapter TeX file, there is an error which claims to not be able ...
0
votes
0answers
29 views

Inserting an image and forcing it between paragraphs [duplicate]

I am inserting a Figure named Figure1 inside a document in TexMaker using the code below: \begin{figure} \begin{center} \begin{tabular}{|c|}\hline \ \hspace{10cm}\ \\ \\ \includegraphics[width=5in]{...
0
votes
1answer
111 views

Entire PDF document as appendix

I'm writing a report, where I need to include some large PDF files as the appendix. I tried using this command: \includepdf[pages={1-},scale=0.75]{myfile.pdf}[H] In the pdfpages package, but it ...
2
votes
2answers
377 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 ...
2
votes
1answer
52 views

Include figure relative to path of package

For my thesis I'm using a given package from my university (titlepage.sty). Inside this package a figure is included VUB_logo. However, I wanted to put the packages I use in a folder named packages ...
2
votes
1answer
152 views

Compilation error [closed]

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

Include PDF without space on the left

I'm trying to include a PDF and then add text to it using overpic: \documentclass[a4paper]{article}% ensure identical page size \usepackage[abs]{overpic} \usepackage{tikz} \usepackage{geometry} \...
5
votes
1answer
91 views

What to \input and what to \include in a very large document?

I have a large notebook (~300 pages and growing at ~50 per month) with: Deep hierarchy (I use parts, chapters, sections, subsections, subsubsections and paragraphs) Document is broken into many ...
3
votes
1answer
61 views

Multiple versions include of a chapter

I would like to include a chapter two times, a short version in the main part and a long version in the appendix. Everything works fine except the labels and references. Is there a way to redefine ...