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

learn more… | top users | synonyms

0
votes
1answer
40 views

Should I still define a main file as master document when using the subfiles package?

This is pretty much very straightforward and probably a really naive question, but I need to know: I'm using the subfiles package to manage my project files and I have all the paths set so every ...
0
votes
1answer
77 views

Standalone chapters with separate references and counters

I'm looking for a convenient way to integrate standalone chapters in a main.tex (scrbook) file. More specifically, they will be already published papers within a thesis framework text and should ...
0
votes
0answers
34 views

Subfolders and Subfiles

I am trying to setup a LaTex Project for multiple users. Each user has there own sub folder in side of each Project sub-folder. I would like each week to be able to also be generated as standalone ...
1
vote
0answers
18 views

Compile several files in their own font size in a main document

I use the subfiles package to compile several files in a main document. I have for example a document file1.tex in 12 pt, and another file2.tex in 10 pt both in article class( in preamble : ...
2
votes
0answers
23 views

Warning when using subfiles

So I'm getting this warning whenever I typeset a document which is using the subfiles package for modular documents. The warning occurs both when running the master file as well as the individual ...
0
votes
0answers
37 views

Adding a document to another with a different document class

Main document: \documentclass[11pt,a4paper,oneside]{book} (for my thesis) Second .tex file: \documentclass[twocolumn]{phdsymp} (for my abstract) I need this second file to be added in my main file ...
2
votes
2answers
147 views

Split thesis chapters into separate files for compilation speed

I am writing a thesis using a template similar to this template. The main file (dissertation.tex) uses \include{} to include each chapter. I have a large chapter (over 60 pages with 70 images) that ...
2
votes
1answer
58 views

Table of contents with subfiles package

I am writing a report consisting of 3 separate files, each include a self-contained mathematical text. I work with the subfiles package. I have created three chapters in 3 separate files and included ...
2
votes
1answer
83 views

Subfiles and Referencing

I am having some trouble getting a modular document to work. This is what my files look like at the moment ./rootdoc.tex ./tex/childdoc.tex ./bib/bibliography.bib the files look ...
0
votes
0answers
30 views

How do I get consecutive section numbering for an entire document using subfiles?

When using the subfiles package, each subfile starts numbering sections with 1. How can I get consecutive numbering for the entire document?
1
vote
0answers
155 views

Cross-reference auto-completion with Subfile [closed]

I'm using Sublime Text 3 with LatexTools for my document. I have a document main.tex, which has subfiles Chapter1.tex, Chapter2.tex, etc. I would like to be able to have auto-complete for my ...
0
votes
0answers
111 views

Subfiles in subdirectory, file not found

I am writing a long document with two other people using Dropbox as the file storage mechanism. I want to have each person be able to work on their piece individually. Therefore I want to be able to ...
1
vote
0answers
177 views

Handle .bib in subfiles

I have a problem very similar to the question being asked in Bibliographies when using subfiles . My .bib is references in main.tex. When compiling main, everything works like a charm. Working on the ...
1
vote
0answers
139 views

Problem referencing/labeling while using the subfiles package

I have a problem using labels together with the subfiles package. When I'm writing in one section and I try to reference to different section (or for that matter anything within that section) I get an ...
0
votes
0answers
33 views

Integration of tex-file into another tex-file but with separate titlepage and bibliography

I am writing my cumulative PhD thesis and need to integrate the already written papers into my PhD main file. I need the following things: the page numbering to continue throughout the whole PhD ...
0
votes
0answers
31 views

Combining multiple files into one using subfiles [duplicate]

I have seen simple tools for accomplishing this with \input and \include, but none for using the subfiles package. What I am trying to do is have a very large software design document split into files ...
5
votes
0answers
147 views

Manage a publishing house with Latex [closed]

I work for a publisher who is primarily specializing in educational publications, offering final exams with sample solutions, exercise books and so on. The company is start-up and we write everything ...
6
votes
1answer
329 views

modular chapters of a dissertation

I have several different chapters I would like to include into a dissertation. Each chapter is a standalone paper and has its own directory structure (figures, tables, etc.). I would like to retain ...
2
votes
2answers
93 views

\renewcommand only in subordinated file with subfiles package

Is there a way to renew a command only when the child file is compiled with the subfiles-package? main.tex: \documentclass{article} \usepackage{subfiles} \newcommand{\foo}{foo} \begin{document} ...
2
votes
1answer
58 views

Use of the subfiles package results in a compilation error, due to the compiler erroneously parsing a commented-out “\end{document}”

I have the following two files in a folder: mymainfile.tex: \documentclass{article} \usepackage{subfiles} \begin{document} %\end{document} \subfile{mysubfile.tex} \end{document} mysubfile.tex: ...
2
votes
1answer
615 views

pgf Error: Arrow end type ``latex''' unknown

The following document: \documentclass[]{article} \usepackage{tikz} \usepackage{tikzscale} \usetikzlibrary{trees} \usetikzlibrary{calc} \begin{document} \tikzset{ block/.style = {draw, fill=white, ...
0
votes
0answers
48 views

subfiles in TeXworks pdflatex

I have a problem with subfiles. I have created a main file and then a subfile. Unfortunately when the subfile is called with \input{...} the main file does not find it; however there is no error ...
2
votes
1answer
342 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
98 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
100 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
93 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
371 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
84 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
43 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
65 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 ...
10
votes
1answer
3k 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, ...
3
votes
1answer
782 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
1answer
224 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
229 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 ...
9
votes
2answers
1k 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
248 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
1answer
119 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
121 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} ...
12
votes
1answer
1k 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
620 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} ...
4
votes
0answers
532 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
339 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. ...
9
votes
1answer
2k 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
1k 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
147 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
568 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 ...
2
votes
0answers
362 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 ...
4
votes
1answer
4k 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
922 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
734 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 ...