diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-06-30 13:30:05 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-06-30 13:30:05 -0700 |
| commit | 26a90162f0772b4545fe51ea190cf04c8435f1aa (patch) | |
| tree | 11b7a7989efe077c3dba8f489ba85c0d5b24fa06 /src/Text | |
| parent | 43550ebace0d9b5a4b34d2cb483472ea18bae926 (diff) | |
Fix typst reader for new typst-hs version.
Diffstat (limited to 'src/Text')
| -rw-r--r-- | src/Text/Pandoc/Readers/Typst.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
