pandoc/lua-filters

Place references before other content when using the section-refs.lua filter

mattwarkentin opened this issue · 0 comments

Hi,

I am using the section-refs.lua filter to create reference sections for separately for each chapter of my thesis. Is is possible to also place the reference section within the chapter using the standard pandoc syntax? I want to place tables and figures after the reference section, but I don't know enough Lua to make much sense of the filter.

For example, what I hope to achieve:

# Chapter 1

## References
::: {#refs-1}
:::

## Tables and Figures

# Chapter 2

## References
::: {#refs-2}
:::

## Tables and Figures