- 
                Notifications
    You must be signed in to change notification settings 
- Fork 21
Description
It is fairly common for notes styles to specify that a subsequent citation to a work should use a shortened form only if the citation recurs within a single chapter of a book. For example, the MHRA Style Guide, sect. 7.12:
In a monograph or thesis, treat each chapter independently for this purpose. That is, give a full reference for a source at its first mention in the chapter, and shortened references later in that chapter. If it occurs again in a later chapter, give the full reference again at its first mention there.
This would result in:
# Chapter 1
Contextualists accept disagreement.[1]
[1] John MacFarlane, *Assessment Sensitivity* (Oxford, 2014), 12.
# Chapter 2
MacFarlane describes the Reflexive Truth Rule as 'incomplete'.[1] He emends it using a clearer definition of retraction.[2]
[1] John MacFarlane, *Assessment Sensitivity* (Oxford, 2014), 108.
[2] MacFarlane, *Assessment Sensitivity*, 108–10.
There have been a few suggestions for dealing with this in jgm/pandoc#9999, but none of them quite give the expected results when a combined bibliography is also necessary.
The ideal solution would be for citeproc to reset the subsequent status of citations every time the processor comes across the heading level corresponding to the top-level-division option. Alternatively, the user could reset it manually using a div/span with a certain class, which would also give a filter the opportunity to insert this before headings or other elements.