aboutsummaryrefslogtreecommitdiff
path: root/test/command/biblatex-crossref-nested.md
blob: 520e464e9f18673039b9e09e752d03640ee45644 (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
```
% pandoc -f biblatex -t markdown -s
@comment{

Nested crossreferences (see biber manual v 1.7)

}

@bookinbook{bookinbook-1,
    Crossref = {book-1},
    Title = {Macbeth [title field of bookinbook-1]},
    Chapter = {7},
    Pages = {100-200},
}

@inbook{inbook-1,
    Crossref = {book-1},
    Title = {Macbeth [title field of inbook-1]},
    Chapter = {7},
    Pages = {100-200},
}

@book{book-1,
    Crossref = {mvbook-1},
    Date = {1975},
    Title = {Tragedies [title field of book-1]},
    Volume = {3}
}

@mvbook{mvbook-1,
    Author = {Shakespeare},
    Date = {1970/1980},
    Title = {Collected Works [title field of mvbook-1]},
    Location = {Location},
    Publisher = {Publisher},
    Volumes = {4}
}

^D
---
nocite: '[@*]'
references:
- author:
  - family: Shakespeare
  chapter-number: 7
  container-author:
  - family: Shakespeare
  container-title: 'Collected works \[title field of mvbook-1\]'
  id: 'bookinbook-1'
  issued: 1975
  number-of-volumes: 4
  page: '100-200'
  publisher: Publisher
  publisher-place: Location
  title: 'Macbeth \[title field of bookinbook-1\]'
  type: chapter
  volume: 3
  volume-title: 'Tragedies \[title field of book-1\]'
- author:
  - family: Shakespeare
  chapter-number: 7
  container-author:
  - family: Shakespeare
  container-title: 'Collected works \[title field of mvbook-1\]'
  id: 'inbook-1'
  issued: 1975
  number-of-volumes: 4
  page: '100-200'
  publisher: Publisher
  publisher-place: Location
  title: 'Macbeth \[title field of inbook-1\]'
  type: chapter
  volume: 3
  volume-title: 'Tragedies \[title field of book-1\]'
- author:
  - family: Shakespeare
  container-author:
  - family: Shakespeare
  id: 'book-1'
  issued: 1975
  number-of-volumes: 4
  publisher: Publisher
  publisher-place: Location
  title: 'Collected works \[title field of mvbook-1\]'
  type: book
  volume: 3
  volume-title: 'Tragedies \[title field of book-1\]'
- author:
  - family: Shakespeare
  id: 'mvbook-1'
  issued: 1970/1980
  number-of-volumes: 4
  publisher: Publisher
  publisher-place: Location
  title: 'Collected works \[title field of mvbook-1\]'
  type: book
---


```