diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-06-07 08:58:21 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-06-07 08:58:21 -0700 |
| commit | d04838b678c037fbf966504d8f29200e09b21aa5 (patch) | |
| tree | d97fc0aea1009ac0bb7dd62509d50456e0449de8 /src/Text | |
| parent | c9825761338f56209f69782da0087f9e27fa577b (diff) | |
Fix localization of "Abstract" title in docx writer.
See #8702, which was only partially implemented before.
Diffstat (limited to 'src/Text')
| -rw-r--r-- | src/Text/Pandoc/Writers/Docx.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs index d33f2aca6..e39dcb648 100644 --- a/src/Text/Pandoc/Writers/Docx.hs +++ b/src/Text/Pandoc/Writers/Docx.hs @@ -124,6 +124,7 @@ writeDocx :: (PandocMonad m) -> m BL.ByteString writeDocx opts doc = do let Pandoc meta blocks = walk fixDisplayMath doc + setupTranslations meta let blocks' = makeSections True Nothing blocks let doc' = Pandoc meta blocks' |
