pandoc/test/command/biblatex-knuth-ct-related.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

72 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

```
% pandoc -f biblatex -t markdown -s
@comment{
Adapted from biblatex-example.bib
Formatted with pandoc and chicago-author-date.csl, 2013-10-23:
(Knuth 19841986)
Knuth, Donald E. 19841986. *Computers & Typesetting*. 5. Reading,
Mass.: Addison-Wesley.
Formatted with pandoc and apa.csl, 2013-10-23:
(Knuth, 19841986)
Knuth, D. E. (19841986). *Computers & typesetting* (1-5). Reading,
Mass.: Addison-Wesley.
NOTES:
- biblio2yaml
- related = {...}, relatedtype = {multivolume}, -- no counterpart in CSL
- citeproc
- term "vols." missing
}
@Book{knuth:ct:related,
author = {Knuth, Donald E.},
title = {Computers \& Typesetting},
date = {1984/1986},
volumes = 5,
publisher = {Addison-Wesley},
location = {Reading, Mass.},
hyphenation = {american},
sortyear = {1984-0},
sorttitle = {Computers & Typesetting},
indexsorttitle= {Computers & Typesetting},
related = {knuth:ct:a,knuth:ct:b,knuth:ct:c,knuth:ct:d,knuth:ct:e},
relatedtype = {multivolume},
annotation = {A five-volume book cited as a whole and related to its
individual volumes. Note the related and
relatedtype fields},
}
^D
---
nocite: "[@*]"
references:
- annote: A five-volume book cited as a whole and related to its
individual volumes. Note the related and relatedtype fields
author:
- family: Knuth
given: Donald E.
id: "knuth:ct:related"
issued: 1984/1986
language: en-US
number-of-volumes: 5
publisher: Addison-Wesley
publisher-place: Reading, Mass.
title: Computers & typesetting
type: book
---
```