summaryrefslogtreecommitdiff
path: root/test/docx
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-02-03 21:29:04 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2022-02-03 21:29:04 -0800
commitf854e31bc80644af184426ccac6c622a36d90edf (patch)
tree51d886728c0f15dbd9737a3c97f3a2d5fa46ebd4 /test/docx
parent9625e17e86dab26e0ef8dc47eebcb83249c4b220 (diff)
Add zoreto test with +citations.
So far, though, we still don't include the references in the metadata.
Diffstat (limited to 'test/docx')
-rw-r--r--test/docx/zotero_citations_plus.native140
1 files changed, 140 insertions, 0 deletions
diff --git a/test/docx/zotero_citations_plus.native b/test/docx/zotero_citations_plus.native
new file mode 100644
index 000000000..c8af4b4e6
--- /dev/null
+++ b/test/docx/zotero_citations_plus.native
@@ -0,0 +1,140 @@
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "citation"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "109"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ Str "(Smith"
+ , Space
+ , Str "et"
+ , Space
+ , Str "al.,"
+ , Space
+ , Str "2013)"
+ ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "citation"
+ , Space
+ , Str "with"
+ , Space
+ , Str "two"
+ , Space
+ , Str "sources"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "6"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "109"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ Str "(Boer"
+ , Space
+ , Str "et"
+ , Space
+ , Str "al.,"
+ , Space
+ , Str "2016;"
+ , Space
+ , Str "Smith"
+ , Space
+ , Str "et"
+ , Space
+ , Str "al.,"
+ , Space
+ , Str "2013)"
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "citation"
+ , Space
+ , Str "with"
+ , Space
+ , Str "additional"
+ , Space
+ , Str "prefix,"
+ , Space
+ , Str "suffix"
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Str "page"
+ , Space
+ , Str "number"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "10"
+ , citationPrefix = [ Str "prefix" ]
+ , citationSuffix =
+ [ Space , Str "2" , Space , Str "suffix" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 0
+ , citationHash = 0
+ }
+ ]
+ [ Str "(prefix"
+ , Space
+ , Str "Bellomo"
+ , Space
+ , Str "et"
+ , Space
+ , Str "al.,"
+ , Space
+ , Str "2016,"
+ , Space
+ , Str "p."
+ , Space
+ , Str "2"
+ , Space
+ , Str "suffix)"
+ ]
+ , Str "."
+ ]
+ , Header
+ 1
+ ( "reference-list" , [] , [] )
+ [ Str "Reference" , Space , Str "list" ]
+ ]