subfiles

Documents in pieces.

Loading

\usepackage{subfiles}

Built into mLaTeX. Loading it is accepted and reads nothing; what the package does is mLaTeX's own work, and any command of it that mLaTeX does not define comes from the glossary.

Commands

\subfile.

Example

A document that uses it, from mLaTeX's own tests, so it compiles as written, and below it what mLaTeX sets from it in your browser:

subfiles.tex
\documentclass{article}
\usepackage{subfiles}
\begin{filecontents}{chapter.mtex}
A sub-file's text.
\end{filecontents}
\begin{document}
\subfile{chapter.mtex}
\end{document}
OutputLoading mLaTeX in your browser
Loading mLaTeX