Questions tagged [multiple-files]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
25 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 ...
JoseMM's user avatar
  • 11
0 votes
1 answer
26 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 \...
Hyperplane's user avatar
0 votes
0 answers
31 views

File of packages in overleaf

I was wondering if there is a way in overleaf, to create a sort of file in wich you put all the packages you're going to use in your project, and then you would just "import" it in your main ...
LBM2's user avatar
  • 1
1 vote
2 answers
74 views

ConTeXt: Simple project structure does not open component file

I have a very simple ConTeXt project structure as shown, based off of the 2013 manual: /main.tex \startproject main \environment layout \product handbook \stopproject /layout.tex \startenvironment ...
hjk321's user avatar
  • 21
0 votes
1 answer
21 views

Batch recompiling a file under different names [duplicate]

I've written a LuaLaTeX document that, when compiled, automatically generates a list of questions with answers for an upper-secondary class in quadratic equations. The details are messy, but the ...
confusedandbemused's user avatar
-1 votes
1 answer
79 views

Overleaf project with 2 tex files generating 2 PDF files [duplicate]

I have an Overleaf project with two tex files like below: main.tex \documentclass[anonymous]{} ... \begin{document} \maketitle ... \end{document} review.tex \documentclass[anonymous]{} ... \begin{...
James's user avatar
  • 101
0 votes
0 answers
37 views

Having a file outside of the latex project update whenever I recompile the latex project

So right now I have a bunch folders for all the work I do in Latex organized by subject matter. Each one of these consists of the various latex projects I have for each subject. The folder that holds ...
Chris's user avatar
  • 133
0 votes
0 answers
41 views

AUCTeX Multifile Document with csquotes undetected

I am using AUCTeX 13.2.1 in emacs 28.1 and I have a multifile document setup where my master file is called these.tex and an included file is called chapter_01.tex in a subdirectory. In the preamble ...
Tetro's user avatar
  • 1
0 votes
0 answers
21 views

Compiling multiple files leading to secondary articles in the Appendix

I am consolidating three articles into my thesis using Overleaf and I used this link given on the Overleaf website as a base framework. I have included the additional preamble I added but I keep ...
Lorien Nair's user avatar
0 votes
1 answer
277 views

Editing multiple text files in Overleaf

I'm working on a class file in Overleaf, and would like to be able to have the editing tab for the class file and the main file open at the same time, rather than needing to repeatedly switch between ...
Justin Murante's user avatar
0 votes
1 answer
364 views

Cross Referencing with the xr Package in Overleaf (and custom Section Names)

I followed the Overleaf guide to cross-referencing between different LaTeX documents. This works really well - if I use \cref{eqn:supplement-equation1} in my main.tex document, it will correctly ...
Wasserwaage's user avatar
0 votes
0 answers
110 views

How to produce two documents with one tex file?

I have given (it is already typeseted) two very similar projects: A catalog with exercises and solutions and a catalog with only short solutions for the exercises. Because of the use of the package ...
Su-47's user avatar
  • 2,518
0 votes
0 answers
135 views

AUCTeX does not autocomplete environment commands of packages loaded in TeX-master

I am encountering a similar problem to this very old question, in that AUCTeX is not autocompleting commands outside the TeX-master file. I have the following files: main.tex: % arara: pdflatex % ...
Johannes Nauta's user avatar
1 vote
1 answer
49 views

make4ht multiple files hyperref issues with labels at the top of the file

The following compiles with make4ht but htlatex throws some errors. I'm trying to use make4ht to handle multiple files and link between them using xr-hyper and hyperref. In some cases I want to link ...
holmes's user avatar
  • 65
1 vote
1 answer
46 views

make4ht xr-hyper and hyperref unable to compile

Similar to xr-hyper and cleveref unable to compile with make4ht, the following example compiles with pdflatex but fails to compile with make4ht main.tex: \documentclass{article} \usepackage{hyperref} ...
holmes's user avatar
  • 65
3 votes
1 answer
150 views

xr-hyper and cleveref unable to compile with make4ht

I'm trying to use cleveref to cross reference between documents and compile them with make4ht. The following example compiles with pdflatex but not with make4ht or htlatex. main.tex: \documentclass{...
holmes's user avatar
  • 65
0 votes
2 answers
72 views

How to show splitted chapter files with continuous page numbers? [closed]

I created separate Tex files for each chapter. I see each one with page numbers starting from 1 to the end of the chapter. How can I create a start page to list all chapters and display a continuous ...
Dhirgham Murran's user avatar
1 vote
1 answer
66 views

Combine multiple articles in a two-column format with title above the columns

I am using Overleaf and trying to set an environment for a two-column text layout. I want the title as well as the names of the authors to be right above the two columns. I got it working fine for the ...
Phonzy's user avatar
  • 11
0 votes
0 answers
27 views

Referring to line numbers and citations in another document [duplicate]

In revisions to a manuscript, we need to make references to where some text has been added in the main document (manuscript.tex), in our response document (response.tex). As can be expected in ...
user2751530's user avatar
  • 1,102
3 votes
1 answer
93 views

Read and process file content line by line with expl3

In a multi-file project organized as: mainfile.tex subfile1/subfile1.tex subfile2/subfile2.tex ... in order to make every subfile compilable on its own and make possible of referencing between ...
Jinwen's user avatar
  • 8,518
1 vote
2 answers
59 views

Import Information into Several Documents from a Master Document

Context: I'm a university lecturer and therefore facing the same tasks whenever I prepare for a new semester. One of them is creating course material with LaTeX which includes a syllabus, slides for ...
macright's user avatar
0 votes
0 answers
63 views

Umlaut in the name of the file containing the preamble

Using \input{filename} for a file in a subdir works fine even including the whole preamble, but when the targeted file has an Umlaut in its name, I get an Emergency stop with a Missing \begin{document}...
Nepumuk's user avatar
  • 483
0 votes
1 answer
128 views

Unable to combine multiple documents into a single LaTex document

Even the most trivial example fails. Here's the main file, test.tex: \documentclass[10pt]{combine} \usepackage{combinet} \begin{document} \pagestyle{combine} \clearpage \begin{papers} \import{a1} \...
Vincent Granville's user avatar
0 votes
0 answers
42 views

How to introduce another tex file with its own preambles into a main tex file

My coauthor and I have a tex file for the paper (main.tex), and another tex file for tables and figures (tables_and_figures.tex). Previously, we would compile main.tex, and then compile ...
John Kim's user avatar
0 votes
1 answer
391 views

How to find the locations of your labels, especially multiple defined ones in Overleaf or Latex in general?

Working on my theses, I get the Label multiply defined warning. This can happen and is no big issue, however right now my thesis is rather long and divided into several subfiles. I can't find the ...
Roland Deschain's user avatar
2 votes
0 answers
213 views

Is it possible to create a hyperlink to a page that doesn't exist in the current document?

Is it possible to create a hyperlink to a page that doesn't exist in the current document? The reason for asking, is that I have many documents on Overleaf, which are split in order to increase ...
8aa's user avatar
  • 64
0 votes
1 answer
313 views

Inserting an abstract in a main document

Im doing a paper where I have the main.tex with the content of the entire paper and I want to insert another .tex with my abstract within the main.tex. The abstract has its own .cls with code for the ...
Danielle's user avatar
0 votes
1 answer
309 views

Adding a CV document to an Article document in Overleaf

I'm writing an article in Overleaf using \documentclass[12pt]{article} I have several sections in this document. I'd like to add a CV under one of these sections. Any idea how I could do this? Thanks ...
London63's user avatar
0 votes
0 answers
139 views

For my usecase, should I use \input, \import or \include command, subfile package or standalone package

I am writing a manual. The manual has a bunch of versions intended for different audience. Let's say I am writing files A,B1,B2,B3,C1,C2,C3, where B1,B2,B3&C1,C2,C3 are different versions of the ...
jxhyc's user avatar
  • 1,121
3 votes
1 answer
61 views

How can I automate file inclusion using arguments?

I am working on a collection of books that uses content from other files. I want to have each reference in a file to avoid redundant content and to make it easier to review and correct the content. ...
A. Cedano's user avatar
  • 453
0 votes
0 answers
90 views

How do I merge different .sty files?

I have multiple small .sty files like 'layout.sty' or 'table.sty' and I want to create one 'main.sty' file that summarizes everything. Optionally I would like to have the ability of passing down ...
temporary_question_asker_443's user avatar
0 votes
1 answer
235 views

Numbering restarts within document with multiple files

I am working on a document with multiple files for my thesis. With each file the page and footnotes numbering restarts from 1. Is there a way to make the numbering of pages and citation continue over ...
Muhammed Ragab's user avatar
1 vote
1 answer
44 views

Resuming figure and table counters from other Rtex file

I am currently working on a project in overleaf which is currently divided into three documents: a main text document a supplementary Figures and Tables document a supplementary text document. The ...
A-B-izi's user avatar
  • 113
1 vote
1 answer
379 views

tikz figure from file

Lets say i have a tikz figure in a file called tik_fig1.tex and tik_fig2.tex with \documentclass[tikz]{standalone} Is it then possible to add these to a main.tex with \documentclass{article} by ...
Simon Chemnitz-Thomsen's user avatar
0 votes
0 answers
55 views

Limiting the scope of a bibliography to an inputted file

I am in a bit of a pickle. I am compiling a big file with several contributions (over 100-200) by different people. For reasons I won't get into, I am constrained to the following: The different ...
Jesus Martinez Garcia's user avatar
1 vote
2 answers
153 views

Combine .tex file with .aux files to produce a single self-contained .tex file

I have submitted a paper to PLoS Computational Biology and it has been accepted. The paper has three supporting text pieces, which PLOSCB requires to be separate files. So, I split my paper into four ...
Leon Avery's user avatar
1 vote
2 answers
404 views

Index for a multi-volume book

I want to create an index for a multi-volume book. I tried this one: How to produce a combined index from multiple documents? There are some first results, but the sorting is wrong. Here is a short ...
Heidrun's user avatar
  • 31
1 vote
0 answers
99 views

Is there an equivalent of the python 'if name == __main__.py' command in latex?

I'm busy working on a multi-document latex file. I use \include to import my different chapters into my main file, and I've defined my preamble in a separate .sty file, that I import into my main file ...
dan_sk8r's user avatar
0 votes
0 answers
118 views

Add a tagging system to LaTeX files when compiling several at a time

Is there a way to add a tag to a LaTeX document? Something that allows one to omit it from mass compilation? Say I have three .tex files, formulas, math-notes, and artwork. Would there be a way to tag ...
KNOB Personal's user avatar
0 votes
1 answer
85 views

How to get rid of unwanted line - multiple table of contents in "report" class using titletoc package

I'm writing my thesis, and have stumbled upon a problem, I don't know how to fix. I want two tables of contents - one for the actual thesis and one just before the appendix. As the headline says, I'm ...
Christina's user avatar
0 votes
0 answers
121 views

What do you guys do with all the files what are automatically exported with .tex?

Following these posts: Egad! What are all those files?, File extensions related to LaTeX, etc etc. I would like to know whether I am supposed to keep these or delete them, and also is there a way to ...
user71207's user avatar
  • 545
1 vote
0 answers
87 views

Achieve pdfpages's \includepdf with standalone package

I would like to have the following dependency: main.tex |-- part.tex Where each file has its own preamble, part.tex is included as if their pdfs are inserted in main.pdf. I can easily achieve this ...
Fibo Kowalsky's user avatar
1 vote
0 answers
95 views

How to use \processifversion in Latex

I am using the \processifversion{tag} to create various versions of report. I have two questions on how to use this command or its equivalent \begin{tag} ... \end{tag}: In a table, I wanted to pick up ...
Tommy Cat's user avatar
0 votes
0 answers
50 views

What are the basic LaTeX tools at CTAN for managing hyperlinks between two LaTeX PDF files?

My interest is to learn about available tools, including success stories. Admittedly, some tools at CTAN are maintained and others not. Not requested is a solution to the problem outlined below. The ...
Grant Gustafson's user avatar
2 votes
1 answer
1k views

How do I set the appendix counter in a new book document?

I have a multi-volume work, and the several appendices are distributed across each volume. For example, Appendices A through D are at the end of Volume 1 as they relate to the subject matter therein, ...
J.D.'s user avatar
  • 23
1 vote
1 answer
343 views

Compiling with latexmk; prompted to "Please type another output file name"

I'm currently trying to get my thesis to compile with latexmk. I am running WSL (Ubuntu 18.04) on a Windows 10 Machine. My file structure is as follows: +-- build/ +-- src/ | +-- 01_intro.tex | +...
Chris Gnam's user avatar
0 votes
1 answer
1k views

Have no idea how to include a tex file into another tex file

I would like to include a tex file into another tex file. However, I failed to use the \include{} command in this case. What command should I use to input the content of PR1.tex below \section{...
Steffeny's user avatar
1 vote
0 answers
121 views

Can I compile one .tex file into multiple PDF using TeXMaker, beamer class?

So, let's suppose I have this presentation here \documentclass{beamer} \begin{document} \begin{frame} This is frame 1 \end{frame} \begin{frame} This is frame 2 \end{frame} \begin{...
Italo Marinho's user avatar
4 votes
4 answers
279 views

Cross-referencing with sentences? Is there any way for the LaTex to copy a certain segment from another .tex file?

Suppose there are several paragraphs in A.tex as follows: para1: The Kalman filter is an efficient recursive filter that estimates the internal state of a linear dynamic system from a series of noisy ...
ZHUANG's user avatar
  • 97
0 votes
1 answer
107 views

PDFLatex not finding files (tex, pdf) after exporting from R statistics software

I installed Kile 3 and MiKTeX on Windows 10 and can not include any PDF graphics nor Tikz-painted .tex files from subdirectories. Minimal example: \documentclass{scrartcl} \usepackage{tikz} \begin{...
Sebastian's user avatar