1
vote
1answer
44 views

How to force section to not go to new page in article

I have a document like this: \documentclass{article} \begin{document} \include{sect1} \include{sect2} \end{document} Both files sect1.tex and sect2.tex begin with \section{...}. The output pdf ...
0
votes
1answer
90 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, ...
12
votes
1answer
220 views

Is there a limit to the size of a tex-file?

I've been writing a document for some time now. It is steadily growing and hopefully will continue to do so. Lately I realised that -- although I just recently bought a new MacBook -- when I work on ...
0
votes
0answers
36 views

Removing headers on pages between chapters while using \include to input chapters

I am writing a document using the report class with the options twoside and openright. I want to remove headers and footers from blank pages between chapters. I tried the emptypage package as well ...
3
votes
1answer
82 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 ...
0
votes
0answers
57 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 ...
2
votes
1answer
181 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 ...
3
votes
1answer
243 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: ...
4
votes
1answer
303 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} ...
12
votes
2answers
325 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
1answer
78 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 ...
3
votes
1answer
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. ...
3
votes
0answers
252 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 ...
0
votes
2answers
209 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 ...
0
votes
1answer
247 views

Issues when including a tex file [closed]

I have this without any issues if I use it alone. However if I call it with input or include I get this Why?
5
votes
1answer
94 views

Mark on document where input starts 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 ...
9
votes
1answer
138 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} ...
4
votes
1answer
762 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 ...
1
vote
1answer
742 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 ...
3
votes
2answers
198 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 ...
4
votes
1answer
225 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: ...
1
vote
1answer
899 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 ...
2
votes
1answer
144 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 ...
4
votes
1answer
85 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
111 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 ...
3
votes
1answer
132 views

How do I best combine several documents?

I have a collection of articles written in latex, and I would like to "merge" them into a larger thesis document, in which each article will be a chapter. I have been looking at include and input, ...
3
votes
0answers
521 views

BibTeX not working with \input or \include [closed]

I need some help with BibTeX. I use a seperate *.bib file which is working perfectly, but when the commands \input or \include are used to input text from another *.tex file the application tells me ...
5
votes
1answer
231 views

inputting a file not from a subdirectory

I apologise if this question has already been addressed. Say I have a set up like this: I have a main folder in which I have both preamble.tex and a folder sub_1. In sub_1, there is another folder ...
10
votes
2answers
265 views

Large document edited by a dozen people

We, a team of 12 people, plan to write a 50 pages paper. The paper will be divided into chapters. Usually, no more than 2 or 3 people will work on a given chapter. Having one large file will create ...
3
votes
2answers
452 views

Disable including of system files [duplicate]

Possible Duplicate: How can I safely compile other people's LaTeX documents? I've got a Linux server that is rendering LaTeX documents, I want to disable the access of LaTeX to system ...
1
vote
1answer
4k views

How to insert one latex document into another.

This is probably online but I am not sure how to word the search. I have a long latex document, and it is getting messy editing it, is there a way to split the chapters into separate latex documents ...
6
votes
4answers
1k 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 ...
1
vote
0answers
138 views

Splitting a big document into several output PDF files [duplicate]

Possible Duplicate: Keep chapter number of chapters inserted with \include Can one TeX file output to multiple PDF files? My document structure has: 1 file with preface; 12 individual ...
6
votes
1answer
420 views

Get {standalone} to ignore blocks of text from \input files (e.g., \begin{spacing} and \maketitle)

I've got a number of separate .tex files that are all \documentclass{article}. I'm inputting these into a \documentclass{book} file as chapters. In the book.tex file, then, I've got inputs like this: ...
11
votes
2answers
2k views

Splitting a large document into several files

Why is it recommended to split a large document into several parts and include them with \include? Is it only a relic of the past times when computers and LaTeX compilers were slower, or is it still ...
4
votes
2answers
171 views

Can a file know if it has been \include'ed or \input'ed?

I have a somewhat large User's Guide for a code I've been working on with collaborators. Each chapter is in a subdirectory of the top directory, which includes the .tex file that grabs and stitches ...
14
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 ...
15
votes
6answers
2k views

\endinput: what is it for?

I am working on a big document and I am using the \include command to put chapters one after the other. On the internet I came to know about the existence of the \endinput command. However I do not ...
4
votes
1answer
2k views

Generate a merged LaTeX file, with \input code in place?

I'm currently working on an experiment that involves re-typesetting a digitized physical book from OCRed images. For various reasons involving the workflow, the resulting project architecture is a ...
5
votes
1answer
614 views

What happens to a relative path in a file added with \input{}?

I stumbled upon the following question: In the preamble of my main tex file for my thesis, I've included several other files with definitions for abbreviations which are in the same path as main.tex, ...
4
votes
3answers
391 views

Can i automatically load chapters and sections based on the filesystem?

I was interested in knowing if i can load chapters and sections of my book based on the filesystem. For example: Chapter 1/ Section 1.tex Section 2.tex Section 3.tex Chapter 2/ Section 1.tex ...
7
votes
2answers
275 views

Options for building multiple documents from the same content with different layouts

I need to produce two document layouts using the same content. I'm going to be making heavy use of the input{} command to do this, but it is more complex than just this. I'm looking for suggestions ...
11
votes
2answers
2k views

How to make \include work with a quoted string path containing spaces?

In Windows, \input can work with a quoted string path containing spaces, but \include cannot. How to fix it? \documentclass{book} \begin{document} %\input works! \input{"Contents/Installing and ...
27
votes
4answers
19k views

How to make the main file recognize relative paths used in the imported files?

I'm currently using doxygen to generate some documentation for a project, and doxygen generate some LaTeX code that then can be used to generate a nice pdf. But let's say I would like to write ...
376
votes
4answers
149k 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 ...