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. On Tuesday, September 12, 2023 at 11:27:51 AM UTC-5 Louis Turk wrote: > On a book with many chapters (each chapter a separate file) beginning with > the following code: > > \documentclass[nt.tex]{subfiles} > \begin{document} > \newif\ifepub > \epubfalse > \ifepub > > Is 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 > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/864d8672-1e48-424d-b98c-1abdfa5d4262n%40googlegroups.com.