diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-12-14 10:40:24 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-12-14 11:34:32 -0800 |
commit | 394fa9d0727a30f540d9c36ccfa68fc942cad587 (patch) | |
tree | 0ee3a22b0270979ddd9edf12fa64a63915614196 /test/command | |
parent | be0e3f979441176b6d838ff722ae7990940564be (diff) | |
download | pandoc-394fa9d0727a30f540d9c36ccfa68fc942cad587.tar.gz |
Org reader: parse official org-cite citations.
We also support the older org-ref style as a fallback.
We no longer support the "markdown-style" citations.
See #7329.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/7329.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/command/7329.md b/test/command/7329.md index 565241db8..9ed9c52ff 100644 --- a/test/command/7329.md +++ b/test/command/7329.md @@ -42,3 +42,26 @@ <<ref-item1>> Doe, John. 2005. /First Book/. Cambridge: Cambridge University Press. ``` + +``` +% pandoc -f org -t markdown +- [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 and /passim/] +- [cite:@item1; @item2] +- [cite:see @item1; @item2] +^D +- @item1 +- @item1 [p. 12] +- @item1 [p.12; see also @item2] +- [@item1] +- [-@item1] +- [see @item1 p. 12] +- [see @item1 p. 12 and *passim*] +- [@item1; @item2] +- [see @item1; @item2] +``` |