aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2017-02-05Split pandoc.hs into a module, Text.Pandoc.App, and a small program.John MacFarlane1-5/+6
The App module provides a function that does a pandoc conversion, based on option settings. The program (pandoc.hs) now does nothing more than parse options and pass them to this function, which can easily be used by other applications (e.g. a GUI wrapper). The Opt structure has been further simplified. API changes: * New exposed module Text.Pandoc.App * Text.Pandoc.Highlighting has been exposed. * highlightingStyles has been moved to Text.Pandoc.Highlighting.
2017-02-04Added first command test to cabal metadata and repo.John MacFarlane1-0/+1
2017-02-04Added skeleton for Tests.Command.John MacFarlane1-0/+1
2017-02-04Moved tests/ -> test/.John MacFarlane1-106/+106
2017-01-31Version bounds: require skylighting 0.1.1.4, bump bounds for blaze-*.John MacFarlane1-5/+5
2017-01-29Merge branch 'typeclass'John MacFarlane1-17/+24
2017-01-29Updated copyright to include 2017.John MacFarlane1-1/+1
2017-01-29Bump version to 1.19.2.John MacFarlane1-1/+1
2017-01-29Use latest skylighting.John MacFarlane1-3/+3
2017-01-29Fixed trypandoc.John MacFarlane1-1/+1
2017-01-28Rely on skylighting 0.1.1.2.John MacFarlane1-3/+3
2017-01-27Fix up benchmarks so they compile.John MacFarlane1-0/+1
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