From 26a90162f0772b4545fe51ea190cf04c8435f1aa Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 30 Jun 2023 13:30:05 -0700 Subject: [PATCH] Fix typst reader for new typst-hs version. --- src/Text/Pandoc/Readers/Typst.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text/Pandoc/Readers/Typst.hs b/src/Text/Pandoc/Readers/Typst.hs index 31b689dd2..bec7e8a1f 100644 --- a/src/Text/Pandoc/Readers/Typst.hs +++ b/src/Text/Pandoc/Readers/Typst.hs @@ -59,7 +59,7 @@ readTypst _opts inp = do case parseTypst inputName (sourcesToText sources) of Left e -> throwError $ PandocParseError $ T.pack $ show e Right parsed -> - evaluateTypst readFileStrict inputName parsed >>= + evaluateTypst readFileStrict getCurrentTime inputName parsed >>= either (throwError . PandocParseError . T.pack . show) pure >>= runParserT pPandoc () inputName . F.toList >>= either (throwError . PandocParseError . T.pack . show) pure