Files
pandoc/test/command/citeproc-7a.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

538 B

% pandoc --citeproc -t markdown-citations
---
csl: command/chicago-fullnote-bibliography.csl
references:
  - id: test
    title: Test
    author:
      family: Doe
      given: John
---

Test [@test, 12].

Test [@test, 12].

Test.^[asdfasdf]

Test [@test, 12].
^D
Test.[^1]

Test.[^2]

Test.[^3]

Test.[^4]

::: {#refs .references .csl-bib-body .hanging-indent entry-spacing="0"}
::: {#ref-test .csl-entry}
Doe, John. "Test," n.d.
:::
:::

[^1]: John Doe, "Test," n.d., 12.

[^2]: Doe, 12.

[^3]: asdfasdf

[^4]: Doe, "Test," 12.