aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-02-19 21:11:07 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-02-19 21:11:07 -0800
commit24e3a65167236465aeb2e384bc4aa394be8b47cd (patch)
tree28d7b4e672ed04530715e3d9e16503450dce7706 /src
parent1ab21530b4500885a8e4ed27e4f32faa6b243583 (diff)
downloadpandoc-24e3a65167236465aeb2e384bc4aa394be8b47cd.tar.gz
LaTeX math environment fixes. Closes #423.
`aligned` is now used instead of the nonexistent `aligned*`. `multline` instead of the nonexistent `multiline`.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs16
1 files changed, 8 insertions, 8 deletions
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