Hello BP Jonsson,
thank you so much for taking the time to outline your approach and providing both your Lua filter and a ready-to-use Makefile. And yes, I have not only considered the chapters to long document approach, I am actually doing this – both by concatenating chapters in Pandoc and using file transclusion in a custom LML I am using. Both approaches (slice long docs vs. building them from small chapters) have obvious advantages. This is one of several problem I am trying to solve right now with regards to writing technical documentation, but I have saved your comments and the filter to study them over the next days.
On Thursday, April 18, 2019 at 5:54:45 PM UTC+2, BP Jonsson wrote:
Have you considered inverting the algorithm and have each chapter
in a separate source file?