{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
2answers
65 views

Split thesis chapters into separate files for compilation speed

I am writing a thesis using a template similar to this template. The main file (dissertation.tex) uses \include{} to include each chapter. I have a large chapter (over 60 pages with 70 images) that ...
1
vote
0answers
8 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 ...
10
votes
2answers
3k views

latexdiff + svn not working with multiple files (flatten)

Short question Seems like --flatten doesn't work properly with latexdiff-vc. How can I get this working, without reverting to my elaborated workflow described below? Context I track the history of ...
1
vote
2answers
52 views

Input a tex file in my document, but it's not placed well

Recently, I input a .tex file (just name it as table1.tex, which contains a table I needed in my paper) in my main document, but it's not placed well, I want it be in the middle, but it's on the ...
3
votes
1answer
34 views

eplain macros in CWEB

I would like to use eplain macros in a CWEB program, but eplain and cwebmac seem to conflict in their PDF support. Specifically, they both define \ifpdf. The cweave program turns the code below ...
1
vote
1answer
63 views

package inputenc error : the keyboard character used is undefined

I have a simple text line that I get the above error in it , I don't see anything strange in the line , shall you please help me about it ? I am sure it's not about reading the help again ! thank you ...
0
votes
0answers
29 views

Listings tcbinputlisting

This is a follow up question. Have a look at my comment on the answer to this one: Listings: line number separator rule How do I use the input and the environment of tcolorbox? I have created a ...
5
votes
1answer
31 views

What to \input and what to \include in a very large document?

I have a large notebook (~300 pages and growing at ~50 per month) with: Deep hierarchy (I use parts, chapters, sections, subsections, subsubsections and paragraphs) Document is broken into many ...
0
votes
1answer
42 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 ...
1
vote
2answers
33 views

Include/input every subfile from a subfolder

Our chemistry teacher gave us a collection of vocabulary cards which include every term we should be able to explain (looking forward for the final exams). Because just having those cards doesn't help ...
9
votes
2answers
65 views

Workaround to make catchbetweenfiletags work with lualatex

I recently discovered that a basic example of the package catchbetweenfiletags doesn't work with lualatex (while it works with pdflatex). What follows is the MWE. Do you know if there is workaround ...
1
vote
0answers
45 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
1answer
75 views

Latex Macros: Local Variables and Path Names

I initially have a group of TeX codes that looks like so: paper.tex assignment.tex Where paper.tex is the main TeX and takes in the assignment.tex file and adds it in there. The assignment.tex is ...
3
votes
1answer
40 views

Using latexmk with multiple tex files in the directory

edit solution to compile : latexmk -pdf mainfile.tex I have left this example up as it might contain language used by others unfamiliar with this area :) At the very least it provides a Minimal ...
8
votes
3answers
1k views

Avoid warnings in TeXlipse

I'm using TeXlipse, an Eclipse plugin, to create my TeX documents. To structure my files I use \input{filename}. Now the problem is, that every file is one section or subsection. TeXlipse shows me a ...
0
votes
1answer
35 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. ...
3
votes
1answer
36 views

Reusing the same tex files in different base files

I have a number of .tex files containing sections which are \input{} into a large document. I'd now like to create an "excerpt" document that includes only a subset of these sections. The problem is, ...
1
vote
1answer
37 views

Including a file with relative path

I'm trying to include a file whose path relative to the main tex file is ../folder/chapter.tex. I tried \input{../folder/chapter.tex} but it doesn't work: I get an error of file not found. I'm ...
2
votes
1answer
257 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, ...
1
vote
1answer
34 views

How can I use relative paths?

I want to add a table from a separate tex file to my document. I get an error saying the file vr_sets.tex is not found, when I do this in Chapter2/chapter2.tex: \input{tab/vr_sets} This also fails: ...
4
votes
3answers
71 views

How to randomly input a specified range of files?

The LaTeX file below outputs the numbers 1,2...,20, in natural order \documentclass[12pt]{article} \usepackage{multido} \begin{document} \multido{\i=1+1}{20}{\i\ } \end{document} The output is ...
2
votes
1answer
123 views

What is the most practical method to write a book of math or physics problems?

My main problem is the following. I would like to put the problems and their solutions together into separate input files. In the source code I would like to switch easily between two modes. In mode 1 ...
0
votes
0answers
17 views

Is there a file path behaviour fixup

I have the following structure: In main file \input{figs/figure.tex_t} In figs/figure.tex_t: \includegraphics{figure.pdf} This results in build failure, since \input does not affect the current ...
1
vote
1answer
21 views

Issue with \scalebox, \makeatletter, and \input

A colleague of mine had a LaTeX-specific issue for which I did not exactly know the cause of the issue. I have distilled a Minimal Working Example to illustrate the issue. Originally my colleague had ...
3
votes
1answer
90 views

Is there a way to limit the scope of the Table of Contents (\tableofcontents command)?

Question If I have a document with multiple tables of contents, can I limit the scope of a toc sections are added and reset the toc? Situation I have a document made up of 10 languages. (using ...
2
votes
1answer
82 views

Combining LaTeX files with different formatting

I am trying to compile a teaching portfolio of various LaTeX files. I have a main file and want to call the other files while keeping the formatting of the other files. I do want to put my name in the ...
1
vote
0answers
45 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} ...
0
votes
1answer
59 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 ...
0
votes
0answers
31 views

Child Documents have different sectioning levels than Master Document. How can I incorporate?

I have three Lyx documents I would like to insert into a Master Document as Child Documents. However, the child documents begin with a Chapter. I need them to begin with a Subsection in the Master ...
2
votes
1answer
71 views

Place circuit figures side by side in tabularx environment

My MWE, \documentclass[a4paper,11pt]{book} \usepackage{tabularx} \usepackage{tikz} \begin{document} \begin{enumerate} \newcommand{\OOO}[4]{% \begin{tabularx}{\linewidth}{@{}X@{}l@{}} \textbf{A)} #1 ...
5
votes
0answers
55 views

distribute contents of two input-files to left and right pages

Is it possible to import two tex files with \input and to have the content of the one file be always on the left page facing the content of the other file being always on the right? The page numbers ...
0
votes
0answers
20 views

Forbid building a file when it's not used in \input [duplicate]

I have two files, main.tex and chapter.tex, organized as follows: %main.tex \documentclass{article} \begin{document} \input{chapter} \end{document} and %chapter.tex \section{Hello world!} $2 + 2$ ...
0
votes
2answers
250 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
19 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
0answers
36 views

Character escaping in \input{|“command”}

This includes two main questions: A)Which characters are forbidden in between the quotes (" ") of an \input{|"command"}? B)How can those forbidden characters be escaped so that they, infact, can be ...
0
votes
1answer
94 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 ...
3
votes
1answer
64 views

How to manually number Chapter number when using \input?

I am writing my Thesis using the memoir class. To keep my main .tex file fairly short I use the \input command to compile the chapters. This also helps when I only want to send a chapter on to my ...
1
vote
1answer
78 views

How to set \input global directory to \graphicspath?

tI have Latex template to which I pass parameters using Pandoc. One parameter is $logopath$ where all the graphics are located and I'm able to set graphicspath properly, no problem. ...
0
votes
0answers
29 views

How to load input file with given starting string but unknown end?

In the directory of my latex source there are input files: input_01.tex, input_02.tex, etc. It is very easy to load them with a for cycle. But how to load them if their names are: ...
0
votes
0answers
40 views

Eliminating white space after input generated in Stata

I have a question about an extra white space that is appearing after I use \input to call a file. I'm not sure if this is relevant, but the file I'm inputting is a table generated by the esttab ...
3
votes
2answers
93 views

“Runaway argument?” error with \NewEnviron

I have two files. Basically, the main file just loads the environ package and inputs the secondary file. The secondary file creates an environment that basically does nothing, and creates one instance ...
6
votes
2answers
253 views

Input/Output primitives of TeX

I'd like to write some simple macros for handling things like cross-reference, to use them in plain TeX. (I know there are already macros devoted to this, like the ones present in Eplain, but I would ...
0
votes
0answers
22 views

Standalone package installation [duplicate]

I want to include a table in a tex file and I get this error: ! LaTeX Error: File `standalone.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file ...
3
votes
1answer
436 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 ...
2
votes
0answers
53 views

Newgeometry changes all document

I am trying to set different margins for some pages of my Thesis. Essentially, I want some pages to have larger margins, since they contain big tables. I use the \input command to include big Tables ...
0
votes
0answers
66 views

Including Mathematica Code, in book type document

I want to include some Mathematica code in my tex file. For that I'm using this solution. As an example: \documentclass[12pt,a4paper]{book} \usepackage{graphicx} \usepackage{bm} ...
12
votes
3answers
10k views

Include data from a .txt verbatim

I am using a finite element program that outputs data in .txt files. And I want to input these data in my latex code. Is there a way to input the data files so that they appear as the program output ...
3
votes
1answer
43 views

How to pass parametres to an external file included by `\input{<filename>}`

I have a class file to set up agreements. I want to define a command that choose boilerplate text to include using a parameter pass a parameter to the included file to run a test and choose correct ...
3
votes
1answer
80 views

Using \newcommand to display user input that may contain special characters that need to be escaped

I don't know much about LaTeX right now, but I need to be able to use it to generate dynamic PDF documents using C#. For the most part, everything is cool and works the way I want it to work. ...
1
vote
2answers
129 views

\input with undefined environments

I am trying to assemble my thesis with the standalone package. I am attempting to input my old LaTeX document, lna_achemso.tex, into thesis.tex. The standalone package works well when both documents ...