Nested metadata can simplify the process of specifying authors and their affiliations. However, this usually requires custom templates for all targeted output formats. Alternatively, pandoc filters can be used, but this can be problematic in cases where additional software cannot be installed locally.
This pull request adds a method to modify authors' metadata via the very small panlunatic library, which uses pandoc's build-in lua interpreter. No extra software is required. Author-metadata is folded into rich objects, or optionally into the default flat structure that is expected by most templates.
Nested metadata can simplify the process of specifying authors and their affiliations. However, this usually requires custom templates for all targeted output formats. Alternatively, pandoc filters can be used, but this can be problematic in cases where additional software cannot be installed locally.
This pull request adds a method to modify authors' metadata via the very small panlunatic library, which uses pandoc's build-in lua interpreter. No extra software is required. Author-metadata is folded into rich objects, or optionally into the default flat structure that is expected by most templates.