{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

0
votes
1answer
18 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
24 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 ...
1
vote
1answer
35 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. ...
3
votes
1answer
51 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 ...
0
votes
1answer
65 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 ...
2
votes
1answer
84 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
27 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
22 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
69 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 ...
5
votes
2answers
214 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
21 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 ...
2
votes
0answers
39 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
48 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} ...
3
votes
1answer
49 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. ...
3
votes
1answer
37 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 ...
1
vote
2answers
71 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 ...
2
votes
1answer
65 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
76 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 ...
0
votes
0answers
25 views

pgfgantt: how to trim the bars to canvas start and end date

Work can sometimes become pretty complex and involving. When having different sub-Projects going with different start and end date, i found it a good idea to modularize my ganttcharts and use ...
0
votes
0answers
26 views

Integration of tex-file into another tex-file but with separate titlepage and bibliography

I am writing my cumulative PhD thesis and need to integrate the already written papers into my PhD main file. I need the following things: the page numbering to continue throughout the whole PhD ...
3
votes
1answer
88 views

Using \newcommand, \input and \includegraphics

I am writing a paper that includes simulation results from performing a number of trials of an experiment. Each of the output figures (.pdfs) I produce includes the number of trials in the filename ...
4
votes
1answer
23 views

Combining collcell with input

The following code works perfectly: \documentclass[12pt]{article} \usepackage{tikz} \usepackage{collcell} %The min, mid and max values \newcommand*{\MinNumber}{0.0}% \newcommand*{\MidNumber}{0.5} % ...
2
votes
0answers
33 views

Using titlepage.tex in the beamer

test_title.tex {\begin{titlepage} \begin{center} % Upper part of the page. The '~' is needed because \\ % only works if a paragraph has started. ...
0
votes
0answers
49 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} ...
4
votes
2answers
89 views

Using \input{} inside caption

I am wondering why I am getting errors when I try to add a caption to table using the \input command. A minimal example is as follows. The file cap2test.tex can be any text file. E.g., mine contains ...
3
votes
1answer
67 views

Undefined control sequence in input file (with \citeauthor and \citeyear)?

I have a main.tex file which is including other tex files in order to have a better overview over my file. Here is how the main.tex looks like: \documentclass[a4paper,10pt, twoside]{book} ...
4
votes
1answer
143 views

Can I pass LaTeX commands to latexmk instead of a filename?

This is a follow-up to How can I automate the workflow for producing multiple versions of a document? Here is toy example of my problem. I want to automate the generation of two slightly different ...
0
votes
0answers
50 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, ...
4
votes
2answers
43 views

list processing for file to input

i would like to create a 'list' of file names at arbitrary points in a document and use that list in the appendix to load these files. i understand that there's a generalized concept of a list in TeX ...
3
votes
3answers
87 views

\input{} as argument for \inputgraphic{}

I got a question very similar to this post (\includegraphics{\input{|shell command}}) which unfortunately hasn't been really answered. The aim is to make a command that invokes a python script to ...
5
votes
3answers
70 views

How can I get pgf's foreach to iterate over the contents of an input file

I would like to write something like: \foreach \myline in {\input{filehandle}} {\dosomethingwith\myline} If I have an outside_file.tex: this, is, the content, of, a file and then try to pass it ...
0
votes
1answer
28 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
0answers
44 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 ...
4
votes
3answers
261 views

How to merge several tex files so that they have one table of contents/List of tables & figures

I have three chapters which I combine into a thesis using pdfpages: as shown in this link Merging several papers This gets me 95% of what I need the only thing I still need is a table of contents ...
1
vote
1answer
66 views

Including files from google drive

Does someone knows how can I include a file from Google drive? Something like \input{http://adress_to_myfile_at_GDrive.tex}
1
vote
1answer
36 views

How to get numeric bullets in a Master document in LyX which contains input Lyx documents

I want to create a master document in LyX. From there, I want to input (using the meaning of input as in LyX) 4 different LyX documents. Each one of these other LyX documents contains a list of ...
6
votes
2answers
180 views

How to automatically include several text documents into a LaTeX document?

I have several .txt or .dat files, whose names are of the form: dn-ddmmyyyy.txt. For instance: d0-01021989.txt d1-21021989.txt d2-15021994.txt d3-12121996.txt d4-14032014.txt d5-22022035.txt ...many ...
6
votes
1answer
180 views

modular chapters of a dissertation

I have several different chapters I would like to include into a dissertation. Each chapter is a standalone paper and has its own directory structure (figures, tables, etc.). I would like to retain ...
2
votes
1answer
102 views

Input figures from sub-folders

I'm writing a big thesis using latex and I'm trying to keep organised. File-tree: ../Thesis/mainfile.tex ../Thesis/Section1/section1.tex ../Thesis/Figures/figure1.png ...
2
votes
2answers
147 views

Getting `tables` R package to print a text file that I can import into my .tex file

I'm trying to write some R code that takes data from my (evolving) experiment, makes a summary statistics table, and inputs it into the .tex document that I'm writing. I want to avoid copy-pasting. ...
1
vote
0answers
115 views

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

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: ...
9
votes
2answers
176 views

How not to load a file repeatedly?

I created a file version.tex with a git log message. This .tex-file is then included in my main.tex file like this: \renewcommand{\footsnippy}{% Author Name, Title of my Book, % ...
1
vote
1answer
75 views

How to force section to not go to new page in article

I have a document like this: \documentclass{article} \begin{document} \include{sect1} \include{sect2} \end{document} Both files sect1.tex and sect2.tex begin with \section{...}. The output pdf ...
3
votes
1answer
116 views

Scaling an \input within a subfigure

I'm including latex files with \input within a subfigure environment: \documentclass[a4paper]{report} \usepackage[usenames,dvipsnames]{color} \usepackage{linegoal} \usepackage{graphicx} ...
4
votes
3answers
158 views

How to work with command \input{filename.tex}?

I'm writing a book with lots of chapters using a command \input{filename.tex} for each chapter in the book book.tex. How to make it not to have book.tex and all filename.tex in the same directory? Is ...
0
votes
0answers
30 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
84 views

Import and scale LaTeX table data from file (only ampersand stuff)

Is it possible to create a table and include only the pure data from an external file (only ampersand delimited stuff). Is it also possible to scale a table because data is vast and I don't want to ...
5
votes
2answers
134 views

Use of \csname in \input produces mysterious results

I am stuck with the following one where I want to input a file with a name in the line of \jobnameQ.tex. Here is my MWE excerpted from a bigger picture. \documentclass{article} \usepackage{lipsum} ...
4
votes
1answer
85 views

How to automate introduction of section titles in book

I'm using Spundun's method for automating inputing the entries in a diary, in turn inspired by Peter Grill (Using LaTeX to keep a diary), and I would like to add section dividers by year. This should ...
2
votes
0answers
80 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, ...