diff options
Diffstat (limited to 'paper/lua-filters/section-refs/README.md')
-rw-r--r-- | paper/lua-filters/section-refs/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/paper/lua-filters/section-refs/README.md b/paper/lua-filters/section-refs/README.md new file mode 100644 index 0000000..941bc36 --- /dev/null +++ b/paper/lua-filters/section-refs/README.md @@ -0,0 +1,19 @@ +# section-refs + +This filter allows the user to put bibliographies at the end of each +section, containing only those references in the section. It works on +the output of `pandoc-citeproc`, and so must be run after +`pandoc-citeproc`. For example: + +~~~ +pandoc input.md -F pandoc-citerproc --lua-filter section-refs.lua +~~~ + +It allows curstomization through two metadata fields: +`reference-section-title` and `section-refs-level` (default 1). The +`section-refs-level` variable controls what level the biblography will +occur at the end of. The header of the generated references section will +be one level higher than `section-refs-level` (so if it occurs at the +end of a level-1 section, it will receive a level-2 header, and so on). + +This filter requires pandoc version >= 2.1. |