{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
0answers
26 views

Using 4 column page and mdframes! No correct view

I'm writing a summary and I'm using a 4-column page with a lot of mdframed boxes (boxes that contains theorems and other stuff). I use also different files and I merge them like this: \begin{...
1
vote
0answers
33 views

How to \input a .tex file in a chapter from a folder in a latex (separate files) [closed]

I am working on a template which is classified into different folders. Like Chapter1, Chapter2, Chapter3, etc. In chapter one (Chapter1), I need to insert a .tex file as a figure from a subfolder (...
1
vote
0answers
26 views

Move /input left

I have a .tex file with a table included as an input (\input{file.tex}) in my document, but I want to move the table to the centre of the page (left). For graphics this can be done with \hspace, but ...
1
vote
0answers
24 views

Referencing to inputted table

I have many tables generated automatically in separated tex files which i input in my main document using \input{table1} \input{table2} ... Is it possible to refer to this table by using its name or ...
1
vote
0answers
44 views

! Missing } inserted. <inserted text> } l.212 \end{figure}

i work with gnuplot and latex and i had the following problem ! Missing } inserted. <inserted text> } l.212 \end{figure} this is my code \begin{figure}[htb] \centering \input{essai} // ...
1
vote
0answers
28 views

version of multiple files: all document in one .tex file

I am using latexpand to Replace \input{fileX} by the content of fileX automatically using the following command in ubuntu: perl latexpand mainfile.tex > newfile.tex But I am obtaining a warning ...
1
vote
0answers
39 views

Caption in \lstinputlisting environment gives keyval error

I am trying to include the table shown in my example below (shown in the verbatim environment - but saved in a text file), but I get a keyval error stating that "Package keyval Error: $r2v$. undefined"...
1
vote
0answers
50 views

Todos won't show up from multiple \input{texdoc} documents [closed]

I have split a paper into several .tex document chapters to input them in the main.tex document later. The problem is, the many todo notes I have made throughout my file are no longer showing up (...
1
vote
1answer
66 views

Polyglossia problem: “italian not defined, using english instead”

I have the problem mentioned above, reported in the log. I have a master-file where I insert first a preamble-file with the \input command and then a config-file in the same way. The first one ...
1
vote
0answers
109 views

Texmaker - nested document structure

Let's say I have a file that inputs files who input files. foo.tex: \input{bar} bar.tex: \input{baz} baz.tex: Hello World! When I am in foo.tex, Texmaker shows the structure foo --- bar ...
1
vote
1answer
151 views

File not found when importing figures produced by gnuplot (epslatex) from another folder

I have recently started using gnuplot's epslatex terminal to create graphs to a report I am writing. I have, however, encountered an unexpected problem. I usually keep my chapters and figures in ...
1
vote
0answers
71 views

Modular document compiling without some child documents [closed]

I am creating a modular TeX document with many child documents, using the \input command. After inputting the first 10 child documents, everything compiles as it should. However, after I add another ...
1
vote
0answers
153 views

Error after inputting frmttable stata table

I am using the Stata user written command frmttable to create journal-like tables and to write them to LaTex. When I use the command \input{... .tex} the table is displayed like I want it, but LaTex ...
1
vote
0answers
68 views

Unwanted line break after \input{} [closed]

I have two tikz / pgfplots figures that I'm including in my document va two calls to \input: \input{file1.tex} % There seems to be an unwanted line break after this \input{file2.tex} I can't have ...
1
vote
0answers
101 views

The blank page between last chapter and list of symbols

I have problem with blank page but the answers I've found here didn't work. I have found two (unwanted) ways how to get rid of the page (under the code): \documentclass[12pt]{report} \usepackage[utf8]...
1
vote
0answers
356 views

Texmaker bibtex works with \input not with \include

I use bibtex 0.99d with Texmaker 4.3. I have a multi .tex file document with the main document using \include{} for chapters. The bibtex configured as bibtex build/%.aux doesn't work. However when ...
1
vote
0answers
368 views

How can I make a beautiful form to input in latex? [closed]

I want to make a form, with multiple choice, or buttons or whatever... And I want that this form will give me an output that I can use in LaTex, but I don't know how make this. an output like: \...
1
vote
0answers
167 views

Insert bibtex file B in bibtex file A

Scenario: I manage citations with JabRef (inside Docear which sadly currently does not support the import of .bib files) and want to easily import citations from Zotero into the Jabref library. I'm ...
1
vote
0answers
17 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} ...
1
vote
2answers
41 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
34 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
38 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: \section{...
1
vote
0answers
305 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
533 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
63 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
50 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 \...
0
votes
2answers
290 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
815 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
89 views

new \input{file} Package, Command wrapper: microtype .tex with reserved symbols

I know enough LaTeX to produce great looking documents. LaTeX makes it more difficult to NOT do that. But I don't advanced LaTeX or TeX or plainTeX or "@" or other advanced, cryptic programming tricks,...
0
votes
1answer
54 views

Have \input{} print the filename

I want to print the filename of the file that I'm calling (\input{file_name}). Clearly this includes the file contents but is there anyway to get the corresponding filename to print as well?
0
votes
1answer
142 views

Why cannot I input a tex file to the main tex file?

I want to insert a old tex file to the new tex file which I'm currently working on, I made it like this: however, it always has error, such as ./1.tex:1:LaTeX Error: Can be used only in preamble....
0
votes
1answer
222 views

Replacing placeholder text in LaTeX \input file

I am using the Dia graphics editor and exporting my diagrams to TikZ code. I am trying to address Dia's inability to easily typeset formulas e.t.c. by using LaTeX for this part. Unfortunately that ...
0
votes
1answer
1k 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 tables. ...
0
votes
1answer
63 views

LaTeX input call doesn't inherit encoding from main file

I'm including TeX files with \input{file} but when I compile the main file with pdflatex I get: \textyen unavailable in encoding T1 This doesn't occur if I keep it all in one tex file, which at ...
0
votes
1answer
28 views

Nested inputs with unwanted pagebreak

Let's say I have a document for which all sections and subsections are separate .tex-files. As I cannot nest \include, I'm using \input. \documentclass[a4paper,11pt,titlepage]{article} \title{...} \...
0
votes
1answer
296 views

Image File Not Found in LaTeX

I am trying to use the includegraphics command alongside a custom command to include an image in my PDF file, however I'm running into an issue where LaTeX can't seem to find a file that clearly ...
0
votes
1answer
44 views

showlabels package and segmented document

I have a segmented document, namely I import packages through \input{Preambule}. However, the showlabels package does nothing when called in the Preambule file, but works when called in the main. ...
0
votes
1answer
111 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
57 views

\include not working in SageMath LaTeX

I'm using SageMathCloud's LaTeX. So I've got five .tex documents (all pretty long) with similar formatting. I want to add all five files into one large file that will respect the preambles of all ...
0
votes
2answers
51 views

input and graphicx - look for images where file is located

I have a LaTeX document split in multiple text files, inside various folders, as follows: \section{Foo} \subsection{Foo1} \input{foo/1} \subsection{Foo2} \input{foo/2} \section{Bar} \...
0
votes
1answer
111 views

Problem with graphicspath and pdf_tex

I use \input for a subsection, in which I would like to include a pdf_tex file MK.pdf_tex via \input. The pdf_tex files are in a folder /fig. If I use \input{./fig/MK.pdf_tex} it returns the error "MK....
0
votes
1answer
83 views

Keep two inserted tables on the same page [duplicate]

I have produced two tables that when ran from the same LaTeX file are positioned on the same page, one under the other. However, when the two tables are called upon by using \input they appear on two ...
0
votes
1answer
217 views

epslatex tex-document faulty [closed]

I want to create a .texdocument with Gnuplot to insert in my Latexdocument with the following code reset set terminal epslatex color size 12cm, 9cm font 'Helvetica,16' set output "test.tex" set ...
0
votes
1answer
203 views

Appendix will not work at all, please help.

I would like to include an appendix (just one appendix) in my thesis, following the bibliography. I am using book class, and have each chapter in a separate file. When I try to add an appendix, the ...
0
votes
1answer
95 views

Is it possible to input a file from the web

I am using PHP on my server to create a latex table from a database, which is working fine. The problem I have now is getting that into my latex document. I thought that giving it the path would ...
0
votes
1answer
1k views

\input can't find file (nested directory structure)

I have the following directory structure in my project: main.tex LaTeX mypackage.sty content chapter2.tex figures LaTeX figure.tex In main.tex I input content/chapter2.tex. ...
0
votes
1answer
110 views

Adding title pages into document with \input

The code below works if I do not include \input{ChapterHeading.tex}, but I would like to include this if possible? \documentclass{article} \begin{document} \input{title.tex} \tableofcontents \...
0
votes
1answer
569 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
1answer
353 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
150 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 {", "...