aboutsummaryrefslogtreecommitdiff
path: root/test/command/pandoc-citeproc-ieee.md
blob: 17ade2aaee6069544524278d79173d756b25b870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
```
% pandoc --citeproc -t markdown-citations
---
bibliography: command/biblio.bib
csl: command/ieee.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 now Doe with a
    locator [-@item2 p. 44].
^D
[WARNING] Citeproc: citation nonexistent not found
Pandoc with citeproc-hs
=======================

[**nonexistent?**](#ref-nonexistent)

[**nonexistent?**](#ref-nonexistent)

[\[1\]](#ref-item1) says blah.

[\[1, p. 30\]](#ref-item1) says blah.

[\[1, p. 30\]](#ref-item1), with suffix says blah.

[\[1\]](#ref-item1), [\[2, p. 30\]](#ref-item2), see also
[\[3\]](#ref-пункт3) says blah.

In a note.[^1]

A citation group see [\[1, Ch. 3\]](#ref-item1), also [\[3, pp.
34--35\]](#ref-пункт3).

Another one see [\[1, pp. 34--35\]](#ref-item1).

And another one in a note.[^2]

Citation with a suffix and locator [\[1, pp. 33, 35--37\]](#ref-item1),
and nowhere else.

Citation with suffix only [\[1\]](#ref-item1) and nowhere else.

Now some modifiers.[^3]

With some markup *see* [\[1, p. 32\]](#ref-item1).

References {#references .unnumbered}
==========

::: {#refs .references .csl-bib-body}
::: {#ref-item1 .csl-entry}
[\[1\] ]{.csl-left-margin}[J. Doe, *First book*. Cambridge: Cambridge
University Press, 2005.]{.csl-right-inline}
:::

::: {#ref-item2 .csl-entry}
[\[2\] ]{.csl-left-margin}[J. Doe, "Article," *Journal of Generic
Studies*, vol. 6, pp. 33--34, 2006.]{.csl-right-inline}
:::

::: {#ref-пункт3 .csl-entry}
[\[3\] ]{.csl-left-margin}[J. Doe and J. Roe, "Why water is wet," in
*Third book*, S. Smith, Ed. Oxford: Oxford University Press,
2007.]{.csl-right-inline}
:::
:::

[^1]: [\[3, p. 12\]](#ref-пункт3) and a citation without locators
    [\[3\]](#ref-пункт3).

[^2]: Some citations see [\[1, Ch. 3\]](#ref-item1),
    [\[2\]](#ref-item2), [\[3\]](#ref-пункт3).

[^3]: Like a citation without author: [\[1\]](#ref-item1), and now Doe
    with a locator [\[2, p. 44\]](#ref-item2).
```