Skip to main content

Questions tagged [include]

{include} is about the \include command which makes LaTeX process the content of a given file, add page breaks before and after and open a new auxiliary file for the given file.

0 votes
0 answers
27 views

Is there a way to specify directories to search files in them and relative imports in files in these directories

In project folder, I have directory tex from which I would like to import files without specifying directory name. For this, I added this directory to input@path. tex directory actually contains other ...
Intolighter's user avatar
0 votes
1 answer
68 views

Can I include pdf (using pdfpages pack) and automatically get the number of the inserted pdf

I make long technical (building engineering) documentation. In those docs, the standard is to explain stuff in the main doc and put a reference to a detailed calculation at the end. So I would like to ...
22decembre's user avatar
0 votes
0 answers
26 views

Include all chapters, but compile only one?

Instead of one big tex file, I put the chapters into separate tex files for faster compilation. My main tex file now looks like this: \include{ch-abstract} \include{ch-acknowledgments} \include{ch-...
Blau's user avatar
  • 53
0 votes
1 answer
39 views

Difficulty with template for multiple chapters

Folks: I am a Latex newbie. I have a book consisting of 24 chapters in word. I would like to be able to work on each chapter separately, but compile them as one Latex file. I copied code from ...
gandolfo's user avatar
0 votes
2 answers
49 views

Importing a section from another document (with begin document)

I have two different latex files, which I would like to import one to another file. Here's what I've searched previously in older posts. This one Another one To understand my case, I provide the ...
Wilory Lu's user avatar
  • 103
0 votes
0 answers
30 views

problem compiling the " \include" in apa7

Can somebody help me with my code. Everything was working perfectly until 4 days ago; it does not run anymore. I present a troubleshooting about \include . here my code: \documentclass[table,a4paper,...
Chamanga's user avatar
  • 166
0 votes
0 answers
38 views

How to include a preamble file in a main file

I have a main01.tex file for a training course with a pretty big pre-amble. I have a main02.tex file for another training course with the same pretty big pre-amble. I have a main03.tex file for yet ...
MrI2C's user avatar
  • 125
0 votes
0 answers
18 views

TeXstudio: create chapters in subfolders and figurtes in subsubfolders

I'd like to setup my document as such: /folder/main.tex %includes the preamble info /folder/chapter1/CH1.tex /folder/chapter1/Figures/<all_Ch1pictures.png> /folder/chapter2/CH2.tex /folder/...
MrI2C's user avatar
  • 125
3 votes
3 answers
165 views

`\settocdepth` followed by `\include` incorrect order in ToC file

I can use \settocdepth to change the depth of the ToC min-document. This works as expected in the MWE below when I comment out the \include statement. However, when the \settocdepth command is ...
Tommiie's user avatar
  • 526
0 votes
5 answers
290 views

How to include result values in a LaTeX document?

We are often in the following situation: a lengthy (data analysis) computation spits out a bunch of result values. Imagine a Python or script or an R script doing some resource intensive calculations. ...
lumbric's user avatar
  • 4,279
2 votes
1 answer
147 views

Problem with command `\includeonly` on Overleaf: `.aux` files are deleted automatically after some time

I am writing a paper on Overleaf (free version) that is starting to be a little long, so to optimize the compilation time I decided to put each section in a separate .tex file, and use the command \...
Lorenzo Pompili's user avatar
-1 votes
1 answer
115 views

\today not showing other than "0"

Good evening, I cant figure out how to get the proper date on my first page, and I've already done it without \maketitle in the past without problems. Big document, so nested: root: -> title -...
Fr3d's user avatar
  • 141
1 vote
3 answers
74 views

How to fix page numbering and page references in the table of contents?

Hey in my table of contents appendixes display incorrectly The chapter "List of tables" is actually on page 40, but "Appendix A" (In the picture named as "Dodatek A", &...
Pawel's user avatar
  • 11
0 votes
0 answers
30 views

\addcontentsline misplaced in ToC when followed by \include

I seem to have hit a bug in LaTeX concerning the table of contents. Apparently, if a \addcontentsline is followed by an \include, all the headers in the included file are printed in the table of ...
user15343006's user avatar
2 votes
1 answer
127 views

\Include working on mac, but not on windows

I am working on a big LaTeX document (thesis), that's broken down into multiple .tex files, and I thus have only a thesismain.tex file to compile that uses \include. On a MacBook, compilation goes ...
Kal8578's user avatar
  • 175

15 30 50 per page
1
2 3 4 5
43