@@ -742,7 +742,7 @@ inlineToLaTeX (Quoted qt lst) = do
742 else char '\x2018' <> inner <> char '\x2019'
742 else char '\x2018' <> inner <> char '\x2019'
743inlineToLaTeX (Str str) = liftM text $ stringToLaTeX TextString str
743inlineToLaTeX (Str str) = liftM text $ stringToLaTeX TextString str
744inlineToLaTeX (Math InlineMath str) =
744inlineToLaTeX (Math InlineMath str) =
745− return $ char '$' <> text str <> char '$'
745+ return $ "\\(" <> text str <> "\\)"
746inlineToLaTeX (Math DisplayMath str) =
746inlineToLaTeX (Math DisplayMath str) =
747 return $ "\\[" <> text str <> "\\]"
747 return $ "\\[" <> text str <> "\\]"
748inlineToLaTeX (RawInline f str)
748inlineToLaTeX (RawInline f str)