diff --git a/cabal.project b/cabal.project
index e06c375b9..26373c616 100644
--- a/cabal.project
+++ b/cabal.project
@@ -2,12 +2,3 @@ packages: pandoc.cabal
 tests: True
 flags: +embed_data_files
 
-source-repository-package
-  type: git
-  location: https://github.com/jgm/citeproc
-  tag: f33b370bd1ab5ad5140720369c0586041e433a47
-
-source-repository-package
-  type: git
-  location: https://github.com/jgm/texmath
-  tag: 0c34bb7d229389adc62bcbfe20cfbfdc0c8ccc8d
diff --git a/stack.yaml b/stack.yaml
index 48821dfe8..625543bf2 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -17,9 +17,7 @@ extra-deps:
 - xml-conduit-1.9.1.1
 - unicode-collation-0.1.3
 - texmath-0.12.3
-# - citeproc-0.3.0.9
-- git: https://github.com/jgm/citeproc
-  commit: f33b370bd1ab5ad5140720369c0586041e433a47
+- citeproc-0.4
 ghc-options:
    "$locals": -fhide-source-paths -Wno-missing-home-modules
 resolver: lts-17.5