I plan to write a short statistics textbook using Org-mode. Even if some textbooks have been written using equivalent systems (e.g., the R package bookdown), I have no examples in mind of books directly written in Org-mode.
The LaTeX guidelines of all major editors (e.g., CRC, Springer, Wiley) do not seem to facilitate the use of Org-mode, or at least, they require to build an appropriate workflow I cannot figure out on my own. (I am still a beginner in Org-mode.)
Indeed, they require any part, chapter, appendix, acknowledgments, etc., to be submitted in a separate .tex file, with some precise requirements for each file. A master .tex file then gathers all those files and produce the final output. (Example: Springer class here.)
Has someone already managed to set up an appropriate workflow for this kind of "constraint"? I can imagine two options:
Should I export a series of separate
foreword.tex
,chapterXX.tex
files,partXX.tex
files and so on, from one singlebook.org
file? And how to do so automatically each timebook.org
is exported? (Is it even possible to respect the Springer guidelines by doing so?)Should I create a series of separate
foreword.org
,chapterXX.org
files,part.org
files and so on, export them separately (and manually?) in LaTeX, and finally use the master TeX file from Springer to generate the whole book?
Unfortunately, in both cases, I do not see how to preview easily the whole book when exporting my org file(s), like any other org document. Getting/previewing the final book seem to require several manual operations each time, which would make this workflow really difficult to use.
Sorry for this rather vague question, but I cannot figure out how to proceed to respect those guidelines.
org
export the document into a series of well-defined separatetex
files. Maybe revise the post to focus on that part.make
program (or some equivalent) to pull everything together in a single PDF for preview. Org mode is great but it is one tool among many.