pandoc/test/command/biblatex-crossref-inbook-mvbook.md
John MacFarlane 641849b70a Be less aggressive about using quotes for YAML values.
We need quotes if `[` or `{` or `'` is at the beginning of
the line, but not otherwise.
2020-10-08 10:54:53 -07:00

58 lines
1.1 KiB
Markdown

```
% pandoc -f biblatex -t markdown -s
@comment{
crossref, directly from inbook to mvbook
}
@inbook{inbook-1,
Crossref = {mvbook-1},
Title = {Macbeth [title field of inbook-1]},
Date = {1975},
Volume = {3},
Chapter = {7},
Pages = {100-200},
}
@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: 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
- 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
---
```