git.iko.soy/typeable/pandoc
on master help sign in
LaTeX math environment fixes. Closes #423.

`aligned` is now used instead of the nonexistent `aligned*`. `multline` instead of the nonexistent `multiline`.

commit24e3a65167236465aeb2e384bc4aa394be8b47cd authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 19 Feb 2012, 21:11 (15 years ago) parent1ab2153
1 file changed+8−8
src/Text/Pandoc/Readers/LaTeX.hs+8−8
src/Text/Pandoc/Readers/LaTeX.hs+8−8
@@ -684,14 +684,14 @@ environments = M.fromList
684684 , ("equation*", mathEnv Nothing "equation*")
685685 , ("gather", mathEnv (Just "gathered") "gather")
686686 , ("gather*", mathEnv (Just "gathered") "gather*")
687− , ("multiline", mathEnv (Just "gathered") "multiline")
688− , ("multiline*", mathEnv (Just "gathered") "multiline*")
689− , ("eqnarray", mathEnv (Just "aligned*") "eqnarray")
690− , ("eqnarray*", mathEnv (Just "aligned*") "eqnarray*")
691− , ("align", mathEnv (Just "aligned*") "align")
692− , ("align*", mathEnv (Just "aligned*") "align*")
693− , ("alignat", mathEnv (Just "aligned*") "alignat")
694− , ("alignat*", mathEnv (Just "aligned*") "alignat*")
687+ , ("multline", mathEnv (Just "gathered") "multline")
688+ , ("multline*", mathEnv (Just "gathered") "multline*")
689+ , ("eqnarray", mathEnv (Just "aligned") "eqnarray")
690+ , ("eqnarray*", mathEnv (Just "aligned") "eqnarray*")
691+ , ("align", mathEnv (Just "aligned") "align")
692+ , ("align*", mathEnv (Just "aligned") "align*")
693+ , ("alignat", mathEnv (Just "aligned") "alignat")
694+ , ("alignat*", mathEnv (Just "aligned") "alignat*")
695695 ]
696696
697697letter_contents :: LP Blocks