aboutsummaryrefslogtreecommitdiff
path: root/test/command/reset-citation-positions.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/reset-citation-positions.md')
-rw-r--r--test/command/reset-citation-positions.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/command/reset-citation-positions.md b/test/command/reset-citation-positions.md
new file mode 100644
index 000000000..e6ed125d0
--- /dev/null
+++ b/test/command/reset-citation-positions.md
@@ -0,0 +1,41 @@
+```
+% pandoc --citeproc -t plain --csl command/chicago-fullnote-bibliography.csl
+---
+suppress-bibliography: true
+references:
+- id: foo
+ name: John doe
+ title: A Book
+ type: book
+ publisher: Oxford University Press
+ issued: 2010
+...
+
+# Chapter one
+
+Blah [@foo, p. 7].
+
+Blah [@foo, p. 8].
+
+# Chapter two {.reset-citation-positions}
+
+Blah [@foo, p. 57].
+^D
+Chapter one
+
+Blah.[1]
+
+Blah.[2]
+
+Chapter two
+
+Blah.[3]
+
+[1] A Book (Oxford University Press, 2010), 7.
+
+[2] A Book, 8.
+
+[3] A Book (Oxford University Press, 2010), 57.
+
+```
+