From 9f089aa2863afdbfacd8a43dc85f0b8c53463bb8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 13 Dec 2021 12:10:13 -0800 Subject: Org writer: add tests for org-cite citations, and improve support. --- test/command/7329.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 test/command/7329.md (limited to 'test') diff --git a/test/command/7329.md b/test/command/7329.md new file mode 100644 index 000000000..565241db8 --- /dev/null +++ b/test/command/7329.md @@ -0,0 +1,44 @@ +``` +% pandoc -f markdown -t org +- @item1 +- @item1 [p. 12] +- @item1 [p.12; see also @item2] +- [@item1] +- [-@item1] +- [see @item1 p. 12] +- [see @item1, p. 12] +- [see @item1, p. 12 and *passim*] +- [@item1;@item2] +- [see @item1; @item2] +^D +- [cite/t:@item1] +- [cite/t:@item1 p. 12] +- [cite/t:@item1 p.12; see also @item2] +- [cite:@item1] +- [cite/na:@item1] +- [cite:see @item1 p. 12] +- [cite:see @item1 p. 12] +- [cite:see @item1 p. 12 and /passim/] +- [cite:@item1; @item2] +- [cite:see @item1; @item2] +``` + +``` +% pandoc -f markdown -t org -C --bibliography command/biblio.bib +- [@item1] +^D +- [cite:@item1] +``` + + +``` +% pandoc -f markdown -t org-citations -C --bibliography command/biblio.bib +[@item1] +^D +(Doe 2005) + +<> + +<> +Doe, John. 2005. /First Book/. Cambridge: Cambridge University Press. +``` -- cgit v1.2.3