From 24e3a65167236465aeb2e384bc4aa394be8b47cd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 19 Feb 2012 21:11:07 -0800 Subject: LaTeX math environment fixes. Closes #423. `aligned` is now used instead of the nonexistent `aligned*`. `multline` instead of the nonexistent `multiline`. --- src/Text/Pandoc/Readers/LaTeX.hs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 5e69347b6..279f90318 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -684,14 +684,14 @@ environments = M.fromList , ("equation*", mathEnv Nothing "equation*") , ("gather", mathEnv (Just "gathered") "gather") , ("gather*", mathEnv (Just "gathered") "gather*") - , ("multiline", mathEnv (Just "gathered") "multiline") - , ("multiline*", mathEnv (Just "gathered") "multiline*") - , ("eqnarray", mathEnv (Just "aligned*") "eqnarray") - , ("eqnarray*", mathEnv (Just "aligned*") "eqnarray*") - , ("align", mathEnv (Just "aligned*") "align") - , ("align*", mathEnv (Just "aligned*") "align*") - , ("alignat", mathEnv (Just "aligned*") "alignat") - , ("alignat*", mathEnv (Just "aligned*") "alignat*") + , ("multline", mathEnv (Just "gathered") "multline") + , ("multline*", mathEnv (Just "gathered") "multline*") + , ("eqnarray", mathEnv (Just "aligned") "eqnarray") + , ("eqnarray*", mathEnv (Just "aligned") "eqnarray*") + , ("align", mathEnv (Just "aligned") "align") + , ("align*", mathEnv (Just "aligned") "align*") + , ("alignat", mathEnv (Just "aligned") "alignat") + , ("alignat*", mathEnv (Just "aligned") "alignat*") ] letter_contents :: LP Blocks -- cgit v1.2.3