aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2014-07-31New module, Text.Pandoc.MediaBag.John MacFarlane1-0/+1
Moved `MediaBag` definition and functions from Shared: `lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`. Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag` is a Monoid.
2014-07-30Docx tests: Added media test comparison function.Jesse Rosenthal1-0/+1
Also tell pandoc.cabal that we'll be needing base64, since we want to compare strings here.
2014-07-29Add and update docx tests in pandoc.cabal.Jesse Rosenthal1-0/+12
2014-07-27Added compatability layer to support directory-1.1Matthew Pickering1-1/+3
2014-07-27Txt2Tags Reader: Updated README and package descriptionMatthew Pickering1-1/+1
2014-07-27Txt2Tags Reader: Added testsMatthew Pickering1-28/+3
2014-07-27Added txt2tags readerMatthew Pickering1-1/+2
http://txt2tags.org/ There are two points which currently do not match the official implementation. 1. In the official implementation lists can not be nested like the following but the reader would interpret this as a bullet list with the first item being a numbered list. ``` - + This is not a list ``` 2. The specification describes how URIs automatically becomes links. Unfortunately as is often the case, their definitiong of URI is not clear. I tried three solutions but was unsure about which to adopt. * Using isURI from Network.URI, this matches far too many strings and is therefore unsuitable * Using uri from Text.Pandoc.Shared, this doesn't match all strings that the reference implementation matches * Try to simulate the regex which is used in the native code I went with the third approach but it is not perfect, for example trailing punctuation is captured in Urls.
2014-07-19Require highlighting-kate >= 0.5.8.5.John MacFarlane1-3/+3
2014-07-15Merge pull request #1430 from jkr/anchor-fix-2John MacFarlane1-0/+2
Fix auto identified headers when already auto-id'ed
2014-07-15Require highlighting-kate 0.5.8.4.John MacFarlane1-3/+3
For correct highlighting of identifiers in prolog and other languages.
2014-07-15Docx reader: Add testJesse Rosenthal1-0/+2
Test auto ident header anchors with pandoc-generated pandoc.
2014-07-12Docx Reader: Add a compatibility layer for Except.Jesse Rosenthal1-0/+1
mtl switched from ErrorT to ExceptT, but we're not sure which mtl we'll be dealing with. This should make errors work with both. The main difference (beside the name of the module and the monad transformer) is that Except doesn't require an instance of an Error Typeclass. So we define that for compatability. When we switch to a later mtl, using Control.Monad.Exception, we can just erase the instance declaration, and all should work fine.
2014-07-07Minor line wrapping.John MacFarlane1-3/+3
2014-07-07Merge branch 'dokuwiki' of https://github.com/claremacrae/pandoc into ↵John MacFarlane1-1/+2
claremacrae-dokuwiki
2014-07-02Docx Reader: Add new file, TexChar.Jesse Rosenthal1-0/+1
This will allow us to deal with unicode characters from word equations. This part of the process will need to continue to be improved.
2014-06-29Merge remote-tracking branch 'jgm/master' into dokuwikiClare Macrae1-131/+104
2014-06-26Require haddock-library >= 1.1 and simplify haddock reader code.John MacFarlane1-1/+1
See #1346.
2014-06-23Add Reducible to cabal file.Jesse Rosenthal1-0/+1
2014-06-19Require highlighting-kate >= 0.5.8.3.John MacFarlane1-3/+3
This change to highlighting-kate means that PHP fragments no longer need to start with `<?php`. Closes #1271.
2014-06-18Added haddock writer tests.John MacFarlane1-0/+2
2014-06-18Added haddock template.John MacFarlane1-0/+1
2014-06-18Finished first draft of Haddock writer.John MacFarlane1-3/+4
2014-06-18Removed old haddock reader code. Add dependency on haddock-library.John MacFarlane1-5/+3
This also removes the dependency on alex and happy.
2014-06-16Naming: Use Docx instead of DocX.John MacFarlane1-4/+4
For consistency with the existing writer.
2014-06-16Bump version to 1.13John MacFarlane1-1/+1
2014-06-16Reference new DocX tests in cabal file.Jesse Rosenthal1-1/+20
2014-06-16Add files to cabal.Jesse Rosenthal1-0/+3
Note there is a build warning for unused `makeImagesSelfContained` function, since there isn't yet a command-line-option to make use of it.
2014-06-06Require aeson >= 0.7.0.5 to avoid build problems.John MacFarlane1-1/+1
2014-06-03Require texmath >= 0.6.6.3. Closes #1324.John MacFarlane1-1/+1
This fixes \tilde{E}, especially in docx.
2014-06-03Version bump to 1.12.5.John MacFarlane1-1/+1
2014-06-02Require latest texmath. Closes #1319.John MacFarlane1-1/+1
This allows `\left` to be used with `]`, `)`, etc.
2014-06-01Templates: Fail informatively on template syntax errors.John MacFarlane1-1/+0
With the move from parsec to attoparsec, we lost good error reporting. In fact, since we weren't testing for end of input, malformed templates would fail silently. Here we revert back to Parsec for better error messages.
2014-05-28PDF writer: Fixed treatment of data uris for images.John MacFarlane1-1/+2
Closes #1062.
2014-05-27Require latest highlighting-kate. Fixes #1317.John MacFarlane1-3/+3
2014-05-27Require latest zip-archive.John MacFarlane1-1/+1
This has fixes for unicode path names. Note that compiling pandoc against zip-archive 0.2.3 or 0.2.3.1 will lead to invalid zip containers, causing LibreOffice (e.g.) to regard ODTs as corrupt.
2014-05-18Removed dependency on conduit.John MacFarlane1-5/+6
* http-conduit flag is now https. * Instead of http-conduit, we depend on http-client and http-client-tls.
2014-05-16travis: Test with ghc 7.8.2 rather than 7.8.1.John MacFarlane1-1/+1
2014-05-16Allow scientific 0.3Michael Snoyman1-1/+1
2014-05-15Require highlighting-kate 0.5.8.1.John MacFarlane1-3/+3
0.5.8 has a serious bug that causes error failure with ocaml and fsharp.
2014-05-14Bump version to 1.12.4.2.John MacFarlane1-1/+1
2014-05-12Added default.icml to data-files so it installs with the package.John MacFarlane1-0/+1
2014-05-12Version bump to 1.12.4.1.John MacFarlane1-1/+1
2014-05-12Require highlighting-kate >= 0.5.8.John MacFarlane1-3/+3
This fixes a performance regression.
2014-05-09Update copyright notices for 2014, add missing noticesAlbert Krewinkel1-1/+1
2014-05-07Bumped version bound for mtl.John MacFarlane1-1/+1
2014-05-07Require latest texmath.John MacFarlane1-1/+1
2014-05-07Require latest highlighting-kate.John MacFarlane1-3/+3
2014-05-03AsciiDoc writer: Added test for empty table cells.John MacFarlane1-0/+1
2014-04-29Require pandoc-types 1.12.3.3.John MacFarlane1-3/+3
Fixes #1269.
2014-04-25Bump version to 1.12.4.John MacFarlane1-1/+1