{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

2
votes
0answers
16 views

Synchronization between source code and PDF viewer fails for \include{.} (go to source / go to PDF)

In my LaTeX document I am using the following structure: I have a main tex-file from which chapters are included via include(.). Thus, each chapter has its own tex-file. For some time now, I ...
0
votes
0answers
14 views

Include a functional 3D pdf file

I have a 3D pdf file (.pdf) I want to include in an appendix (image 5). When opening the file separately with Adobe Reader, one can zoom in on the object, rotate it etc. I would like to have the same ...
3
votes
1answer
50 views

Syncing Two Files

I am creating two documents: 1 is a set of homeworks and the other is their solutions. Each homework and solution set is its own .tex file and there is a master .tex for the HW-booklet and another for ...
2
votes
1answer
27 views

using \include for unnumberred chapters and sections ->tableofcontent mess?

I want to have a document with the following preconditions: sections in separate files -> \include{} chapters and sections are unnumbered -> using \addchap{} and \addsec{} chapter headings should ...
1
vote
1answer
83 views

Unwanted empty page in front of the document [SOLVED]

Solution below! i'm working on my master's thesis, and have this problem with an empty page at the start of the document. I'm using TexMaker and use a "headdocument" where i put the preamble with ...
1
vote
1answer
824 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
62 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 ...
1
vote
1answer
53 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
39 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 ...
9
votes
4answers
2k views

How to make “\input” in a “\include”-d file use the correct current path?

I'm having a master file let's say test.tex and also some folders sub1/ and sub2/. There is also a TeX file in each of them: sub1/sub1.tex and sub2/sub2.tex. In the sub1/ and sub2/ are also some ...
0
votes
0answers
19 views

Texmaker: display the structure of the whole document

I am working on a Latex document which includes several parts in separate documents. Is there a way to make Texmaker look into the included documents to display on the left hand sire panel all the ...
1
vote
1answer
25 views

\includepdf puts title section below top margin

I'm inserting an pdf file for a section with the command \includepdf[scale=0.9,pagecommand=\section*{\begin{center} ANEXO \end{center}}]{Oficio5S.pdf}, so the pdf is inserted in the page ...
2
votes
0answers
17 views

How to compile just one chapter, with bibliography of citations in that chapter?

I'd like to compile one chapter in a thesis, and include the bibliography, with only the citations found in that chapter. I am using \include and \includeonly to get just the chapter I want, but it ...
1
vote
0answers
112 views

merging some scrartcl-documents in one document [closed]

Hello StackExchangeCommunity, I'm writing some nice short stories with 20-40 sections in LaTeX with scrartcl. Every short stories has an titlepage, table of contents with all sections and after this ...
4
votes
5answers
2k views

TexMaker - working with multiple tex files, autocomplete is not working

Background: The document that I am currently writing is getting pretty big, so I decided to split it. I've tried \include and \input commands, but the problem still remains to be solved. I have ...
2
votes
0answers
20 views

commands / package for target-group-specific creation of documents

Is there a package that allows me to create target-group-specific documents. Basically I have two scenarios: There is an exercise document and each task is initially followed by a solution. In that ...
4
votes
1answer
37 views

Conditional input of a file depending on a keyword that its contains

I have several files containing each an exercise and to make a document I include a set of this files. Some of them need a special treatment so I need a to make a conditional input command that test a ...
1
vote
1answer
36 views

Figures in LaTeX from different directories

I've seen this sort of question on a lot of fora, but I haven't found an answer to my question. If the answer is already out there and I didn't find it, I apologize in advance. The situation is as ...
0
votes
0answers
16 views

Functionality of links when PDF pages are combined [duplicate]

pdfpages works really well for combining pages from several PDF documents into one document, but it does not retain the functionality of links on PDF pages. The functionality will be retained if you ...
15
votes
3answers
33k views

\graphicspath and \include

I am trying to define a central graphics path for my thesis, however, the chapters are included with the \include command and by using \include with \graphicspath, pdflatex complains about it can not ...
3
votes
1answer
39 views

combine documents of different classes

I need to add to an article another document, class exam. include and input don't work properly if the preamble is different. I must add some multiple choice and clozes as an appendix to the article ...
8
votes
1answer
277 views

Inserted graphic - jagged edges to show that it is just part of the whole

I would like to make visibly clear, that an inserted graphic is just part of the whole. Since a straight cut just appears as inserted falsy, I was wondering if there are any tricks to show jags for ...
0
votes
0answers
14 views

Is there a version of \include and \input for bibtex? [duplicate]

I'd like to spread out my references between multiple bibtex files. I tried putting all my references into a file called "etho.bib," then put \input{etho.bib} into my main bibtex file. This didn't ...
1
vote
0answers
53 views

How to avoid overfull and underfull boxes?

I can't solve my problem with overfull and underfull hboxes and vboxes. \usepackage{setspace} \usepackage{subfiles} \usepackage{nomencl} \makenomenclature \usepackage{color} \usepackage{tabularx} ...
0
votes
0answers
25 views

Combining and exporting many files using #+INCLUDE

I am using org-mode in Emacs to write my thesis. I write each chapter in its own file. Each file exports correctly one its own; with images, footnotes, etc. I would like to now combine them all into ...
0
votes
0answers
10 views

Using include-directory from inside the IDE

I changed my way of building documents by using the following command-line-argument: pdflatex.exe -include-directory="C:\myRepository" -synctex=1 -interaction=nonstopmode %.tex since I want to ...
9
votes
3answers
1k views

Does LaTeX have to reprocess included files that haven't changed?

I have included several .tex files (they do not contain the header code like documentclass, begin and end document, etc). When I include the file using \include everything works. But if I recompile ...
0
votes
0answers
39 views

Using \include \input in document

Is there a way to include a document within another document and retain different format of the documents. For example, I am writing a proposal (which has a certain format) and will like to include ...
2
votes
2answers
63 views

PDF inclusion error when using \input or \include

I have set up a LaTeX file for a book-type document with the following preamble: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{textgreek} ...
1
vote
1answer
29 views

siunitx custom file with subfiles

I recently decided to divide my thesis into several nested files as it follows: % Main.tex \documentclass{memoir} \usepackage{subfiles} \usepackage{siunitx} \include{units} \begin{document} ...
5
votes
4answers
10k views

Combine several chapters (separate files) in to one report

I am writing my final year thesis. I was asked to write my report part by part. First I wrote the Introduction chapter. No I have completed the Literature Survey. Both these were written as two ...
0
votes
0answers
7 views

Using \addlines in large documents with \includeonly

I am finalizing an 800 page book. I want to work with \includeonly in order to prevent texing the whole document again and again. I have big problems with \addlines from the package addlines since ...
2
votes
1answer
47 views

Align three figures, Left, Centering, Right with appropriate Captions and Labels?

I am learning how to use Latex and currently I am trying to get an understanding of how to place 3 figures all in one line across the page. Here is my efforts which has sent one figure to the next ...
2
votes
0answers
72 views

Is newclude (still) a good package to use?

I came up with this very MWE while trying to organize my code into several section files to speed up compilation of a journal paper (sections, not chapters!): \documentclass{article} ...
1
vote
1answer
44 views

appendix instead of chapter in table of contents

In the table of content, I want to have Appendix A instead of chapter A, Appendix B instead of chapter B, and show on. I can't show this when I use \include{appendix}. Following is my code: ...
6
votes
1answer
106 views

Included PDF pages mess up page numbering in PDF-reader

I have a report with a frontpage, abstract, preface and acknowledgement. These pages are not numbered. Then the remaining pages contain several chapters and all these pages are numbered. Today I added ...
6
votes
1answer
81 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
41 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
42 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
50 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
68 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
33 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
81 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
68 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 ...
0
votes
1answer
26 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 ...
2
votes
1answer
41 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 ...
0
votes
0answers
14 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
56 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
110 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
41 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 ...