{input} is about the \input command which makes LaTeX process the content of a given file basically the same way as if it would be written instead of \input.

learn more… | top users | synonyms

1
vote
1answer
41 views

AUCTeX/ RefTeX: ignore files by extension

I'm writing a very long document with dozens of figures that are all generated with matplotlib and exported as pgf files. Each figure environment then looks something like \begin{figure} ...
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 ...
1
vote
1answer
470 views

“Missing $ inserted” in included .tex file via \input

I've included a .tex file by using \input macro, but the problem comes when I use special characters (because I'm writing in Spanish, I use á, é, and characters like that). I can use those caracters ...
1
vote
3answers
155 views

Dependencies between sections

I'm writing a document such as the following one: \section{A}\input{A} \section{B}\input{B} \section{C}\input{C} ... Each section provides some content but requires other sections to be included ...
1
vote
1answer
66 views

Structuring a Large Document

I just started to write my thesis and i want to organize my document in Latex using the \input command, so for example, the main file main.tex is like this: \begin{document} ...
1
vote
1answer
56 views

Inputting files alphabetically

I am creating an anthology of poems and songs, and have a main file where I am using \input to insert separates TeX files which contain the poems. I was wondering if there was a simpler way of ...
1
vote
1answer
301 views

Fit tables read in with \input to page-width

I'm trying to fit tables to page-width that I include in the .tex document via the /input method. I'm doing this because I'm exporting tables from Stata to Latex with the estout methods, and include ...
1
vote
1answer
76 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 ...
1
vote
1answer
60 views

Have subfiles declare sections to be included in different places of the document

I'd like to have several Latex files, imported or included in a master document.tex file, which declare different sections to be included in the master file, like: % in file a.tex \begin{notes} My ...
1
vote
1answer
243 views

Including a tikz figure with a reference to a table on file, problems with folder structure

I am trying to include a tikz figure in the chapter 6 of my thesis. I am using separate folders and .tex files for each chapter, as you may notice in the example. This means that in my main document I ...
1
vote
1answer
240 views

Automatic report generation

I am trying to automatically create a curriculum vitae (or any other document if one would prefer) from a datafile that holds all values/entries. Here are my individual files that go into this ...
1
vote
1answer
541 views

epslatex: relative path issue

Please, how one could directly include epslatex graphics into main latex file, say main.tex? main.tex has its own template provided by a third party. I used this command within main.tex file to ...
1
vote
1answer
116 views

Include a value and its uncertainty both rounded properly

The output of a program is a value and its uncertainty. I want to include them in a tex document correctly rounded. value_uncertainty.txt: 12345.67890 0.987654321 scientific_document.tex is ...
1
vote
1answer
504 views

pdflatex “Required Page Does Not Exist” error with beamerarticle

I have several beamer tex files and need to create a manual (using beamerarticle) that incorporates all of the beamer files (with their notes) as one document. The original basis of the articlebeamer ...
1
vote
1answer
2k views

Input file folder

In my main LaTeX file I'm using a number of input files which are dynamics (changing the contents). I want to put some of these files in a higher order folder but at the same time don't want to fix it ...
1
vote
1answer
170 views

Conditional inputfile , latex

I am using a conditionalinput file inside my main file %% Out2 doesn't exits %% Out exists I don't want to get caption and table number at position where I don't have file. ...
1
vote
1answer
355 views

Problem in sciposter and \input command with figures

I'm making an a0 sciposter in LaTeX. I'm having problems when adding figures in tex+pdf files with the \input command. The problem is that the figure's text is too big for my figure. For example, the ...
1
vote
2answers
34 views

How would I take imported file and format it to account for spacing?

Basically what I'm trying to do is use something like \input{details.txt} which contains: ____Here are some random details with stuff everywhere. This is to see if latex will use this ...
1
vote
0answers
29 views

replacing macros parameters by its definition [duplicate]

Usually, I use many macros in my documents to save time. I am searching for clever "ideas, methods, tools" which can replace macros by its definition. For example, if we have a the following document ...
1
vote
0answers
26 views

Include .Rtex as a chapter in latex

I have an Rtex that contains: \documentclass[openany]{book} \chapter{Introduction} \input{./Introduction/Introduction} \chapter{Thesis Outline} \input{./Outline/Outline_Chapter} ...
1
vote
0answers
33 views

Switching between multiple .tex files and single .tex file [duplicate]

I'm using LaTeX to draft a journal paper and I'm writing with TeXMaker. To make the navigation easier, I broke down the paper into several .tex files. The master .tex file looks like this: ...
1
vote
0answers
50 views

displaying tex file from external file [duplicate]

I have som .tex with are input for a program, how do I display this files? Is there any way to input it, or do i have to write it alle in or make a screen shot?! I'm gonna be chaining these files a ...
1
vote
0answers
82 views

TeX files got overwritten during input

I'm quite new to LaTeX. I'm writing notes on a course at School. Found out that the document was going to be quite large so I tried to divide it into two documents, which was supposed to be imported ...
1
vote
0answers
188 views

Cross-referencing (input) multiple tex. files on multiple levels [closed]

I´ve recently discovered this site and you might be able to give me some advice working with LaTeX. Here´s my problem: My company is working on several user manuals. Each user manual is located in ...
1
vote
0answers
264 views

Input files relative to main file when using subfiles [closed]

I'm writing a report where I use the package subfiles to include different parts of my report. \input{misc/variables.tex} will include my variables file perfectly and render the subfiles. But if I ...
1
vote
1answer
819 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 ...
1
vote
0answers
185 views

Is there a 'try' command for LaTeX? [duplicate]

What I'm trying to do is input file1 if it exists and input file2 otherwise, without having to deal with an 'I can't find file' error. I would like to accomplish this using TeX, without using symbolic ...
1
vote
0answers
56 views

Only input file if it exists [duplicate]

Possible Duplicate: Expandable version of \InputIfFileExists or \IfFileExists I am writing a LaTeX file where I input other LaTeX files (if and only if its exits, otherwise it should not ...
1
vote
0answers
46 views

Loop to include multiple files [duplicate]

Possible Duplicate: How to iterate through the name of files in a folder I would like to include all the *.tex files from a directory in a document. To avoid me having to add manually the ...
1
vote
0answers
128 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 ...
0
votes
2answers
206 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
226 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?
0
votes
1answer
595 views

How to fix the location of tables when they're imported with \input? [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I'm using MiKTeX and TexMaker 2.2.2. Using the latabstat command in Stata I create small tex files of some ...
0
votes
1answer
75 views

Reach another folder with \input

How do I reach a file in another folder when using \input? E.g. I have my main document frontpage.tex in a folder called main and a file chapter1.tex in a folder chapters. How do I in frontpage.tex ...
0
votes
1answer
64 views

caption overlapped on plot label

I have a plot obtained with gnuplot with epslatex terminal. So, I have two output files from gnuplot: foo.eps with the graph and foo.tex with the label also. To include the plot in my latex document I ...
0
votes
1answer
61 views

\input problem 'missing $' 'extra }'

I'm writing my thesis and I'm stuck on a problem \usepackage[latin1]{inputenc} \usepackage[brazil]{babel} \input{./inc/Intro/intro.tex} When compiling I get tons of "Missing $", "Missing {", ...
0
votes
1answer
1k views

Splitting/breaking a long table from an input file

I am input a file in my main latex file but the table (inputfiles contains a table) is too long to be on apage. How can I break it on two or main pages. \usepackage{longtable} %% ...
0
votes
1answer
555 views

The Latex Font Catalogue - Calligra Font

I'm trying to get the following example working: \documentclass[danish,a4paper,11pt]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{slantsc} \usepackage{array} ...
0
votes
0answers
12 views

Remove trailing space from \input [duplicate]

It seems that \input appends a trailing space. MWE: foo.tex \documentclass{article} \begin{document} foo\input{bar.txt}baz \end{document} ...
0
votes
1answer
72 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, ...
0
votes
1answer
26 views

Side by side figures from tex input

I have some plots obtained through gnuplot with epslatex terminal. The output is in two files for each plot: (1) foo.eps and (2) foo.tex. I want to put these plots side by side in a tex document. But ...
0
votes
0answers
38 views

tex input file inside figure environment [on hold]

I have a graph obtained with epslatex terminal of gnuplot, so the output files are an .eps and a .tex for the labels with math symbols (the .eps is without them). To insert the graph in a latex ...
0
votes
0answers
31 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 ...
0
votes
0answers
42 views

Saving Chemfig submolecules in a separate file, to be recovered into beamer

Please consider the following code \documentclass[t]{beamer} \usepackage{chemfig} \begin{document} \begin{frame} \frametitle{1st frame} \definesubmol{x}{-[:+30,.6]-[:-30,.6]} ...
0
votes
0answers
54 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
45 views

copy figures and “input”ed LaTeX source files from absulute directories to a local one

For example, In my main.tex I use \input{/home/certain-directory/chapter-1.tex} and \input{/home/another-directory/chapter-2.tex} I also have some figures included by their absolute paths in my ...
0
votes
0answers
75 views

Parametric Title Page

I'm relatively new to writing TeX, but have hopes and dreams of being able to do this with it. I've done some looking around, and had little luck finding much detail on it. If someone could either ...
0
votes
1answer
108 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
1answer
358 views

Preprocess LaTeX file, a latex -E equivalent [duplicate]

Possible Duplicate: Replace \input{fileX} by the content of fileX automatically I'm developping a framework for managing LaTeX project's dependencies but I can't figure out if there is a ...