aboutsummaryrefslogtreecommitdiff
path: root/test/command/7321.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-05-27 10:49:45 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-05-27 10:49:45 -0700
commitcbe16b2866abd8d0e4c15f027562b4b2bed3f01e (patch)
tree64db92ea488edcc5949e57657b0c8c91f4a92bcb /test/command/7321.md
parent834da53058069fe50da510fa86e0807a7ff7868f (diff)
downloadpandoc-cbe16b2866abd8d0e4c15f027562b4b2bed3f01e.tar.gz
Citeproc: Don't detect math elements as locators.
Closes #7321.
Diffstat (limited to 'test/command/7321.md')
-rw-r--r--test/command/7321.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/command/7321.md b/test/command/7321.md
new file mode 100644
index 000000000..f5e644bee
--- /dev/null
+++ b/test/command/7321.md
@@ -0,0 +1,24 @@
+```
+% pandoc -t plain --citeproc --wrap=none
+---
+references:
+- id: fenner2012a
+ title: One-click science marketing
+ author:
+ - family: Fenner
+ given: Martin
+ container-title: Nature Materials
+ volume: 11
+ issue: 4
+ publisher: Nature Publishing Group
+ type: article-journal
+ issued:
+ year: 2012
+---
+
+[@fenner2012a, $a^2+b^2=c^2$]
+^D
+(Fenner 2012, a² + b² = c²)
+
+Fenner, Martin. 2012. “One-Click Science Marketing.” Nature Materials 11 (4).
+```