Tufte-LaTeX / tufte-latex

A Tufte-inspired LaTeX class for producing handouts, papers, and books
https://tufte-latex.github.io/tufte-latex/
1.69k stars 301 forks source link

Multiple .tex files in the project #137

Closed phoe closed 6 years ago

phoe commented 6 years ago

Is there a way to split the main book file into separate files, each of which is separately compilable? I'm thinking of https://www.overleaf.com/learn/latex/Multi-file_LaTeX_projects#The_subfiles_package

mholson commented 6 years ago

I am using the subfiles package and it works great for my Math notes. I use the following document class for each file (section) \documentclass[1-MAIN.tex]{subfiles} which I can compile as individual documents.

This enables me to create separate notebooks for each class using the document class \documentclass[1-MAIN.tex]{subfiles}

The main reason that I choose this package was that it was also supported by CoCalc.

phoe commented 6 years ago

You're correct - I used subfiles and it works well for my case. Thanks!