{subfiles} is about a class and package for multi-file projects in LaTeX

learn more… | top users | synonyms

0
votes
0answers
10 views

addressing path problems in \subfiles [on hold]

Problem: I have a book with a titr.tex (the main document) and twenty chapters e.g. ./chapters/chapter_one/one_one.tex. If I compile a document other than the main document e.g. titr.tex then, I ...
2
votes
1answer
19 views

Subfiles errors while using style in the main file [duplicate]

I would like to build a modular document in latex. My main directory (in which I put the main file "thesis.tex") is called "tesi". Inside "tesi" i have another directory named "capitoli" where I ...
2
votes
0answers
31 views

Irregular behaviour when mixing \pagestyle and \newpage and \marginenote

This might be a newbie question, but I have been struggling for hours to find out what is going on and still it does not make any sense. I managed to create a MWE, but when I gradually transfer to ...
1
vote
2answers
40 views

Using subfiles package for beamer documents

When using subfiles package for beamer documents, I got wrong header bars in frames of sub files. My main file is as follows: % main.tex \documentclass{beamer} \usepackage{subfiles} \begin{document} ...
1
vote
0answers
26 views

Run modular TEX files using subfiles

I'm running into a little error here and I hope somebody can help me. I am setting up a modular Tex document, the structure is as follows |[tex] |-environment.tex |main.tex |bibtex.bib |mystyle.sty ...
3
votes
1answer
191 views

Conflict between subfiles, bm and newtxtext

I have a document made up of many sub-documents. These documents can be compiled separately using LaTeX and the subfiles package but not when I use both newtxtext and bm as well. How can I overcome ...
3
votes
0answers
34 views

Relatives/absolute path for listing with subfiles

I have problem with path management. Let me explain you: I work with subfiles that are arranged in this way: REPORT --Main.tex --lab1 ----Matlab ------CodeLab1.m ----Report ------Report_P1_1.tex ...
0
votes
0answers
42 views

How can I combine two standalone documents (CV and letter) into one? [duplicate]

I have two standalone .tex documents that compile fine independently: my resume that is using the well known moderncv package a standard .tex document (cover letter) I would like to combine, in a ...
1
vote
0answers
17 views

Subfiles will not work ERROR: Missing \endcsname inserted

I downloaded this template (https://github.com/tlatsas/thesis-latex-template) for my thesis. The template uses subfiles, but when i try to run a pdf on the subfile chapter1.tex i get the following ...
5
votes
1answer
232 views

Is it possible to use includegraphics with relative path inside subfiles?

Question I have many documents that I want to be merged inside one document. It could be for example a kind of year recap, with many different sources that use the same preambule like lectures, labs, ...
2
votes
1answer
107 views

Latexdiff with subfiles

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 ...
0
votes
0answers
81 views

subfiles inside a subfile using relative paths

Is there a way to use subfiles, in a way that you can compile the middle chapters, let me explain by example. main.tex (root folder) --Chapter 1 (Chapter 1 folder) ----Section 1.1 (Chapter 1 folder) ...
0
votes
0answers
90 views

Texstudio and subfiles package

I am using TexStudio and am very happy with it. Now I have discovered the subfiles package to be able to compile only the part of my document I am working on. But TexStudio detects that the document ...
8
votes
2answers
396 views

How can I include subfiles in to a subfiles?

First of all, I am a newbie here and I have no idea to post a query but I have a problem for which I require your help. I even don't know what should be the title of my problem but what my intuition ...
3
votes
1answer
171 views

Splitting the preamble

When working with big documents, especially when dealing with many lists, graphics, figures and includes, I often come up with a structure roughly looking like this. \documentclass{beamer} [preamble ...
1
vote
0answers
64 views

Accessing a style file from a subfolder.

I am currently working on a project with a number of other students. Now we are performing a number of tests on a hydraulic rig. As we are progressing with our tests we write test reports with our ...
5
votes
1answer
85 views

Header with scrpage2 disappears on “last page” when using subfiles package

When I put two or more TeX files together with the subfiles package, the header disappears on the last pages of the included files. Why is that? The Root.tex file: \documentclass[a4paper]{scrartcl} ...
11
votes
1answer
730 views

Compiling a main document with many TikZ subfiles efficiently

What would be the most efficient way to compile a document of the article class with many TikZ subfiles? In the main document, I have added \usepackage{standalone} and then \includestandalone for the ...
3
votes
2answers
352 views

\pgfplotstableread and subfiles

Is there a way to use a folder structure with subfiles and \pgfplotstableread? I have the following structure: main.tex \documentclass{article} \usepackage{pgfplots} \usepackage{subfiles} ...
3
votes
0answers
326 views

Package biblatex and subfile not working in subfiles [closed]

I am trying to use biber and package subfile. Thank to the community I manage to make it run in the main file. See here: Bibliographies when using subfiles The file bbl is not created in the folder ...
3
votes
2answers
207 views

Loading packages from separate document

I am using MikTeX and Texmaker to write in. My issue is that we are a group of people writing the same report, and I want to load the packages we are using from a separate file, or a similar method. ...
8
votes
1answer
827 views

Bibliographies when using subfiles

I am writing my Ph.D. thesis in XeLaTeX with Biblatex, and there are times when I need to compile individual chapters, and times when I need to compile the entire document, so I use subfiles, which ...
4
votes
1answer
718 views

Is there a LaTeX editor capable of synctexing a live preview from an included or inputted or subfiled chapter02.tex?

As a beginner... I thought I had settled for the distraction-free Gummi; but now I'm unsure, as I gather it's not so great for larger, modularized documents, such as writing a thesis: Gummi's live ...
2
votes
1answer
124 views

Can't find tikz subfiles

I've the following project structure: ./main.tex ./ch1/ch1.tex ./ch1/tikz1/tikz1.tex The main.tex looks like: \documentclass{book} \begin{document} \subfile{./ch1/ch1.tex} \end{document} The ...
2
votes
1answer
340 views

LaTeX - Standalone - figure reference in nested subfile error

for a few days I've been stacked with a problem which no manual or documentation resolved, please help: I have my 'main.tex' report document file, where I use the 'standalone' package to load the ...
1
vote
0answers
257 views

Input files relative to main file when using subfiles [closed]

I'm writing a report where I use the package subfiles to include different parts of my report. \input{misc/variables.tex} will include my variables file perfectly and render the subfiles. But if I ...
1
vote
1answer
3k views

LaTeX Error: File `subfiles.sty' not found

I'm using pdflatex to compile my .tex files and I'm new on this. I have this package that uses subfiles, but I can't compile because of this error: LaTeX Error: File `subfiles.sty' not found. I ...
1
vote
1answer
542 views

Combination of Subfiles, Apacite and Babel packages result in LaTeX error

For my bachelor thesis, I want to write my chapters in separate files and be able to compile them separately. To combine them, I use the subfiles package. For citations, I have to use Apa style via ...
3
votes
1answer
468 views

Use of apacite package with subfiles package or standalone package results in LaTeX Error: Can be used only in preamble

I want to create a multi-file project for my thesis, in which I use separate files for sections. To be able to compile these separate files I tried using the subfiles package and the standalone ...
2
votes
1answer
599 views

How to combine several LaTeX files with equations and tables into one?

I am preparing a thesis including equations, figures, and tables. I have read up on combining LaTeX files, but my problem persists. I created the main file and imported preamble, chapterfiles, and ...
2
votes
1answer
78 views

Separate chapters, each with individual preface, included in same document

I have a document I want to split up into individual sections. I'd like each individual section to be independently compilable, but of course I also need the whole document to compile. The trouble ...
4
votes
1answer
162 views

Some comments being interpreted when using subfiles?

I am writing my thesis using a college provided template which uses subfiles. I have was stuck for a few hours on an issue wherein some comments are being interpreted by the compiler when the subfiles ...
11
votes
2answers
5k views

How to use the import package?

I've read about the import package and am now trying to use it in my document, but I only run into errors. I have a main file named /ProjectPath/header.tex which loads all packages, etc. ...
1
vote
1answer
403 views

How to use different preamble in subfiles root file and child file

I have both \maketitle \tableofcontents in the root file and child file when using subfiles package. When I compiling the child file, it works OK. But when I compiling the root file, the title and ...
0
votes
1answer
209 views

Can't include child document in subfigure

I'd like to save the PSTicks code for my images in seperate files and then include them with \include{image.tex}. This works fine with normal figure floats. But when I use subfloats, I get the error: ...
2
votes
4answers
3k views

Using subfiles package with .sty files

Following the Project Structure Wiki and Subfiles Wiki, I've built the following project structure: ./mydocument.tex ./mystyle.sty ./tex/mysubfile.tex ./img/ mydocument.tex looks like: ...