From 7767011767eeccf1fb089a3c436f43a243d7da2e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 25 Jul 2025 10:25:14 -0700 Subject: Implement `reset-citation-positions` class on headings. When the `reset-citation-positions` class is added to a top-level heading, `--citeproc` will reset position information at that point in the document. This is needed in order to ensure that the first citation in a chapter to a work that has been cited in a previous chapter will not be in abbreviated form. Requires a dependency on a development version of citeproc. --- stack.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stack.yaml') diff --git a/stack.yaml b/stack.yaml index f54de02ea..7b59fc4db 100644 --- a/stack.yaml +++ b/stack.yaml @@ -21,6 +21,8 @@ extra-deps: commit: c2b4852e0002a7995793ec0e3c44b723a85a2ca2 - git: https://github.com/jgm/typst-hs.git commit: 9b10ff32492304867b6cc410db6e843c2c9b913b +- git: https://github.com/jgm/citeproc.git + commit: 777a916be683a40e9b5e17da25816917b6fb1208 ghc-options: "$locals": -fhide-source-paths -Wno-missing-home-modules resolver: lts-24.20 -- cgit v1.2.3