aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2017-01-26Split writeDocbook into writeDocbook4, writeDocbook5.John MacFarlane1-3/+3
Removed writerDocbookVersion in WriterOptions. Renamed default.docbook template to default.docbook4. Allow docbook4 as an output format. But alias docbook = docbook4.
2017-01-26EPUB writer: split writeEPUB into writeEPUB2, writeEPUB3.John MacFarlane1-1/+1
Also include explicit epub2 output format in CLI tool.
2017-01-25Provide explicit separate functions for HTML 4 and 5.John MacFarlane1-3/+5
* Text.Pandoc.Writers.HTML: removed writeHtml, writeHtmlString, added writeHtml4, writeHtml4String, writeHtml5, writeHtml5String. * Removed writerHtml5 from WriterOptions. * Renamed default.html template to default.html4. * "html" now aliases to "html5"; to get the old HTML4 behavior, you must now specify "-t html4".
2017-01-25Revert "Added page breaks into Pandoc."John MacFarlane1-3/+3
This reverts commit f02a12aff638fa2339192231b8f601bffdfe3e14.
2017-01-25Compile against pandoc-types 1.18.*.John MacFarlane1-3/+3
2017-01-25Removed tests for Walk; these now live in pandoc-types.John MacFarlane1-1/+0
2017-01-25Make Extensions a custom type instead of a Set Extension.John MacFarlane1-1/+0
The type is implemented in terms of an underlying bitset which should be more efficient. API change: from Text.Pandoc.Extensions export Extensions, emptyExtensions, extensionsFromList, enableExtension, disableExtension, extensionEnabled.
2017-01-25Split extensions code from Options into separate Text.Pandoc.Extensions.John MacFarlane1-0/+2
API change. However, Extensions exports Options, so this shouldn't have much impact.
2017-01-25Expose Text.Pandoc.MIME, unexpose Text.Pandoc.CSSJohn MacFarlane1-2/+2
2017-01-25Fixed up weigh-pandoc and benchmark-pandoc so they build.John MacFarlane1-1/+2
2017-01-25Version to 2.0.John MacFarlane1-1/+1
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.