diff options
| author | John MacFarlane <[email protected]> | 2025-03-04 23:25:08 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-03-04 23:25:48 -0800 |
| commit | b58381a0d498a3c6a1e45f69807366e8674448d7 (patch) | |
| tree | 9437be22077848149f24b17d371a10be86defa04 /src | |
| parent | 0d9fbc9410da119c253ace94cfbb41ef3f9a12f2 (diff) | |
Typst writer: ensure that `citation-style` works as well as `csl`.
Closes #10661.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Writers/Typst.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Typst.hs b/src/Text/Pandoc/Writers/Typst.hs index fdfad0f20..a3615e7a0 100644 --- a/src/Text/Pandoc/Writers/Typst.hs +++ b/src/Text/Pandoc/Writers/Typst.hs @@ -85,6 +85,7 @@ pandocToTypst options (Pandoc meta blocks) = do Right l -> resetField "lang" (langLanguage l) . maybe id (resetField "region") (langRegion l)) + $ defField "csl" (lookupMetaString "citation-style" meta) -- #10661 $ defField "smart" (isEnabled Ext_smart options) $ defField "toc-depth" (tshow $ writerTOCDepth options) $ defField "figure-caption-position" |
