{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

0
votes
1answer
46 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 ...
1
vote
2answers
71 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
16 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 ...
1
vote
0answers
31 views

compilation error

for the following code: \documentclass[12pt]{report} \usepackage[utf8]{inputenc} \usepackage{setspace} \usepackage{graphicx} \include{\frontmatter/title} \include{\frontmatter/abstract} ...
2
votes
1answer
45 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} ...
0
votes
1answer
47 views

Chapter not being included

Hello I am trying to write my thesis to include different chapters my master tex document looks like this: \documentclass[11pt a4paper]{report} \usepackage[left=4.0cm, right=1.5cm, top=1.5cm, ...
5
votes
1answer
31 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
58 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 ...
2
votes
1answer
92 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} ...
1
vote
2answers
33 views

Include/input every subfile from a subfolder

Our chemistry teacher gave us a collection of vocabulary cards which include every term we should be able to explain (looking forward for the final exams). Because just having those cards doesn't help ...
4
votes
2answers
49 views

How to provide short path for graphics in included file?

I am creating a research diary using LaTeX that has input files stored in folder A Diary | |+ Diary.tex | |+ January | | | |+ January.tex | | | |+ Figures ...
1
vote
0answers
28 views

Include pdfpages and unwanted scale

When I include a pdf file with the command \includepdf[pages=1]{file} from the package \usepackage[final]{pdfpages}, I obtain a scaled document (in a smaller height). How can I obtain rigorously the ...
6
votes
3answers
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 ...
3
votes
1answer
46 views

Using latexmk with multiple tex files in the directory

edit solution to compile : latexmk -pdf mainfile.tex I have left this example up as it might contain language used by others unfamiliar with this area :) At the very least it provides a Minimal ...
0
votes
0answers
20 views

How can I include files like biblatex.sty biblatex.def biblatex.cfg etc. in a .tex file? [duplicate]

Hi I'm using LaTeX for documentation in a programming project. On my computer I can create the PDF from my various .tex files, but the build server has some problem, because he doesn't have all files ...
1
vote
1answer
51 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 ...
0
votes
0answers
40 views

Including graphics error

I am trying to add an immage to my text with the command: \includegraphics[height=19.8truemm]{kuleuven} But each time I get the error that the file cannot be found. As I have practically no ...
4
votes
2answers
403 views

subimport and includeonly

Say I have a document structured as follows. main.tex + ch1 - ch.tex - s1.tex - s2.tex + ch2 - ch.tex - s1.tex - s2.tex Here, *.tex are LaTeX ...
2
votes
1answer
260 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, ...
1
vote
1answer
37 views

How can I use relative paths?

I want to add a table from a separate tex file to my document. I get an error saying the file vr_sets.tex is not found, when I do this in Chapter2/chapter2.tex: \input{tab/vr_sets} This also fails: ...
4
votes
2answers
74 views

Using ranges with pdfpages fails

The documentation says the following: E.g.: pages=- will insert all pages of the document [...] however, when I put \includepdf[pages=-]{foobar.pdf} in my LaTeX doc (compiled w/ xelatex), I get ...
2
votes
1answer
38 views

parameter passing to \addcontentsline

According to this thread Include a file passing a parameter it should be as simple as \def\thetitle{longtitle} \include{text} It actually works pretty well but not for the table of contents. in ...
2
votes
0answers
45 views

Error Extra \else \include after using bibtex for each \include using chapterbib [duplicate]

Thanks first of all for the previous times that I have already found answers to my problems without having to post anything! My problems is as follows: when I compile my main file only after I have ...
0
votes
0answers
20 views

Table of contents inside an included PDF [duplicate]

I've got some problem with LaTeX right now, well to be honest it's not really a problem and I'm not even sure that it is possible but I would like to be able to do it. Basically, here is my LaTeX : ...
1
vote
0answers
33 views

Defining path to file in separate directory in include statement

I have a main document that includes a list of 'include' statements. Could someone please help me with defining the path to the files that need to be included. My directory structure is: Book Title ...
2
votes
2answers
69 views

Include chapters using foreach

I have seperate .tex files in a directory named chapters in the main directory. I would like to include/input those. After some research a solution like the one below could be possible. Unfortunately ...
2
votes
1answer
97 views

Managing multiple tex files using \include and ../

I'm working on a larger thesis assignment, and I've been fiddling around with my various tex files in different folders, trying to make it look nice and orderly. Atm. my structure is similar to this: ...
0
votes
0answers
24 views

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

Is it possible to use the \include and \input commands with only part of a file name like it is possible to skip extensions and use relative directories? I.e. \include{Part1} \include{Part2} ...
1
vote
1answer
49 views

troubleshooting about \include

I have probleme with \include as follow \documentclass[12pt]{amsart} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amssymb,amsmath,epsfig,graphics} \title{Title} \author{My name} ...
0
votes
0answers
32 views

Child Documents have different sectioning levels than Master Document. How can I incorporate?

I have three Lyx documents I would like to insert into a Master Document as Child Documents. However, the child documents begin with a Chapter. I need them to begin with a Subsection in the Master ...
2
votes
1answer
57 views

(TeXShop) Magic comment in a subfile that runs the main file but including only this subfile

Disclaimer: This question is a bit specific to TeXShop because I have to help somebody who's using this editor I don't know as I don't own a Mac. Nevertheless, it could be helpful to others. The aim ...
2
votes
1answer
40 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} ...
5
votes
0answers
55 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 ...
0
votes
2answers
251 views

How to include tex files

Is there any way that I can add different .tex files (From different folders) into another folder's .tex file? I meant that all of the .tex files will be fine and separated and I just need to ...
1
vote
1answer
65 views

rotate text in multirow table of figures

My question is similar to this one: How to rotate text in multirow table? but my table is composed of individual .eps files (which are all the same size, created in a different program) via ...
1
vote
0answers
32 views

Include file with prefixed labels

Say I \include A.tex and B.tex in main.tex. Say A.tex has something labeled in it, \label{a}. Then I can just reference this in B.tex as \ref{a} without any problem. I don't want to be able to do ...
1
vote
1answer
80 views

build folder usage issues

I'm writing my manuscript using TeXlive and Texmaker. I have different folders for chapters, images and frontmatter (including title, declaration, acknowledgements, ...) to organize a little bit the ...
2
votes
1answer
123 views

latexmk -outdir with \include

I'm trying to get latexmk to compile a .tex file with external \include{...} references to a specific build directory so I don't pollute my directory tree with .aux files, etc. However, it appears ...
0
votes
1answer
92 views

\includegraphics in a0poster

\documentclass[a0,final]{a0poster} %%%Load packages \usepackage{multicol} %3-column layout \usepackage[left=3cm,right=3cm,bottom=0cm,top=0cm]{geometry} %Reset margins ...
2
votes
1answer
72 views

Combine .tex files from separate folders

How to combine tex files in different folder into single. I would like to combine all the chapters which I saved in separate folder. Each folder contains \documentclass[10pt,a4paper,final]{report}... ...
3
votes
1answer
438 views

No citations/bibliography processed/produced when using \include

I use TextMate 2 to write my LaTeX documents. I've noticed that when I use \include to add chapters, my citations don't process, whereas when I use \input, they do. I would like my document to have ...
1
vote
0answers
33 views

When including a graphic using text in LaTeX, “fi” and “ff” are not printed after compiling. How can I change this? [duplicate]

In my study, I include PDF graphics as images in order to receive high resolution graphics. These PDF graphics are initially created in Power Point, printed as PDF there, and then included in the ...
1
vote
2answers
137 views

\input with undefined environments

I am trying to assemble my thesis with the standalone package. I am attempting to input my old LaTeX document, lna_achemso.tex, into thesis.tex. The standalone package works well when both documents ...
1
vote
0answers
159 views

Texmaker bibtex works with \input not with \include

I use bibtex 0.99d with Texmaker 4.3. I have a multi .tex file document with the main document using \include{} for chapters. The bibtex configured as bibtex build/%.aux doesn't work. However when ...
5
votes
2answers
1k views

Figure environment not working with included file (extra } or forgotten endgroup)

I've spent hours on this issue. I hope someone can help me. I'm running into some kind of interference when I try to use the figure environment (Likewise for table, might be related to floats). I ...
0
votes
0answers
29 views

Integration of tex-file into another tex-file but with separate titlepage and bibliography

I am writing my cumulative PhD thesis and need to integrate the already written papers into my PhD main file. I need the following things: the page numbering to continue throughout the whole PhD ...
0
votes
1answer
41 views

Header graphic dissapear from first page when using \thispagestyle{plain} in the second one

I'm using the fancyhdr command to incorporate a header in the first page of a document. This is the code I wrote: \thispagestyle{fancy}\hspace{0.2cm} ...
3
votes
1answer
75 views

Create a template

Is it possible to create a template where you can import your preamble as well? How? So you have your main document which looks like: \include{preamble} \include{A} \include{B} \include{C} And are ...
2
votes
1answer
112 views

MiKTeX Options submenu is greyed out in WinEdt 6.0

I have included the package mtpro2 in my latex document using \usepackage[lite,subscriptcorrection,slantedGreek,nofontinfo]{mtpro2} as recommended here. The main reason is that I need very wide ...
1
vote
1answer
300 views

Change size of whole set of elements

I am trying to include some gnuplot-generated figures using the epslatex terminal, which creates an .eps file and a .tex file. The way to include these figures in the document is writing ...