{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

3
votes
1answer
20 views

Undefined reference using a0poster (\include Vs. \input)

I have an a0poster document (see below an example) which is not loading the cross-references, although bibtex is working fine and compiling the references. I write the main text into a different tex ...
3
votes
2answers
56 views

I have two file -> a.tex and b.tex,how to insert b.pdf after a.pdf?

%********a.tex \documentclass{book} \usepackage[final]{pdfpages} \begin{document} Hello \includepdf[pages=-]{b.pdf} \end{document} Now b.tex %%%%%%%%%% %********b.tex \documentclass{book} ...
0
votes
0answers
42 views

A command for including a folder of macros

Is there any command to include a folder of macros(such as sty,def,... files) in preamble like one for graphics (\graphicspath{{figures/}}‎‎).
3
votes
2answers
155 views

Include file with preamble to another tex file

I have two files: paper.tex with text, title, and full preamble with authors and so on. It compiles successfully. The second file (B) has also a full preamble with title, authors, little text. It ...
3
votes
1answer
20 views

Avoid acronym list when acronym environment is \include[d]

I want to keep my acronym environment in a separate file and avoid printing out the whole acronym list. Still the option [nolist] of the acronym package seems not to work when the acronym environment ...
4
votes
1answer
153 views

Combining different projects into one (papers into PhD Thesis)

My question is similar to this one, but I have a problem with relative paths when including files. Assume I have three projects which all start with \documentclass[12pt,a4paper]{article} ...
2
votes
2answers
39 views

Latex compiling out \begin{document} etc

I am writing a thesis with latex, each chapter is in its own TeX file and get included with a \input{Chapters/Chapter1} command. One of my Chapters is generated with Sweave (R code) and includes ...
0
votes
0answers
16 views

Invalid dependencies with latexmk when using includeonly, hyperref and unnumbered sections

Latexmk compiles outputs even when source files have not changed in a specific case. My use case is the following: I generate several PDFs for a single document that contain either the complete ...
3
votes
1answer
104 views

Relative paths for \input and building from different directories

The minimal example If I have a directory containing my main LaTeX source file and it uses \input to incorporate some data in another file, I can use a relative pathname. E.g., with these files: ...
0
votes
0answers
25 views

Problem with `include` command [duplicate]

I have prepared a cover page and the first chapter of my dissertation. Both of these are in different tex files. I read that in order to have everything in a master file you need to use the include ...
4
votes
0answers
24 views

\importonly for only processing a single import?

I am composing a large document, and instead of using include/input, I use the \subimport* command from the import package. This allows me to take care of relatives paths very easily. However, the ...
0
votes
0answers
22 views

include tex tables on the same page [duplicate]

I want to include a table from another tex file before another table but this pushes the to another page. Do you have any solution to sidestep the problem? Here is the code ...
3
votes
2answers
79 views

clash between mcode and scrbook

I want to include Matlab code in my document. The mcode package used to do a great job in combination with my scrbook document class. However, I recently updated my KOMAscript family to version 3.12 ...
2
votes
1answer
48 views

Creating one .tex file form a structured large document [duplicate]

I just finished my Ph.D thesis using LaTeX and I create it in a structured way with several folders and .tex documents inside. I have a master main.tex file and add the different chapters, sections ...
27
votes
1answer
3k views

Adding Table of Contents to existing PDF

How can I add a Table of Contents (TOC) to an existing PDF? I have an existing PDF (scanned notes from a class). I'd like to improve this basic scan as much as possible. I do not think that any OCR ...
2
votes
1answer
61 views

\bibentry problem with chapterbib package

In my document I want to create a separate bibliography for each chapter. This works fine by using the chapterbib package. However, \bibentry does not work anymore in included files when invoking the ...
12
votes
3answers
2k 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 ...
4
votes
1answer
46 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} ...
7
votes
1answer
136 views

Multiple PDF generation with one tex file

I'm writing my cv using moderncv, and I want to make it in 2 languages. I wrote a common part, which both languages will have, and specific ones, where I put the translated content. I also want to ...
0
votes
1answer
77 views

Error using \tikzexternalize and different graphical inputs

How can this issue be stated more precicely and finally solved? Having a large document and using \input{...} within figure enviorement for including gaphics by tikz and pdf's, png's. Each figure ...
5
votes
2answers
2k views

\usepackage[turkish]{babel} and \includegraphics inconcistency

Here is my document : \documentclass[12pt]{book} % must-have packages \usepackage[turkish]{babel} \usepackage[utf8]{inputenc} % This package will support Turkish chars % must-have packages ...
0
votes
0answers
36 views

How to use shell environment variable with import/include/input?

I would like to create a folder in my home directory to store a few files in it that should serve as templates e.g. handout.tex. I begin to write my specific file somewhere in my filesystem. Now I ...
0
votes
0answers
5 views

“smart” Include/Import for file in subfolder that have images in subsubfolders [duplicate]

i've to put in one file some other documents i wrote before. i've this structure mainfile.tex chapter1/chapter1.tex chapter1/intro.tex chapter1/fig/fig1.pdf chapter1/fig/fig2.pdf in chapter1.tex ...
2
votes
1answer
46 views

File name autocompletion in \include for large latex projects

I am a very lazy person, so sorry in advance if my question seems a bit odd. Working on a thesis, I am splitting the content of the whole document into multiple .tex files, one for each chapter ...
2
votes
1answer
95 views

Modular Documents, including image from other LaTeX-Project

I am currently writing on a document where I want to include subfiles; I am creating a modular document. Now, the problem is, that I am including (read: input) files, that have been used for other ...
2
votes
1answer
131 views

Can't insert/remove a blank page in main document

I'm on Win7 with TeX Live 2013 and TeXstudio. I have a main.tex file (\documentclass[...]{scrartcl}) with 2 \input{file} commands. I want to put a blank page between the table of contents and the ...
8
votes
2answers
246 views

How can I include subfiles in to a subfiles?

First of all, I am a newbie here and I have no idea to post a query but I have a problem for which I require your help. I even don't know what should be the title of my problem but what my intuition ...
3
votes
1answer
150 views

Splitting the preamble

When working with big documents, especially when dealing with many lists, graphics, figures and includes, I often come up with a structure roughly looking like this. \documentclass{beamer} [preamble ...
1
vote
0answers
76 views

Combine sections into chapter. Each section a separate .tex file

I am putting together a portfolio of evidence together. I have written all the individual pieces of evidence as separate latex documents. Some of these documents have references at the end of the ...
28
votes
6answers
886 views

Is it possible to write all mathematical formulas in a separate file and add them in main file on-demand?

Consider this scenario: I have a report to write and I want to write all mathematical formulas in a separate file and then add them in the main report file on demand (i.e. include/import/add/call a ...
3
votes
2answers
137 views

Figure not being typeset properly

I'm writing a report with using the IEEE Transactions template, and the template itself includes an example figure: \begin{figure}[htbp] \begin{centering} \textsf{A single column figure goes here} ...
1
vote
0answers
186 views

Run Bibtex on aux files in subfolders, multiple OS

I have a complete framework for my PhD thesis based on classicthesis/arsclassica. Single chapters are located in Subfolders like this. main.tex Chapters/project1/project1.tex ...
6
votes
1answer
148 views

Table including rows of a master table

I have a big master-table* containing reference items and that is a simple cross-project database of such items. Now I'd like to include in different documents parts of this master table and select ...
3
votes
1answer
131 views

latex preamble for writing a book

I am writing a book. I am trying to build a preamble in such a way that there is master.tex and different files for different chapters, preface, contents etc. I am 4/10 in latex knowledge. I will be ...
9
votes
1answer
206 views

Refsection and \includeonly warning

I'm using biblatex with a biber backend to create a cumulative bibliography, subdivided by chapter. My (simplified) main file (main.tex) is: \documentclass{book} \usepackage[refsection=chapter, ...
1
vote
1answer
112 views

How can I include an interactive CDF in a LaTeX document?

A CDF is an interative format of Mathematica 9. You must have cdf-player installed. How can I include an interactive CDF in a LaTeX document?
4
votes
1answer
64 views

Should I make my include file into a package?

I wrote an include file to allow me to draw certain diagrams (that have various different parameters) conveniently, by just calling macros within a tikzpicture. This file is now at about 1500 lines, ...
2
votes
0answers
45 views

How to include a postscript image and change the fonts inside it? [closed]

I need to include a postscript file in a XeLaTeX document. The text in the PS file has western digits, but I need Persian digits. How should I do this?
9
votes
3answers
628 views

Open included files in emacs+AUCTeX

When working with emacs+AUCTeX I would like to consider a project with one main.tex in which you have many include's. Is it possible somehow to open the included files from within the buffer where ...
4
votes
1answer
78 views

Can't get rid of blank page at beginning of document

I want to assemble some application documents into a single pdf-file using TeX. Each single document file originally was in DinA4. I scanned them and have them as pictures now. To assemble all ...
3
votes
4answers
539 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 ...
6
votes
1answer
118 views

Embed image data (png or pdf) inside tex document [duplicate]

Is there a way to include (or "inline") raw image data or pdf data inside the tex document itself, such that it becomes stand-alone? Something like this: ...
10
votes
1answer
95 views

Avoiding recompilation of unchanged part of a document

I am currently editing a relatively long document in arabic with the package arabtex, everything is going quite fine but the compilation takes several minutes. As I need to edit only small parts at ...
4
votes
2answers
1k views

Including .tex file to LyX document

Is it possible to write pure latex to a separate file and then include that in the LyX document. What are the pros and cons of doing that? As far as I understand there are problems with preamble. ...
1
vote
1answer
68 views

Include TEXT from another file before generating PDF

I have a tex file which compiles fine and generates PDF without any problem. I need to include text (contents of a text file) from another .txt file at the end of tex file so that generated PDF would ...
8
votes
3answers
444 views

Include figure from PDF file

I want to include a figure from another PDF. There is the quick way, where I take a screen shot, save as my desired format and the \includegraphics[scale=xx]{<file path>} but this is messing up ...
1
vote
0answers
48 views

Possibility to show notes on included PDF pages

I include pages from an pdf in my document: \includegraphics[page=4, clip, width=\textwidth, keepaspectratio]{graphics/lorem.pdf} However, if I make notes in the PDF (i.e. used Skim, exported to ...
3
votes
1answer
121 views

Including a document into another one without redefining setting

For a publication, I have to include another publication. The second one is in English and uses IEEEtr style. I could of course compile the second one into a pdf file and include the pdf into the ...
4
votes
0answers
41 views

Reference non-included chapters in large document

I have a large document that contains many different chapters which reference each other. The body of the main latex file looks something like: \maketitle \tableofcontents \include{chapter1} ...
2
votes
1answer
242 views

Including graphics in modular documents [duplicate]

What is the right way to include graphics when you are creating a modular document? My directory structure is as follows: /root --report.tex --mystyle.sty --/tex ----/literature ------literature.tex ...