What I'm hoping for is a command line argument to do this, as my book is composed of 66 subfiles. That is a lot to change by hand.
\documentclass[nt.tex]{subfiles}On a book with many chapters (each chapter a separate file) beginning with the following code:
\begin{document}
\newif\ifepub
\epubfalse
\ifepubIs there a way to make pandoc think \epubfalse is \epubtrue in all the subfiles so I don't have to manually edit each subfile when I want to create an epub book?Louis