I\'m assembling a book with individual chapters constructed as markdown files with Pandoc. Currently, I\'m successfully using a script like this to combine the metadata docu