Files
pandoc/test/command/6723.md
T
John MacFarlane db9aa72037 Fix default citeproc entry-spacing.
According to the CSL manual, the default entry spacing is 1.
We were treating it as 0.

T.P.Citeproc:  always include an entry-spacing attribute
in the Div if the bibliography element contains an entry-spacing
attribute (previously we omitted it when it was 0).

LaTeX writer: use entry spacing 1 if no entry-spacing
attribute is present.

Update tests.

See #9058.
2023-09-07 09:06:23 -07:00

33 lines
588 B
Markdown

```
% pandoc --citeproc -t markdown-citations
---
csl: command/chicago-fullnote-bibliography.csl
references:
- id: doe
type: article
author:
- family: Doe
given: John
DOI: 10.1109/5.771073
issued:
- year: 2020
title: An article
...
Blah [@doe].
# References {-}
^D
Blah.[^1]
# References {#references .unnumbered}
::: {#refs .references .csl-bib-body .hanging-indent entry-spacing="0"}
::: {#ref-doe .csl-entry}
Doe, John. "An Article," 2020. <https://doi.org/10.1109/5.771073>.
:::
:::
[^1]: John Doe, "An Article," 2020, <https://doi.org/10.1109/5.771073>.
```