aboutsummaryrefslogtreecommitdiff
path: root/test/command/pandoc-citeproc-chicago-fullnote-bibliography.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/pandoc-citeproc-chicago-fullnote-bibliography.md')
-rw-r--r--test/command/pandoc-citeproc-chicago-fullnote-bibliography.md134
1 files changed, 134 insertions, 0 deletions
diff --git a/test/command/pandoc-citeproc-chicago-fullnote-bibliography.md b/test/command/pandoc-citeproc-chicago-fullnote-bibliography.md
new file mode 100644
index 000000000..ef690d91d
--- /dev/null
+++ b/test/command/pandoc-citeproc-chicago-fullnote-bibliography.md
@@ -0,0 +1,134 @@
+```
+% pandoc --citeproc -t markdown-citations
+---
+bibliography: command/biblio.bib
+csl: 'command/chicago-fullnote-bibliography.csl'
+link-citations: true
+---
+
+Pandoc with citeproc-hs
+=======================
+
+[@nonexistent]
+
+@nonexistent
+
+@item1 says blah.
+
+@item1 [p. 30] says blah.
+
+@item1 [p. 30, with suffix] says blah.
+
+@item1 [-@item2 p. 30; see also @пункт3] says blah.
+
+In a note.[^1]
+
+A citation group [see @item1 chap. 3; also @пункт3 p. 34-35].
+
+Another one [see @item1 p. 34-35].
+
+And another one in a note.[^2]
+
+Citation with a suffix and locator [@item1 pp. 33, 35-37, and nowhere
+else].
+
+Citation with suffix only [@item1 and nowhere else].
+
+Now some modifiers.[^3]
+
+With some markup [*see* @item1 p. **32**].
+
+References {#references .unnumbered}
+==========
+
+[^1]: @пункт3 [p. 12] and a citation without locators [@пункт3].
+
+[^2]: Some citations [see @item1 chap. 3; @пункт3; @item2].
+
+[^3]: Like a citation without author: [-@item1], and again
+ [-@item1], and now Doe with a locator [-@item2 p. 44].
+^D
+[WARNING] Citeproc: citation nonexistent not found
+Pandoc with citeproc-hs
+=======================
+
+[^1]
+
+[^2]
+
+[Doe](#ref-item1)[^3] says blah.
+
+[Doe](#ref-item1)[^4] says blah.
+
+[Doe](#ref-item1)[^5] says blah.
+
+[Doe](#ref-item1)[^6] says blah.
+
+In a note.[^7]
+
+A citation group.[^8]
+
+Another one.[^9]
+
+And another one in a note.[^10]
+
+Citation with a suffix and locator.[^11]
+
+Citation with suffix only.[^12]
+
+Now some modifiers.[^13]
+
+With some markup.[^14]
+
+References {#references .unnumbered}
+==========
+
+::: {#refs .references .csl-bib-body .hanging-indent}
+::: {#ref-item2 .csl-entry}
+Doe, John. "Article." *Journal of Generic Studies* 6 (2006): 33--34.
+:::
+
+::: {#ref-item1 .csl-entry}
+---------. *First Book*. Cambridge: Cambridge University Press, 2005.
+:::
+
+::: {#ref-пункт3 .csl-entry}
+Doe, John, and Jenny Roe. "Why Water Is Wet." In *Third Book*, edited by
+Sam Smith. Oxford: Oxford University Press, 2007.
+:::
+:::
+
+[^1]: [**Nonexistent?**](#ref-nonexistent)
+
+[^2]: [**Nonexistent?**](#ref-nonexistent)
+
+[^3]: [2005](#ref-item1).
+
+[^4]: [Ibid., 30](#ref-item1).
+
+[^5]: [Ibid.](#ref-item1), with suffix.
+
+[^6]: [2005](#ref-item1); [2006, 30](#ref-item2); see also [Doe and
+ Roe](#ref-пункт3).
+
+[^7]: [Doe and Roe](#ref-пункт3) ([12](#ref-пункт3)) and a citation
+ without locators ([Doe and Roe](#ref-пункт3)).
+
+[^8]: See [Doe, 2005, chap. 3](#ref-item1); also [Doe and Roe,
+ 34--35](#ref-пункт3).
+
+[^9]: See [Doe, 2005, 34--35](#ref-item1).
+
+[^10]: Some citations (See [ibid., chap. 3](#ref-item1); [Doe and
+ Roe](#ref-пункт3); [Doe, 2006](#ref-item2)).
+
+[^11]: [Doe, 2005, 33, 35--37](#ref-item1), and nowhere else.
+
+[^12]: [Doe, 2005](#ref-item1) and nowhere else.
+
+[^13]: Like a citation without author: ([Ibid.](#ref-item1)), and again
+ ([Ibid.](#ref-item1)), and now Doe with a locator ([2006,
+ 44](#ref-item2)).
+
+[^14]: *See* [Doe, 2005, 32](#ref-item1).
+```