{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

8
votes
1answer
254 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
0answers
62 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
6 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
81 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
195 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
213 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 ...
1
vote
0answers
105 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 ...
4
votes
1answer
374 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: ...
1
vote
0answers
515 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 ...
3
votes
1answer
270 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 ...
1
vote
1answer
315 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
71 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
51 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?
3
votes
2answers
182 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} ...
4
votes
1answer
108 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 ...
0
votes
1answer
116 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 ...
6
votes
1answer
240 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: ...
4
votes
1answer
348 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} ...
10
votes
1answer
122 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 ...
8
votes
2answers
595 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
186 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
52 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 ...
8
votes
3answers
557 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
1answer
75 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 ...
4
votes
0answers
44 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} ...
9
votes
1answer
244 views

What are your best practices to compile only a part of the document or presentation (or how do you prepare the big ones)?

I see that there a number of questions (A, B, C, D, E) on best practices, none of them answer the issue I am going to talk about. We all need to prepare large documents (or slides) from time-to-time. ...
5
votes
2answers
141 views

Is there any way to shift two \includegraphics images? Having trouble with \begin{figure}

I am trying to put two images into my latex document. I want the format to be 2 (a) Text text Image Image Text text When I do the following %2a \item Here are the histograms of M and A values. ...
1
vote
0answers
38 views

How include a Feynman diagram in a beamer presentation? [duplicate]

I have a bunch of Feynman diagrams constructed with "feynmp" that I would like to include in a beamer (presentation mode). I know Tikz works but then I have to redraw each and every diagram from ...
12
votes
2answers
331 views

How can I easily use the same preamble on all my documents?

I use multiple computers (Mac and PC), so creating a path (e.g. \input{c:/folder/Preamble}) won't work. I really want to assign a URL (in Dropbox) to the file and input the file via the URL, but I ...
1
vote
2answers
49 views

How should I add a file in my LaTeX document?

I am creating my BE project report using LaTeX and in that I have to add my sponsorship letter. Is there any solution to do this?
10
votes
1answer
285 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, ...
3
votes
1answer
143 views

Create one presentation out of several presentations?

Is there a way to combine several Beamer presentations into one big presentation? E.G.: If I have two files a.tex and b.tex which are both presentations, can I compile them into one big presentation? ...
1
vote
1answer
85 views

Include vs Input in my case

Suppose you have two fully finished thesis, with their own bibliography and their own appendices. When I include one into the other, there is (obviously) some interference between the two different ...
4
votes
1answer
85 views

Resume option in enumitem with \includeonly

If I use \includeonly to include file foo2.tex, \begin{enumerate}[resume] does not resume the numbering of the last enumerate environment in file foo1.tex. What I've done is to run all parts, see ...
4
votes
1answer
144 views

Putting the \chapter in main .tex file or inside included files?

My question is this: What is the usual way of making chapters when working with large .tex files? Do you put \chapter{Chapter 1} inside the main .tex file, or in the included files? What is the ...
1
vote
1answer
347 views

A question on tikz/pgf externalization, standalone, and includeonly for compiling large document

I have a goal to build an efficient compiling environment to build large documents. The requirements are these: Use tikz/pgf to draw many figures; Use \includeonly to build only a portion of the ...
2
votes
1answer
200 views

How to integrate an subtitle into TABLE OF CONTENTS?

I have a problem with a book I am writing. Here the facts: I am basically working in one tex.file let's call it mainfile.tex, where I want to include my other tex.files! I have a Layout.file, where I ...
2
votes
1answer
297 views

Preventing images from floating out of position

I am using includegraphics to place images. These are basically answers to questions, therefore I would like to images to appear immediately below the question label. However, I the images just keep ...
6
votes
1answer
234 views

Include a file passing a parameter

Is it possible, while including a file, to pass some parameters to that file and get included file rendered differently depending on those parameters? My particular case is, I have two documents, ...
4
votes
2answers
2k views

Blank pages after \include in LaTeX report class

I'm writing my thesis as several separate chapters and incorporating them into one .tex file. Some of the chapters are pdfs of articles, and they are simply added to my master.tex using \input. ...
2
votes
1answer
313 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 ...
1
vote
1answer
137 views

Outsource some text fragments

I have to type many books in Latex, where some chapters are quite similar to each other. My idea was to do one chapter in a directory and outsource the differences in a subdirectory where the main ...
3
votes
0answers
308 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
1answer
235 views

\paragraph & \label{}

I am working with about 4000 aphorisms and this is the way I structured my document. I created 4000 sections in one document and named it "aphorisms" i.e. \section{aphorism - 1} \label{1.1.1} ...
3
votes
4answers
986 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 ...
3
votes
2answers
428 views

\pgfplotstableread and subfiles

Is there a way to use a folder structure with subfiles and \pgfplotstableread? I have the following structure: main.tex \documentclass{article} \usepackage{pgfplots} \usepackage{subfiles} ...
0
votes
2answers
218 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 ...
4
votes
1answer
283 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 ...
3
votes
1answer
2k views

How to include files in subfolders

I have arranged 700 individual files in 18 different folders, as shown in the attached image. This was open source project to get it typed page by page. The number of pages varies for each folder. ...
0
votes
0answers
33 views

Include subsections depending on variables/ifthen [duplicate]

I am making a template for several books. I have a mainfile which includes the .tex files for my chapters. For each book, some chapters are always almost the same except for a few subsections. How ...