blob: e6dd452b901a33a5c1fa5b46812d7abdf0bc22b9 (
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
|
---
title: "Test"
biblio-style: apalike
link-citations: true
references:
- type: article-journal
id: test
author:
- family: Doe
given: J.
issued:
date-parts:
- - 1900
- 1
- 1
title: 'Test article'
title-short: Test
container-title: Nurture
volume: 1
issue: 1
page: 1-10
---
# Pandoc issues with Citeproc
## About
This shows where citations are not properly converted by Pandoc/Citeproc.
## How to use
Compile with:
pandoc -i citeproc-bug.md -t latex -o citeproc-bug.md --citeproc
## Tests
Normal: @test
Brackets syntax: [@test]
Brace syntax: @{test}
Inside braces: {@test}
Braces within braces: {@{test}}
Escaped braces: \{@test\}
Slash: \ @test
LaTeX block: \emph{@test}
LaTeX block 2: \emph{Reference to @test inside braces}
LaTeX block with escaped braces: \emph\{@test\}
LaTeX block with braces within braces: \emph{@{test}}
LaTeX protect block: \protect\emph{@test}
Preformatted:
> @test
>
> \emph{@test}
|