{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

2
votes
1answer
783 views

Including TikZ image (with external inputs) inside adjustbox adds horisontal spacing, why?

I'm working on my masters thesis and so I have a bunch of tikz files that I want to include in the thesis. This I do by using adjustbox to limit the size to \textwidth as such \adjustbox{max ...
2
votes
1answer
4k views

TeXnicCenter problem, can't find input index file

I've just installed TeXnicCenter. The first error I have encountered is that when I try and build I get the following error: Couldn't find input index file D:\File location\test nor D:\File ...
2
votes
1answer
1k views

Using \newcommand and \input

I like to use variables for my paths, so that if I migrate to another system/username, I don't have to change every path name. This does not seem to be working with the input command. I have the ...
2
votes
1answer
130 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 ...
2
votes
1answer
84 views

How to scale images when imported as .tex files

I have quite a few diagrams created by Gnu Octave/MathLab which I need to include in a document. Octave can create several different outputs, but its PDF output is not really that nice as it has a lot ...
2
votes
1answer
65 views

subimport including wrong file

I am trying to learn the import package but I find it extremely unreliable - perhaps I am missing something? One case study I tried is as follows: Created 3 tex files: ./main.tex ./bla.tex ...
2
votes
2answers
623 views

lstinputlistings syntax highlighting

I am using package listings to import my Python source code into my LaTeX document. I use the command \lstinputlistings. I have a Python source like class MyClass(Yourclass): def __init__(self, ...
2
votes
1answer
1k views

Is there a way to get TexMakerX to recognize commands defined in an input file?

I have a file that defines a bunch of commands for various variables that I use in other documents. Here's a small example of what it contains: \newcommand{\varElevation}{\ensuremath{\alpha_{el}}} ...
2
votes
5answers
1k views

How to automatically inline \input commands and bibliography?

I have a document that uses some \input commands and creates the bibliography via an external .bib file and bibtex. Now I have to inline the \input commands (i.e. replace each \input command with ...
2
votes
1answer
43 views

Same input file twice, error in table of contents

I'm having some difficulties with my table of contents. I want my conclusion to be in the start of the document and in the end. To do this I've included the same input file twice as you can see here ...
2
votes
1answer
99 views

How can I make German characters from \input file display correctly?

I'm working with a Rnw file in RStudio and knitr. Everything works correctly so far, but I stumbled upon a problem when I included a chapter to the report that is written in German. I wrote the ...
2
votes
1answer
121 views

Injecting text contained in file into custom environment

how can I inject text contained in a file input.tex into a custom environment. Something like : \documentclass{report} \usepackage{listings} \lstdefinelanguage{text}{} ...
2
votes
1answer
130 views

if the remote file exists then include it, else include the local one

Here's the path where my tex file stands : /home/me/documents/foo.tex I also have one import file here : /home/me/texmf/tex/latex/personal/bar.tex However for security purpose I also include it ...
2
votes
1answer
136 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 ...
2
votes
1answer
96 views

LyX undefined control sequence \input

I'm a new user. I-m in trouble with lyX and in particular how to use \input{file.tex} correctly. Error: "undefined control sequence". Actually I'm not sure where I have to specify the path so that LyX ...
2
votes
2answers
57 views

How to: put definition of figures together, then generate picture at different places

A little explanation: For better writing experience, I want to organize all definition (I mean \begin{figure}... stuff) of figures into one file, and \input it to my main .tex, then generate the ...
2
votes
1answer
158 views

Can't use animations with \input?

I have two different animations, made with TikZ and the animate package, that I want to include in a beamer presentation. When I had the code inside of my presentation's .tex file everything worked ...
2
votes
1answer
334 views

Include source text from URI (e.g., Wikipedia)

Background Wikipedia content is reasonably current and free to use. Consider the tabular content at: http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java Problem Copying ...
2
votes
0answers
96 views

load tikz library from relative path

I recently externalized some of my often used TikZ commands into a library. This is as simple as writing the commands to a dedicated file and naming it tikzlibraryname.code.tex. Then it can be ...
2
votes
0answers
85 views

Use input inside a spreadtab environment with calculations

My aim is to create a command for inserting tables, which will format the table, and add calculations on its values, given a file containing the raw data of the rows only. ...
2
votes
0answers
32 views

Use one tex file in different documents [duplicate]

I want to write a tex file which can be used in serveral higher order documents, but there are problems with the relative paths of the figures. Example: In folder sub1 is the file base1.tex which ...
1
vote
1answer
133 views

Is that a bug between `xymatrix`, the `input` command and .sty file?

I have a problem compiling the following document. First, I have a file macros.sty that consists of : \newcommand{\test}{ \xymatrix@R=0mm{x} } Then, I have an auxiliary file out.aux that consists ...
1
vote
1answer
80 views

siunitx: Error while including value

A value is saved in a file (value.txt, let's say). The command \SI{\input{value.txt}}{\someunit} gives the error: Argument of \input has an extra } How can I read numbers from an external file ...
1
vote
1answer
511 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 ...
1
vote
3answers
322 views

Relative image path in renewed \maketitle

To minimize the amount of copy-pasting I have to do between documents/projects, I've decided to create a separate file in which I renew the \maketitle command. This file (title.tex) should then be ...
1
vote
2answers
73 views

Latex - Changing behavior of encoding in the same document

Currently, I am trying to achieve a German inputencoding (inputenc) for my thesis. My solution works just fine with a small exception: Whenever my umlauts are correctly input-encoded in the normal ...
1
vote
2answers
82 views

Errors produces when using `\readline`

This question, while related to this earlier question of mine, is less about removing content from the beginning of each line and more about how to preprocess lines of a file as it is read in. Here ...
1
vote
1answer
614 views

cannot scale images with latex fonts which are side by side

Referring to cannot use \caption under minipage, When I use the solution provided to the question in link above, in order to include images with latex math fonts embedded into them and place them side ...
1
vote
1answer
206 views

Adding new parameter in lyx

In texmaker, I create document_setting.tex for input some document attribution like the author, publisher, some attribution in acknowledgements. And then input document_setting in master document ...
1
vote
1answer
3k 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
421 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
154 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
50 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
150 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
74 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
57 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
217 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
201 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
420 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
102 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
431 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
163 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
315 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
0answers
28 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
18 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
30 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
76 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
173 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 ...