aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2017-01-25Refactored math conversion in writers.John MacFarlane1-1/+1
* 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.
2017-01-25Make Txt2Tags test pass.Jesse Rosenthal1-1/+2
We don't have a good way to set things that aren't in the common state. That will be the next order of business.
2017-01-25Have to do some work to get the mediabag out.Jesse Rosenthal1-1/+2
2017-01-25Remove Text.Pandoc.FreeJesse Rosenthal1-1/+0
2017-01-25Introduce PandocMonad typeclass.Jesse Rosenthal1-2/+3
This can be instantiated by both an IO monad or a pure State monad.
2017-01-25Implement runTest functions.Jesse Rosenthal1-1/+1
These work with a State monad and a Reader monad to produce deterministic results. It can probably be simplified somewhat.
2017-01-25New Free module, with pure versions of IO funcsJesse Rosenthal1-1/+2
Introduce a new module, Text.Pandoc.Free, with pure versions, based on the free monad, of numerous IO functions used in writers and readers. These functions are in a pure Monad (PandocAction). PandocAction takes as a parameter the type of IORefs in it. It can be aliased in individual writers and readers to avoid this parameter. Note that this means that at the moment a reader can only use one type of IORef. If possible, it would be nice to remove this limitation.
2017-01-19Use skylighting 0.1.1.John MacFarlane1-3/+3
Closes #3363.
2017-01-10Allow vector 0.12.0.0.John MacFarlane1-1/+1
2017-01-02Allow aeson 1.1.John MacFarlane1-2/+2
2016-12-23Updates to use skylighting rather than highlighting-kate.John MacFarlane1-4/+4
So far this just reproduces capacity. Later we'll be able to add features like warning messages, dynamic loading of xml syntax definitions, and dynamic loading of themes.
2016-12-23Allow directory 1.3. Closes #3325.John MacFarlane1-3/+3
2016-12-10Version to 1.19.1John MacFarlane1-1/+1
2016-12-09We no longer need the MathMLInHTML.js shim from 2004!John MacFarlane1-1/+0
2016-11-30Use new module from texmath to lookup MS font codepoints.John MacFarlane1-2/+1
+ Removed Text.Pandoc.Readers.Docx.Fonts + Moved its code to texmath; we now use (from texmath 0.9) Text.TeXMath.Unicode.Fonts + Use texmath 0.9 (currently from git). + Updated epub tests because texmath now handles more mathml.
2016-11-27Version to 1.19.John MacFarlane1-1/+1
2016-11-18Added weigh-pandoc for memory usage diagnostics.John MacFarlane1-0/+20
See #3169.
2016-10-26Version to 1.18.John MacFarlane1-1/+1
2016-10-25Added INSTALL.md, incorporating INSTALL + installing page from website.John MacFarlane1-1/+1
2016-10-23Allow binary formats to be written to stdout unless tty output.John MacFarlane1-0/+3
Only works on posix. On Windows, pandoc works as before and requires an output file parameter for binary formats. Closes #2677.
2016-10-19Merge pull request #3158 from ickc/COPY-LICENSEJohn MacFarlane1-1/+1
Use the markdown version of COPYING from GNU
2016-10-19Download markdown version of the license from GNU and rename to `COPYING.md`Kolen Cheung1-1/+1
From https://www.gnu.org/licenses/old-licenses/gpl-2.0.md
2016-10-18Allow latest HUnit.John MacFarlane1-1/+1
2016-10-14Remove Tests.ArbitraryJesse Rosenthal1-1/+0
Use exported Arbitrary instances from pandoc-types instead.
2016-10-13Allow http-client 0.4.30, which is the version in stackage lts.John MacFarlane1-2/+2
Previously we required 0.5. Remove CPP conditionals for earlier versions.
2016-10-13Bump required pandoc-types version to 1.17Albert Krewinkel1-5/+5
2016-10-02Revert overhasty bounds change for pandoc-types.John MacFarlane1-3/+3
2016-10-02Use doctemplates 0.1.0.2.John MacFarlane1-3/+3
2016-10-02Moved template compiling/rendering code to a separate library.John MacFarlane1-0/+1
jgm/doctemplates. This allows the pandoc templating system to be used independently.
2016-09-23Bump to 1.17.3John MacFarlane1-1/+1
2016-09-02Remove TagSoup compatJesse Rosenthal1-1/+0
We already lower-bound tagsoup at 0.13.7, which means we were always running the compatibility layer (it was conditional on min value 0.13). Better to just use `lookupEntity` from the library directly, and convert a string to a char if need be.
2016-09-02Remove GHC 7.6 from list of tested versionsAlbert Krewinkel1-1/+1
GHC versions below 7.8 are no longer supported nor tested.
2016-09-02Bump base lower bound to 4.7Jesse Rosenthal1-1/+1
We are dropping support for ghc < 7.8.
2016-09-02Bump base lower bound to 4.6 (ghc 7.6)Jesse Rosenthal1-1/+1
2016-09-02Change constraint on mtl.Jesse Rosenthal1-1/+1
2016-09-02Remove directory compatJesse Rosenthal1-2/+1
directory 1.1 depends on base 4.5 (ghc 7.4) which we are no longer supporting. So we don't have to use a compatibility layer for it.
2016-09-02Remove Text.Pandoc.Compat.ExceptJesse Rosenthal1-1/+0
2016-09-02Remove Compat.MonoidJesse Rosenthal1-1/+0
This was only necessary for GHC versions with base below 4.5 (i.e., ghc < 7.4).
2016-08-29Org reader: extract meta parsing code to moduleAlbert Krewinkel1-0/+1
Parsing of meta-data is well separable from other block parsing tasks. Moving into new module to get small files and clearly arranged code.
2016-08-20Allow aeson 1.0.*.John MacFarlane1-2/+2
2016-07-24Use texmath 0.8.6.5. Closes #3040.John MacFarlane1-1/+1
2016-07-20Rename README to MANUAL.txtAlbert Krewinkel1-2/+2
2016-07-15Don't require haddock-library 1.4.John MacFarlane1-1/+1
Instead use CPP to work around version differences.
2016-07-14Require haddock-library >= 1.4.John MacFarlane1-1/+1
This has math support, DocMathInline and DocMathDisplay.
2016-07-14Version to 1.17.2.John MacFarlane1-1/+1
2016-07-11Allow QuickCheck 2.9.John MacFarlane1-1/+1
2016-07-04Depend on http-client 0.5, http-client-tls 0.3John MacFarlane1-2/+2
2016-07-02Org reader: put export setting parser into moduleAlbert Krewinkel1-0/+1
Export option parsing is distinct enough from general block parsing to justify putting it into a separate module.
2016-07-01Added ZimWiki format to documentation and cabal description.Alex Ivkin1-5/+8
2016-06-30Added Zim Wiki writer, template and tests.Alex Ivkin1-0/+1