aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2014-08-13Included Tests.Writers.Docbook in test modules.John MacFarlane1-0/+1
2014-08-13Added make-pandoc-man-pages flagJohn MacFarlane1-0/+8
Previously we built this by default, but most users won't need to build it, since we include built man pages with the package.
2014-08-13Added Makefile to rebuild man pages.John MacFarlane1-2/+1
This should only be needed by developers.
2014-08-13Revised tests directory.John MacFarlane1-141/+117
Renamed some tests, introducing subsidiary directories for fb2, docx, epub. Cleaned up tests in cabal file. Combined dokuwiki-writer and dokuwiki_inline_formatting tests.
2014-08-13Removed special testHook from Setup.John MacFarlane1-0/+1
This was just too fragile and dependent on a changing Cabal API (see #1526). Instead of passing the bulid directory to the test program, we now let the test program find itself (using executable-path) and then find the pandoc executable relative to itself.
2014-08-12Merge pull request #1527 from mpickering/juicypixelsJohn MacFarlane1-1/+2
Attempts to convert gif, tiff and bmp to png in pdf writer
2014-08-13PDF Writer: Attempts to convert images to pdf renderable formatsMatthew Pickering1-1/+2
Now depends on the JuicyPixels library. Will attempt to convert an image (gif, tiff, bmp) to png when converting to pdf.
2014-08-13EPUB Tests: Added wasteland testMatthew Pickering1-2/+1
This epub contains many epub:type elements including footnotes and titlepage.
2014-08-11Docx: Add dropcap tests.Jesse Rosenthal1-0/+1
2014-08-11Require zip-archive 0.2.3.4, with normalized path comparison.John MacFarlane1-2/+2
2014-08-10Improved EPUB TestsMatthew Pickering1-0/+1
Rewrote features test to remove all unimplemented features. There are now all three examples of where an image can be included in the test. 1. Cover image 2. As a spine elemnt 3. In the document Tests have also been added to make sure that the mediabag contains all these images after processing.
2014-08-10Removed OMath module, depend on texmath >= 0.8.John MacFarlane1-2/+1
2014-08-09Added Text.Pandoc.Readers.Docx.FontsMatthew Pickering1-0/+1
2014-08-07EPUB test renaming.John MacFarlane1-0/+2
Renamed epub test files so they're identified more clearly as epub: features.{epub,native} -> epub.features.{epub,native}, and similarly with formatting.{epub,native}. Added epub test files to cabal file, so they'll be included in the tarball.
2014-08-07Merge pull request #1494 from jkr/math-moduleJohn MacFarlane1-0/+1
Math module
2014-08-07Docx reader: Test inline image code.Jesse Rosenthal1-0/+1
2014-08-07Docx reader: Split math out into math module.Jesse Rosenthal1-0/+1
Could use some cleanup, but this is the first step for getting an OMML reader into TeXMath.
2014-08-06Remove now-unnecessary TexCharJesse Rosenthal1-1/+0
TeXMath does the work now.
2014-08-04Merge branch 'epubend' of https://github.com/mpickering/pandoc into ↵John MacFarlane1-5/+7
mpickering-epubend Conflicts: pandoc.cabal
2014-08-03Add plain writer testing module to .cabal file.Artyom Kazak1-0/+1
2014-08-02Bump aeson upper bound.John MacFarlane1-2/+2
2014-07-31EPUB Reader: Integrated into programMatthew Pickering1-2/+4
2014-07-31Docx tests: rewrite mediabag tests.Jesse Rosenthal1-2/+2
This will allow us to test the whole mediabag (making sure, for example, that images are added with the correct keys) instead of just individual extracted images. We compare each entry in the media bag to an image extracted on the fly from the docx. As a result, we only need one file to test with. The image in the current tests was also replaced with a smaller one.
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.