Repository navigation
Commit 2182ec6
committed
typst: port Pandoc 3.13 csl-settings template block for citeproc bibliographies
Pandoc 3.12.1 feeds CSL hanging-indent and entry-spacing to the typst
template as csl-hanging-indent/csl-entry-spacing and applies them via a
show rule on the <refs> label the writer puts on citeproc bibliographies
(jgm/pandoc#11926). Quarto's modular typst template lacked the rule, so
CSL-mandated hanging indents were silently dropped. Port the block into
quarto/definitions.typ (must precede $body$ for the show rule to apply).1 parent 5831cb0 commit 2182ec6
3 files changed
Lines changed: 14 additions & 1 deletion
File tree
- llm-docs
- src/resources/formats/typst/pandoc/quarto
- tests/docs/smoke-all/typst
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
22 | 34 | | |
23 | 35 | | |
24 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments