Hi Arne, Thank you very much for sharing the code of your book. It seems very interesting, I have to take a closer look at it. I want to upload to GitLab all the code of those two books of my samples, but I need to rearrange it before, as most of that code is in Spanish :-)
But, broadly speaking, my workflow (especially in these books that are so long) consists of using Org Publish and compiling everything at the end with the latexmk script. Each part of the book (chapters, or letters in the case of the dictionary) are Org documents. And then I have another Org document which works as a master document (which is the one I compile in the end with latexmk; the rest of the documents are exported to * .tex using org-publish, and I automate all that process through a function in Elisp). I have also another Org document just for the preamble and my LaTeX code (which is tangled to a tex file), another document only with the Elisp code involved in the process of the books (export filters) and, finally, a .setup file. I also add a * .xdy file, since I use xindy for the index, instead of makeindex. The xdy file is in Common Lisp, and unfortunately I don't have much knowledge of CL, but I manage for a few adjustments. Of course, some Emacs packages are very useful to me too, like the excellent Org-Ref, Magit or Projectile. Best regards, Juan Manuel "Dr. Arne Babenhauserheide" <arne_...@web.de> writes: > Hi Juan, > > I’ve been going that route for a few years now, and I setup an autotools > pipeline with all the little tweaks and hacks I needed to make > everything work well together. > > I’m using LaTeX (pdflatex), scribus, calibre and imagemagick to publish > a roleplaying book with charactersheet, > > Maybe some of it can help you. The entrypoints are the Makefile, the > setup, and the configure.ac (for the hacks): > https://hg.sr.ht/~arnebab/ews/browse/Hauptdokument/ews30/Makefile.am > https://hg.sr.ht/~arnebab/ews/browse/Hauptdokument/ews30/basesetup.tex > https://hg.sr.ht/~arnebab/ews/browse/Hauptdokument/ews30/ews30setup.tex > https://hg.sr.ht/~arnebab/ews/browse/Hauptdokument/ews30/ews30setup.el > https://hg.sr.ht/~arnebab/ews/browse/Hauptdokument/ews30/configure.ac > > The main document is > https://hg.sr.ht/~arnebab/ews/browse/Hauptdokument/ews30/ews.org > > I also have some derived documents that use the included tables as data. > Most complex example: > https://hg.sr.ht/~arnebab/ews/browse/Hauptdokument/ews30/chargen.org.in > > > Best wishes, > Arne