diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-12-03 16:15:13 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-01-25 17:07:40 +0100 |
commit | 830be4d63204b918afd15615d965bfbc40886cbe (patch) | |
tree | d1e8931db2a6c0b2423fd588ef8904511b832124 /pandoc.cabal | |
parent | 221f878c0ec691dd09cf388d4d86ebecc8bf8355 (diff) |
Refactored math conversion in writers.
* Remove exported module `Text.Pandoc.Readers.TeXMath`
* Add exported module `Text.Pandoc.Writers.Math`
* The function `texMathToInlines` now lives in `Text.Pandoc.Writers.Math`
* Export helper function `convertMath` from `Text.Pandoc.Writers.Math`
* Use these functions in all writers that do math conversion.
This ensures that warnings will always be issued for failed
math conversions.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index dbd0a4d1c..691c83099 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -341,7 +341,6 @@ Library Text.Pandoc.Readers.Org, Text.Pandoc.Readers.DocBook, Text.Pandoc.Readers.OPML, - Text.Pandoc.Readers.TeXMath, Text.Pandoc.Readers.Textile, Text.Pandoc.Readers.Native, Text.Pandoc.Readers.Haddock, @@ -377,6 +376,7 @@ Library Text.Pandoc.Writers.EPUB, Text.Pandoc.Writers.FB2, Text.Pandoc.Writers.TEI, + Text.Pandoc.Writers.Math, Text.Pandoc.PDF, Text.Pandoc.UTF8, Text.Pandoc.Templates, |