Questions tagged [multiple-files]
The multiple-files tag has no summary.
158 questions
3
votes
1
answer
59
views
Include parts of single file document still preserving counters like \includeonly
I have a large book (750 pages) in a single file. One single file has advantages, like search/replace the entire TeX file without need of fancy multifile search features. But multiple files have the ...
2
votes
1
answer
114
views
How to make \input be relative to directory of the tex file, not the working directory?
In my document, I have sub-documents in different sub-directories. The images for these sub-documents are placed in the same sub-directories. This makes it easy for organization, but a pain for \input ...
0
votes
0
answers
50
views
How to combine \AtEndDocument and \includegraphics with relative paths from multiple files?
In order to gather multiple exercises in a single document/pdf, I use the \subimport macro, which helps to deals with relative paths very well from a master tex file.
However, I sometimes want a part (...
1
vote
1
answer
71
views
How do I define an element in one tex file to appear next to another element in another tex file?
I am creating a dictionary using a python script to convert an XML file filled with entries into a LaTeX readable file. As I edit the XML file, I regenerate the entries.tex file, which is imported ...
3
votes
1
answer
68
views
Generate many separate tex files that contain 2 tables
This code does not generate tex files.
\documentclass{article}
\usepackage{filecontents}
\usepackage{pgffor} % Add this line
% Define how many files to generate
\newcommand{\numfiles}{3} % Change ...
2
votes
0
answers
54
views
Create an index of multiple files in the main.tex | for a master's thesis
It's been a lot of years that i'm working on my master's thesis and I would like to know if it's possible to make an index with multiple files. I know that there are a lot of forums pages about it, ...
0
votes
2
answers
138
views
Search and Replace Text in Multiple LaTeX files
I want to search for a specific text in multiple .tex or .bib files or combinations of them (can be 1000 files or more), and I want to replace that text with another text, and I want to be able to do ...
1
vote
1
answer
464
views
"Define current document as 'Master Document'." in VSCode
In TexMaker there is an option that is:
"Define current document as 'Master Document'."
Which is very helpful when editing a multiple-files document. However, I recently switched to VSCode ...
1
vote
0
answers
118
views
LaTeX equivalent to pipreqs [duplicate]
In Python projects, one can use the package pipreqs to automatically create a requirements.txt file, which lists all the project's dependencies. This file can then be used by others, for example, with ...
0
votes
0
answers
207
views
Including articles in a thesis document
I am trying to figure out to compile an article based thesis in LaTeX and am struggling to find a neat way to include the articles in their original journal format. All the articles were compiled in ...
0
votes
1
answer
233
views
newpax and pdfpages: include bookmarks of subdocuments in maindocument
Using the pdfpages package we can include whole PDF documents in our new maindocument. I will call the documents to be included "sub-pdfs" and the new maindocument "archive-document&...
1
vote
1
answer
104
views
subfiles — compile \printindex separately
subfiles is designed to both work as \input, but also allow to compile a subfile individually in order to save compile time.
I have a big multi-file project and I want to test my index style while ...
1
vote
1
answer
97
views
How to get the ToC of a beamer presentation in a separated A4 pdf?
I'm working on a long beamer presentation for a lecture.
I would like to create a table of contents for the whole presentation, listing sections, chapters and also the title of each frame, in a ...
1
vote
0
answers
54
views
Tables in article do not fit when moving to report (documentclass)
I would like to know if there is an alternative solution to the package \usepackage{pdfpages}.
I have three papers written in \documentclass{article}. When I compile each paper individually, there is ...
0
votes
1
answer
72
views
Compile glossary files individually for testing
Is there a setup that allows importing glossary definitions from another file, while at the same time being able to compile this file in a standalone manner (for testing purposes)?
acronyms.tex
\...