diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-02-19 21:11:07 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-02-19 21:11:07 -0800 |
commit | 24e3a65167236465aeb2e384bc4aa394be8b47cd (patch) | |
tree | 28d7b4e672ed04530715e3d9e16503450dce7706 /src/Text/Pandoc/Readers | |
parent | 1ab21530b4500885a8e4ed27e4f32faa6b243583 (diff) | |
download | pandoc-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/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 16 |
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 |