{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
22 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{...
0
votes
0answers
17 views

The difference between \input and \include [duplicate]

I would like to know what is the difference between the \input command and the \include command. Much thanks!
2
votes
0answers
31 views

Encoding problem with accents and inputenc package

I have this problem, it seems i'm doing something wrong while writing letters with accents like "è", on that line the compiler says: package inputenc Error: unicode char \u8:èun not set up for use. ...
2
votes
1answer
31 views

Why can't I use accents in files included with \input?

I am creating an article in which each section is a separate file, and I include them with \input. The following document compiles without error: \documentclass{article} \usepackage[spanish,...
0
votes
1answer
46 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
0answers
11 views

file not found error even though file is added [duplicate]

I am using Texnic center as editor. I have added a file using \input{filename} and file is present in directory but it shows error that file not find. Can someone tell me the possible reason. Thanks ...
3
votes
3answers
149 views

Input a parameter from another file

Thank to the people asking and answering this question for how to import a part of a file into Latex. I want to extend this question a bit more. What if you have such a file resulted from a C++ ...
1
vote
0answers
30 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 (...
2
votes
1answer
68 views

Import single macro from file

I have an automatically generated .tex file containing some content and a couple, usually just one, \newcommand calls. Usually I display the content and load the commands with \input but sometimes I'...
1
vote
0answers
25 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 ...
2
votes
0answers
33 views

Is it possible to replace certain words in a subdocument in LyX? How?

I have an amount of LyX-subdocuments that should be recombined into a new (main-)document via input. I would like to replace certain words in the subdocuments when the publication is generated ...
1
vote
1answer
27 views

Expanding #1 for use in addtostream

I'm attempting to use the newfile package and \input to automate some document generation, specifically to generate a test specification's result log from a list of actions and each action's expected ...
2
votes
1answer
36 views

Metapost : input file within macros

I like to have separate .mp files to organize my Metapost projects. But I'm facing this error message when I try to input file within a macro File names can't appear within macros. Even with this very ...
1
vote
0answers
23 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 ...
0
votes
0answers
46 views

Figures inside tables. Too long horizontal lines

I'm trying to put figures inside a table using the command \input but the horizontal lines becomes to long and I'm not sure why? When the figures not are included, the lines length are adjusted to ...
4
votes
3answers
63 views

Inserting hyphenation file into \babelhyphenation

\documentclass{article} \usepackage[british]{babel} \usepackage{filecontents} \begin{filecontents*}{english.yp} hom-ony-mous gene-ral-ly \end{filecontents*} \makeatletter \babelhyphenation[...
1
vote
1answer
18 views

Inputting a separate hyphenation file

\documentclass{article} \usepackage[english]{babel} \usepackage{filecontents} \begin{filecontents*}{english.yp} hom-ony-mous gene-ral-ly \end{filecontents*}{english.yp} \hyphenation{ \...
9
votes
2answers
265 views

What is the maximum nesting depth of \input?

Large documents are best split into various files. Using \input allows to nest multiple files. What is the technical limit of \input regarding the nesting depth? I haven't found any clue searching ...
0
votes
0answers
14 views

Is there a version of \include and \input for bibtex? [duplicate]

I'd like to spread out my references between multiple bibtex files. I tried putting all my references into a file called "etho.bib," then put \input{etho.bib} into my main bibtex file. This didn't ...
2
votes
1answer
23 views

Figure problem with catchfilebetweentags

This question is a follow up and based on this answer by touhami Situation I would like to create an excerpt from a script that I have TeX'ed as a compendium of the most important statements (...
3
votes
1answer
42 views

combine documents of different classes

I need to add to an article another document, class exam. include and input don't work properly if the preamble is different. I must add some multiple choice and clozes as an appendix to the article I'...
2
votes
2answers
72 views

PDF inclusion error when using \input or \include

I have set up a LaTeX file for a book-type document with the following preamble: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{textgreek} ...
0
votes
0answers
20 views

Merging small documents into big document when small documents use paths

How can I make my paths when merging documents together? I now have written several big documents and I would like to know how to merge them into one big document. I created BIGDOCUMENT.tex. that ...
3
votes
1answer
56 views

Import several parts of file at once

As a follow up to this Question Situation I would like to create an excerpt from a script that I have TeX'ed as a compendium of the most important statements (theorems & definitions). I seek ...
3
votes
1answer
80 views

“\input only part of a file” and keep numbering

I would like to create an excerpt from a script that I have TeX'ed as a compendium of the most important statements (theorems & definitions). The question \input only part of a file has an ...
4
votes
1answer
46 views

Open and decode

I use \pato{R}{2015}{07}{27}{A}{1}{4}{black} to \input my sub-archive R20150727A1-4.tex, and it works for me. How can I perform a new command, say \otap{R20150727A1-4}, that decode and assign for ...
1
vote
1answer
30 views

siunitx custom file with subfiles

I recently decided to divide my thesis into several nested files as it follows: % Main.tex \documentclass{memoir} \usepackage{subfiles} \usepackage{siunitx} \include{units} \begin{document} \...
2
votes
0answers
73 views

Beamer : several \input files

A would like to make several lectures, and I had organized the main file as follow : %********************************************************************* %*** Document maître de l'ensemble ...
2
votes
1answer
41 views

Piping \write18 commands and ltxguide

The following works in an article: \documentclass[a4paper]{article} \title{Foo} \author{Me} \begin{document} \input{|"echo foo bar | grep foo"} \end{document} Instead of that \input, this also ...
4
votes
3answers
342 views

LaTeX: automatically convert “…” to “\ldots” upon \input

I already read Automatically convert "..." to "\ldots" but this question was asked/answered to help the asker save a lot of replace operations through several files. In my case, I'...
3
votes
1answer
78 views

Horizontal shift when using scalebox and input within center environment

I would like to use \scalebox to scale a TikZ picture (included with \input) that is located inside a center environment (I don't need a float environment in this specific case). But \scalebox ...
3
votes
0answers
74 views

How to escape double quotes in \input

I'm trying to call shell commands that contain multiple (nested) quotation marks. This is, for instance, what I would write on the shell: $ python -c "print \"Hello World\"" which produces Hello ...
0
votes
2answers
50 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} \...
4
votes
3answers
77 views

Manual input of table of contents file (\jobname.toc) empty in some circumstances

According to Using .toc external files, the following file should display the table of contents twice: \documentclass{report} \begin{document} \tableofcontents \chapter*{Contents (manual input)} \...
0
votes
0answers
15 views

Citing in included(input-ed) tex file

I'm LaTeXing user with Sublime Text3. When working with several texfiles(ie one tex file for each chapters) and if bibliography command is called in main tex file, then cite command cannot be used in ...
1
vote
0answers
43 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} // ...
2
votes
0answers
55 views

Texmaker jumps to the “wrong” position

I'm writing a bigger document right now. Because of that I have "exported" each chapter. So my document.tex file looks like: \documentclass[a4paper, 11pt, oneside]{article} \begin{document} \input{...
1
vote
1answer
63 views

Automatic lettrine to input file

I'm learning LaTex but have a strong programming background. My document consist of several .tex files I will \input at entry .tex file. I would like to add a lettrine to every one of them, but would ...
1
vote
1answer
39 views

Can I specify a parameter that I pass with input?

I made my own preamble and saved it into a separate file. I include it with \input{Preamble} Now in the preamble there is \title{MyTitle} Now I want to pass MyTitle from my main document. How ...
4
votes
2answers
38 views

Which file is really used with \input command

how to know which file is included when we use the command \input if we have many files with the same name in various directories
0
votes
0answers
47 views

Precompile pgfplots

I have a latex document that includes a lot of plots built with pgfplots. As of now, I just include a tikzpicture that loads the plot data from a CSV file. This is starting to take up quite some time ...
2
votes
1answer
74 views

Is there any way to include the literal text of another file?

From what I have read, input processes text and includes commands found, and include can't be used in the preamble for some reason (correct me if I'm wrong). I just want a command that replaces itself ...
2
votes
1answer
38 views

Difference in behaviour using one input file and many input files

I have noticed difference in behaviour when loading a single file \input{letters/all_letters} and when loading several files using a command \newcommand*{\alphabetF}{% a,aa,b,c,d,e,ee,f,g,h,i,ii,...
3
votes
1answer
31 views

Input difficulties with \usepackage{devanagari}

I am using the standard miktex package \usepackage{devanagari} however, using the same input examples as written in the file manual produces very different results, i.e. there is a duplication of ...
2
votes
1answer
68 views

lstinputlisting not recognizing comment character

I have some code which I like to incorporate in to my latex document. I have set up the aesthetic so the code is easy to read as follows \lstdefinestyle{numbers}{numbers = left, stepnumber =1, ...
2
votes
0answers
31 views

Blank rule after end of paragraph while using the \input{}

At this moment I am writing my first .tex file using the \input{} command. My 'master' file will look like this. %preamble \begin{document} \input{introduction.tex} %et cetera \end{document} ...
9
votes
2answers
185 views

How can I use the \input command in pgfplots?

I have to create a set of groupplots with pgfplots and want to use one centralized definition of the plot style (width, height, x-axis label, etc.). It seemed to me that this should be easily done by ...
2
votes
2answers
1k views

How to insert footnote with latex \input?

I have two tex files and use the command \input to include the table on my main file as follows: Main.tex \documentclass{article} \usepackage[T1]{fontenc} \usepackage{inconsolata} \usepackage{url} \...
7
votes
3answers
164 views

Reading the data to iterate over with \foreach from a file

I have a \foreach that should read the data points from a file. The points are stored in such a way that a simple copy paste would do. In fact, I don't want to do more than copy paste (if ever ...