Linked Questions

11 votes
3 answers
11k views

I have a main TeX file which inputs many other TeX files i.e. for example \documentclass{article} \begin{document} \input{input1.tex} \input{input2.tex} \input{input3.tex} \end{document} Let's call ...
user avatar
0 votes
1 answer
823 views

Possible Duplicate: Replace \input{fileX} by the content of fileX automatically I'm developping a framework for managing LaTeX project's dependencies but I can't figure out if there is a simple ...
Maxime's user avatar
  • 101
2 votes
1 answer
362 views

I just finished my Ph.D thesis using LaTeX and I create it in a structured way with several folders and .tex documents inside. I have a master main.tex file and add the different chapters, sections ...
Rogelio Yoyontzin's user avatar
1 vote
1 answer
124 views

Is there a utility that will take a LaTeX source file, find all the \input{some_external_file} lines, and insert the contents of those external files into the master document without compiling to PDF? ...
drammock's user avatar
  • 196
2 votes
0 answers
73 views

My latex document consists of hundreds of TeX files that are loaded by the main file using the \input command. I need to submit the TeX code to the publisher of a scientific journal for publishing. Is ...
Pedro's user avatar
  • 21
2 votes
0 answers
63 views

I'm using TexLive 2016. Is there a way I can get the expanded Latex BEFORE it is converted to PDF? Quick example in case I'm asking the wrong question! i.e. main.tex: \documentclass[12pt]{article} \...
Bill Jones's user avatar
1 vote
0 answers
60 views

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{...
wdg's user avatar
  • 769
0 votes
0 answers
44 views

Suppose I have two tex files, document.tex and content.tex document.tex: \documentclass{article} \begin{document} This is some content. \input{content.tex} \end{document} content.tex: This is ...
karpfen's user avatar
  • 101
0 votes
0 answers
29 views

I have a main tex file which includes many import statements. I'm compiling with pdflatex to generate a PDF. I'd like to create a new .tex file that includes all the content from the main .tex file, ...
Simon's user avatar
  • 1
49 votes
4 answers
78k views

Sometimes it is convenient to use an absolute path to include a preamble. To do so, I use the following "hack": \documentclass[a4paper, 12pt]{article} \newcommand{\folder}{/path/to/folder} \input{\...
student's user avatar
  • 30.1k
37 votes
4 answers
6k views

I store LaTeX document in local GIT repository. Once I accomplish appropriate part of document I compile it to PDF and send it to my supervisor who is not familiar with LaTeX nor GIT. However, he ...
matandked's user avatar
  • 639
43 votes
4 answers
9k views

Although many academic journals readily accept submissions in some format of TeX, indeed some enlightened ones insist on it, it is rare that one can simply send exactly the same document that one has ...
Faheem Mitha's user avatar
  • 8,038
21 votes
3 answers
33k views

I want to convert a .tex file into something that is possible to open in MS Word (.doc, .docx, .rtf, ...) by means of the pandoc command line software. A minimum .tex file is attached below. I use ...
myotis's user avatar
  • 956
24 votes
3 answers
25k views

Is there a way to make latexdiff work with the 'subfiles' package ? I use subfiles to include parts of the document from different .tex files. Latexdiff does not seem to mark changes in the subfiles....
mfit's user avatar
  • 343
10 votes
3 answers
9k views

In my paper I have several tex files, mainly produced by some other tools (.bbl by bibtex, .eps_tex by inkscape etc.). I would like to combine them into a single tex file as required by my publisher. ...
Andrzej's user avatar
  • 579

15 30 50 per page