{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
1answer
34 views

Using standalone to combine multiple .tex into a single file

I have a number of latex files section1.tex, section2.tex, etc. Each of them should be able to be compiled individually to give a normal LaTeX document. I would like to write a file master.tex that ...
2
votes
1answer
19 views

Why does \includepdfmerge insert a blank page at the end?

How can I get rid of the blank pages inserted after the \includepdfmerge ? Code: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdfmerge[scale=0.5, delta=10pt 10pt, nup=2x2]{...
1
vote
1answer
1k 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/...
8
votes
2answers
197 views

Why do \include and \input handle extension name differently?

I have a file bar.tex that I include in other files. $ cat bar.tex hello, world $ cat foo.tex \documentclass{article} \begin{document} \include{bar.tex} \end{document} $ pdflatex foo.tex This ...
15
votes
2answers
528 views

Why am I able to \include in preamble?

The answer at When should I use \input vs. \include? mentions: \include gets you the speed bonus, but it also can't be nested, can't appear in the preamble, and forces page breaks around the ...
1
vote
1answer
23 views

Add existing PDF literally

I am new on LaTeX and I am struggling to take a pdf and just use it as is. I need the pages of a PDF to be placed there, no includegraphics or similars. Just take the 2 pages of the PDF and place ...
2
votes
1answer
66 views

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

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, ...
1
vote
1answer
26 views

Prevent recursive extraction with the `extract` package

I am trying out the extract package to save parts of my document that I later want to repeat as a summary at the end. I am hitting a recursion problem: If I include the output of the extraction in ...
0
votes
0answers
20 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 word. ...
1
vote
0answers
27 views

How to cut a figure/ break a figure to go over several pages

My aim is to cut pictures into two halves at the end of a page so that is would be continued on the next page and no space will be wasted. By document type is: \documentclass[12pt, twocolumn]{...
5
votes
1answer
78 views

How do I repeat an included .tex file multiple times?

I would like to repeat a file in a LaTeX document multiple times: \include{probenahme/sample} \include{probenahme/sample} \include{probenahme/sample} \include{probenahme/sample} \include{probenahme/...
9
votes
2answers
2k views

import input pgfplots with relative paths

The package import makes it posible to \input (and \include) a .tex document which itself \input (or \includegraphics etc.) stuff using relative paths. I was hoping that this also would work with the \...
7
votes
1answer
214 views

How do I get my integral-like symbol to align like the integral?

OK, so I've been tasked with creating this integral-like symbol in Latex, and the best way to create it from scratch seemed to be using the includegraphics command and giving it a /def/. Unfortunately ...
2
votes
1answer
52 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 ...
1
vote
1answer
31 views

\nomname undefined when list of symbols is in a external file

I want to create a list of symbols in an external file using the nomencl package. Here's what my file listOfSymbols.tex looks like: \renewcommand{\nomname}{List of Symbols} \nomenclature{$v$}{volume ...
0
votes
0answers
17 views

The difference between \input and \include [duplicate]

I would like to know what is the difference between the \input command and the \include command. Much thanks!
0
votes
1answer
36 views

Error in compiling \includepdf

My latex file is something like this: \usepackage{pdfpages} \begin{document} ... \bibliographystyle{abbrv} \bibliography{my_bib} \includepdf[pages=-]{my_file.pdf} \end{document} The ...
2
votes
1answer
25 views

use joint bibtex library in multiple files

My document is split into several smaller ones which are included in a joint document. Now how can I use one bibtex file for all subdocuments? I am using lyx, but all plain tex solutions are also ...
0
votes
0answers
27 views

Table of contents not created properly

I used \tableofcontents command but it only worked once. Then, it only included a single numbered chapter. Does that mean that the table won't include unnumbered chapters? How can I include them?
1
vote
2answers
42 views

Include a pdf page by page with descriptions after each page

I want to do the following: I want to generate a script from my lecture slides. My lecture slides are in pdf (generated via latex-beamer), but in beamer-size. Now I want to make a script from that, in ...
7
votes
1answer
104 views

How include a document with a documentclass in an another document

I write my thesis with the \documentclass{yathesis} and I must include my CV at the end of my thesis but my CV is in the \documentclass{CV}. How can I include this CV in my thesis without problems ...
0
votes
0answers
25 views

Auxiliary file in other directory - input fails

I'm using pdflatex to compile my files and BibTeX for bibliography stuff. Especially I use the -output-directory flag to keep the generated files in another folder and the -bibtex flag to compile the ...
0
votes
0answers
27 views

Including one document into another document with different packages, geometry, font, etc

How can I include a whole document as a subdocument starting with documentclass into another document? (for instance a titel page as a complete document) I put the subdoc in a separate .tex file and ...
0
votes
1answer
94 views

How to include any .sty file in circuit_macros?

My circuit_macros M4 code .PS #\usepackage{steinmetz} #include(steinmetz) #s_init(steinmetz) scale=25.4 source(up_,AC);llabel(,120\angle 50{^{\circ}},) .PE output And that I want image, That ...
22
votes
2answers
4k views

Speed up compilation by (pre-)compiling chapters separately?

I am writing a long document with many chapters. They are all included from a root document using \input{chapterX.tex} etc. Compiling everything takes pretty long. As a workaround to make compilation ...
0
votes
0answers
33 views

Underbracing an equation with tikz in a sub document, which is thereafter included in a main document

Notice, that for the following I have a master (.tex) document which includes the several parts/chapters (.tex). In one of the included chapters, I have an equation (with a square root) that I need ...
0
votes
1answer
57 views

\include not working in SageMath LaTeX

I'm using SageMathCloud's LaTeX. So I've got five .tex documents (all pretty long) with similar formatting. I want to add all five files into one large file that will respect the preambles of all ...
3
votes
0answers
57 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 ...
3
votes
1answer
53 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
30 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
112 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 ...
0
votes
1answer
64 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 ...
2
votes
1answer
40 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 \documentclass{...
10
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
35 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
31 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
22 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
114 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
3k 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
41 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
40 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
17 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
45 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 I'...
8
votes
1answer
279 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 ...
1
vote
0answers
94 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
11 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
41 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 ...