{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

3
votes
1answer
131 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
1answer
34 views

Compilation Error after running algorithm2e in document

This post is building of the solution posted here. When I try to put this code into my main code (or even \input the file, I get the error ! Argument of \reserved@a has an extra }. If I run the ...
0
votes
1answer
36 views

Main file setting ignored when using \include command

I want to split my tex file into several parts. When it was in the form of a single file, it compiled perfectly. After I cut out a chapter and created a separate file containing it (and imported it ...
4
votes
0answers
109 views

\includestandalone cannot compile \section or \subsection commands

Main.tex \documentclass{scrartcl} \usepackage{standalone} \begin{document} \section{A} \includestandalone{Subfile} \end{document} Subfile.tex ...
4
votes
0answers
43 views

How to import multiple fragments of file labled with the same label?

I want to make include of labled part of file. I need something like catchfilebetweentags but with the support of multiple usage of the same lable. Catchfilebetweentags include just the first ...
4
votes
0answers
41 views

Select specific items located outside a main file

I have a data base of questions (simply individual .tex-files) and include some of them in a main file with the help of simple \input commands, in order to create an exercise. Some of those question ...
3
votes
0answers
61 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 ...
3
votes
0answers
280 views

One tabular with column input from multiple data files with pgfplotstable

I have a question which sort of extends the page Multiple Files input to one pgfplotstable. In the answer to this question, data is read from dataB.dat and subsequently appended to the data as ...
3
votes
0answers
58 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} ...
3
votes
0answers
430 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 ...
3
votes
0answers
109 views

Using catcode in conjunction with lstnewenvironment and lstinputlisting

(This is related to Injecting text contained in file into custom environment, but I was asked to put this in a separate post) From regular expression in listings the following code works fine : ...
2
votes
0answers
27 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 ...
2
votes
0answers
64 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
0answers
50 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} ...
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} ...
2
votes
0answers
39 views

Is there a way to input part of a file that includes sagetex?

I am trying to build a sort of jumbling program for Tex Files. Specifically I want to randomly order problems on quizzes/exams that are generated. I have gotten most of the work done, but I am left ...
2
votes
0answers
203 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 ...
2
votes
0answers
151 views

Insert pgf with referenced png file from a different folder

I'm trying to insert a pgf file that I made with matplotlib. This file references to a png file (since I inserted a png figure in the plot). When I put the png in the same folder than my tex file, ...
1
vote
0answers
29 views

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

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
23 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
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 ...
1
vote
0answers
36 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
26 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
28 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$. ...
1
vote
0answers
99 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
0answers
137 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
99 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} ...
1
vote
0answers
337 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
160 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 ...
0
votes
0answers
43 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 ...
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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
43 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 ...
0
votes
0answers
38 views

Change name of table in caption and reference

I have multiple tables in my thesis with model results. I want to change these tables' names, meaning it wouldn't say Table 1 but Model 1 (also when referencing them). Also, a special table of content ...
0
votes
0answers
42 views

Input/import trouble

I've been trying to import tex-tables produced by Stata into a new document, but I keep getting an error that the imported file can't be found, even when I copy/paste the file path directly. My code ...
0
votes
0answers
26 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 ...
0
votes
0answers
46 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
112 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 ...
0
votes
0answers
355 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} ...
0
votes
0answers
154 views

Generate only aux file for external files

I use an external document by both \input-ting it and cross-referecing labels. It looks a bit like this: \zexternaldocument*{external} In picture \ref{external-link}, you see ... \input{external} ...
0
votes
0answers
55 views

Grandchild files?

I am using \input to include the various parts of a paper (literature review, research design, analysis, conclusion), each of which are a separate file. I also have subsections within some parts, ...
0
votes
0answers
54 views

paths when using \input

I tried the following: \chapter{Chapter One} \input{C:/Users/ocuk/MyDocuments/Introduction/Introduction.tex} I have already renamed "My Documents" to "MyDocuments" but is still doesn't seem to ...
0
votes
0answers
42 views

pstool not working with grffile

An error report regarding my template and pstool not working made me look at the problem which seems to be a principle problem of pstool together with grffile I created a matlabfraq file using ...
0
votes
0answers
69 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
145 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 ...