I've got a rather large tex project I'd like to turn into one or many linked html files. However neither of my go-to converters, pandoc and latex2html, seem to support recursive compilation.
Is there a compiler flag for one of them that I'm missing? If not, is there a converter that supports what I'm trying to do, or do I just have to copy and paste everything into one absurdly long document?
EDIT:
To be clear, I have a file main.tex
with the subfiles
package. I have several other files, i.tex
etc, of the form:
\documentclass[/path/to/files]{subfiles}
\begin{document}
Some words
\end{document}
How do I include all of them in my final document, either as content in some main.html
or separate i.html
files linked in to main.html
, without doing the hard work by hand?