{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.
4
votes
1answer
46 views
Mark on Document where Input stats and What is the Filename
I have a master document, and use many input{...} commands to compile the total document from many parts.
I would like to mark on the working document, the start of each new input, and, what the ...
15
votes
3answers
3k views
How to include audio file in PDF
How do I include audio file, or should I say, link to audio file in PDF?
Audio should be playable "from
PDF directly", without opening
any additional window.
Is it possible to attach audios to PDF
...
0
votes
0answers
22 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 ...
14
votes
2answers
1k views
Is there an \exclude option?
When I'm debugging a big multifile project, it's often useful to make extensive use of \includeonly to narrow down where the problem is. but today I found myself using: ...
2
votes
1answer
79 views
Include a PDF and ignore page margins?
I am writing a document using pdfLaTeX for college, and I have been supplied with a title page I need to use.
I have altered the \maketitle command:
\usepackage{pdfpages}
\renewcommand\maketitle{
...
0
votes
1answer
27 views
Adding \includegraphics totally abolishes all \citep and \ref links [closed]
I have something very peculiar, and I have been trying for several hours now, without success. I will try to describe it as well as possible. I must say beforehand that I used Word2010 as editor. So I ...
0
votes
0answers
58 views
Problem \include-ing multiple .tex files
I am \include-ing multiple .tex files and I am using a package I found on the web for a one-column abstract in a two-column document:
%%
%% This is file `long2.sty'.
%%
%% Author: Tomas "tohecz" ...
1
vote
0answers
36 views
includegraphics stopped working after including another graphic [closed]
Currently using Texmaker and using this line of code:
\begin{figure}[h!]
\includegraphics[scale=.5]{Figures/Blah}
\caption{\label{Blah} BLAH BLAH}
\end{figure}
Everything worked with several other ...
2
votes
1answer
65 views
pgfplotstableread fails to read the input file
I am trying to typeset two different tables in a moderately large document. The data for the tables are written as comma-separated values in two different .csv files. I am including the different ...
0
votes
1answer
80 views
TeXworks: Compile only current document with \includeonly
I have a large document with multiple parts:
main.tex:
\documentclass{article}
\begin{document}
\include{part1}
\end{document}
part1.tex:
% !TEX root = main.tex
Hello World!
This way, I can ...
0
votes
1answer
45 views
newclude does not include file content
I am trying to include chapters in a document without page breaks and found the newclude package can do this using \include*, however, when I try to implement it, instead of inputing the file, I just ...
23
votes
2answers
242 views
Redefining \include
A puzzling choice made by Leslie Lamport was to define \include in such a way as to issue a \clearpage before reading the file. This has been puzzling me for sometime as it is not a very good choice ...
9
votes
1answer
61 views
Can I use \input inside an \include?
I know it is not possible to nest one \include inside another, but what about \input? Is it possible to have something like:
\documentclass{article}
\begin{document}
\include{file1}
...
1
vote
0answers
47 views
includegraphics in emacs with latexmk
I document I used to be able to compile on Vim wont compile on emacs. When I check the log, it is having trouble with
\includegraphics[widht = 3in]{file.pdf}
It says
I could not locate the file ...
2
votes
2answers
155 views
How to shift graphics/adjust placement of figure with \includegraphics
I composed a diagram that takes up the entire sheet of paper in landscape mode, called diagram.tex (compiled it to generate pdf). I'm trying to include that into an article, but only half of it is ...
4
votes
1answer
146 views
Is there a LaTeX editor capable of synctexing a live preview from an included or inputted or subfiled chapter02.tex?
As a beginner... I thought I had settled for the distraction-free Gummi; but now I'm unsure, as I gather it's not so great for larger, modularized documents, such as writing a thesis:
Gummi's live ...
0
votes
0answers
27 views
Include separate document as is, contents and all? [duplicate]
I have to include a whole separate document (some documentation) in with my main document, meaning title page, contents, page numbers and all. This seems to be similar to How to include a document ...
0
votes
1answer
62 views
How can I use \input and \include with biblatex (biber backend)?
I have a document with external files. The only reason I am using external files is to make it easier to organize my large project. I have taken a small piece of the larger project and attempted to ...
0
votes
1answer
33 views
How can I change graphics with timeout in a beamer?
Is there a way to include several graphics on the same place on the frame, but at different times?
Personally, I would like to roll 3-4 pictures repeatedly changing on every, say, 10 seconds. All of ...
2
votes
1answer
189 views
Using minitoc in included chapters?
I'm writing a thesis. It is structured as a main thesis.tex document, that uses \include to include individual chapters written in separate documents. I would like to include a mini-toc at the ...
0
votes
1answer
59 views
A question mark instead of reference number appears when \cite is in a separate file inlcuded in the main file by \include
I am using the book style and each chapter is put in a separate file and included in the main file by \include. At the end of the main file, I put the following lines:
\bibliographystyle{plain}
...
0
votes
0answers
72 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 ...
5
votes
1answer
60 views
re-define \ref and \label to include source filename?
I have a set of documents each with references that look like:
\ref{figure1}
and so on. This is no problem when building each document separately,but creates many
duplicate references when using ...
0
votes
0answers
51 views
\input{<file>.pstex_t> does not work through an \import instruction [closed]
I have a directory structure:
maindir (this is where the main latex file is)
and then
subdir1/
subdir2/ ...
in the main file I do
\import{subdir1/}/sub1}
\import{subdir2/}/sub2}
etc.
In ...
4
votes
1answer
155 views
Is this the correct way to format a book in LaTeX?
I have a question that may be subjective but I will try to make it as less subjective as possible.
Is this the correct way to format a book in LaTeX?
What I have done is the following:
...
0
votes
0answers
61 views
\include not working but \input is [closed]
I have a problem with using \include. Below is the code:
\documentclass[11pt,twoside,openright]{memoir}
\usepackage[size=pocket,trim,bleed]{createspace}
%\usepackage[paperwidth=4.25in, ...
0
votes
1answer
141 views
how to turn latex figure by 90 degrees alongwith the caption? [duplicate]
\begin{figure}[p]
\centering
\includegraphics[width=1.3\textwidth, angle =90 ]{Graphs/1.png}
\caption{Box plot of number of positions sent per iteration using this scheme}
\label{fig:awesome_image}
...
0
votes
2answers
158 views
Importing separate file into my LaTeX file
I'm curious as to whether it's possible to insert an entire separate file into a LaTeX document as an inline command. For example, I have the following LaTeX code:
\begin{Verbatim}[frame=single]
...
2
votes
1answer
38 views
No %.aux file in a particular directory
I have the following line in my report.tex
\include{intro/introduction}
\include{prlm/preliminary}
\include{svy/survey}
and the corresponding directory structure. The directory structure is ...
5
votes
4answers
399 views
Latex not data driven enough, Embed XML+XSLT?
Ok, so I've been using Lyx for about a year now. I haven't really dug too deep in to the LaTex/Tex side of things.
I've a little more experience with XML + XSLT.
It has a nice seperation of Data from ...
2
votes
0answers
68 views
Combine two .tex files [closed]
I'm making my phd dissertation in LaTeX. Although I am a noob, everything works like a charm, but now I have to make the titlepage. My university had a LaTeX .tex file (with .sty file,...) which ...
1
vote
1answer
98 views
Creating an abbreviations file [duplicate]
I'm new to the LaTeX scene as I've starting writing my thesis. I'm using a root .tex file and using \include to add in my chapters (etc). I'm also using \nomencl to add an abbreviations list. I'd like ...
5
votes
1answer
130 views
What would cause LaTeX to put text and tables on separate pages?
My document is being generated with many pages with a short paragraph of text on one page, a short table on the next page, another short paragraph of text on the following page, etc. There is plenty ...
3
votes
1answer
33 views
Float location differ between full doc compile vs partial doc compile
I locate chapters in separate files, as shown below (a book of 500 pages, 14 chapters).
The document class is based on the book class:
\LoadClass[11pt,letterpaper,twoside]{book}[1994/12/09]
...
4
votes
1answer
71 views
Are there some predefined directories for .tex file inclusion?
My question is simple, are there some predefined directories (in the texmf file system) where I can save my .tex files for further inclusions ?
If yes :
which ones are they ?
Can I defined mine ...
13
votes
4answers
144 views
Test if file is in \includeonly
Is it possible to check if a file is listed inside \includeonly{...} ?
For example I would like to do something like this
\includeonly{file1,file2}
\if\isincluded file1 % \isincluded is a ...
2
votes
2answers
128 views
Including .tex file to LyX document
Additional question - 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 ...
1
vote
0answers
1k views
“No BoundingBox” error in latex [closed]
This is my preamble
\documentclass[12pt,a4paper,twoside,french]{article}
\usepackage{mathptmx} \usepackage{amsmath} \usepackage{amsfonts}
\usepackage{amssymb} \usepackage{graphicx}
...
7
votes
1answer
120 views
Beamer/Beamerarticle: \mode<article> is ignored after <presentation> was set, and vice versa
I have a problem with latex ignoring text after \mode<presentation> or \mode<article> was set.
MWE description
I have a large document that changes modes often, and I also \include some ...
1
vote
1answer
90 views
newclude has destroyed my application
I added
\usepackage{newclude}
with commands such as
\include*{myfile}
in an attempt to include myfile without the concomitant \clearpage. This didn't work, so I removed this new code and ...
222
votes
4answers
67k views
When should I use \input vs. \include?
There are two different commands to incorporate another file into the source of some document, \input and \include. When should I use one or the other? What are the differences between them? Are there ...
11
votes
2answers
1k views
Changing the working directory when including files in a subdirectory
I'm working on a mathematics magazine that involves multiple articles from different authors. I would like to give each article a sub-directory in which I can store all the relevant files - .tex, ...
2
votes
0answers
73 views
How to include a tex file with own formatting options
I have two tex files, tex1 and tex2. I want to include tex1 into tex2. I know \include and \input but those won't allow to include tex files with own formatting. tex1 has a header for example but tex2 ...
3
votes
3answers
198 views
How to include multiple pages in latex
I have a pdf file consisting of four pages (see attached). I want to include it in Latex, but when I use the basic code given below, only the first page of the pdf appears. I want to do is to present ...
2
votes
1answer
96 views
Complex latex document: how to locate offending package dependency [solved: was using dirty build] [closed]
For final distribution, certain appendix includes the pdfpages package. However, appendices should be skipped for normal "draft" versions, or while working on individual chapters.
I am having ...
3
votes
1answer
67 views
Inserting a document with its own internal section numbering in another document
I have a fairly large LaTeX document, with several chapters. In one chapter, I intend to insert another LaTeX document. "In the following pages, we include (DOCUMENT) ..."
I could use \includepdf, ...
0
votes
1answer
82 views
Adding a line to the TOC before the appendix [duplicate]
Possible Duplicate:
First chapter appearing before first line in table of contents
I am having issues with inserting a line into the TOC when including external files. \input and \include ...
0
votes
0answers
79 views
Accented characters with latex [closed]
This is my code
\documentclass[12pt,a4paper]{book}
\usepackage[T1]{fontenc}
\renewcommand{\baselinestretch}{1.5}
\begin{document}
\include{Chapter1}
\include{Chapter2}
\end{document}
In Chapter ...
22
votes
6answers
594 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 ...
5
votes
1answer
1k views
How does \include work in terms of preamble? And is \input better?
When you have different files; say different chapters of a book, that are written in separate Tex files, all having their own preamble packages and document class options, how does it work when you ...



