@@ -117,11 +117,15 @@ pandocToMs opts (Pandoc meta blocks) = do
117117 body <- blockListToMs opts blocks
118118 let main = render' body
119119 hasInlineMath <- gets stHasInlineMath
120+ let titleMeta = (escapeString . stringify) $ docTitle meta
121+ let authorsMeta = map (escapeString . stringify) $ docAuthors meta
120122 let context = defField "body" main
121123 $ defField "has-inline-math" hasInlineMath
122124 $ defField "hyphenate" True
123125 $ defField "pandoc-version" pandocVersion
124126 $ defField "toc" (writerTableOfContents opts)
127+ $ defField "title-meta" titleMeta
128+ $ defField "author-meta" (intercalate "; " authorsMeta)
125129 $ metadata
126130 case writerTemplate opts of
127131 Nothing -> return main