diff --git a/pandoc-lua-engine.cabal b/pandoc-lua-engine.cabal
--- a/pandoc-lua-engine.cabal
+++ b/pandoc-lua-engine.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.4
 name:                pandoc-lua-engine
-version:             0.5.3.1
+version:             0.5.4
 build-type:          Simple
 license:             GPL-2.0-or-later
 license-file:        COPYING.md
@@ -125,7 +125,7 @@
                      , hslua-module-zip      >= 1.1.5   && < 1.3
                      , lpeg                  >= 1.1     && < 1.2
                      , mtl                   >= 2.2     && < 2.4
-                     , pandoc                >= 3.10    && < 3.11
+                     , pandoc                >= 3.11    && < 3.12
                      , pandoc-lua-marshal    >= 0.3     && < 0.4
                      , pandoc-types          >= 1.22    && < 1.24
                      , parsec                >= 3.1     && < 3.2
diff --git a/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs b/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs
--- a/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs
+++ b/src/Text/Pandoc/Lua/Marshal/WriterOptions.hs
@@ -122,8 +122,8 @@
 
   , property "html_math_method"
     "How to print math in HTML"
-    (pushViaJSON, writerHTMLMathMethod)
-    (peekViaJSON, \opts x -> opts{ writerHTMLMathMethod = x })
+    (pushViaJSON, writerMathMethod)
+    (peekViaJSON, \opts x -> opts{ writerMathMethod = x })
 
   , property "link_images"
     "Include links to images instead of embedding in ODT"
