Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-08-04 | Remove dangling `where` from one function. | Artyom Kazak | 1 | -1/+0 | |
2014-08-04 | Use `stripPrefix` where appropriate. | Artyom Kazak | 9 | -54/+57 | |
2014-08-04 | Clean up `mediaTypeOf` a bit. | Artyom Kazak | 1 | -6/+6 | |
2014-08-04 | Use `mapM_` instead of `() <$ mapM` in one place. | Artyom Kazak | 1 | -1/+1 | |
2014-08-04 | Merge branch 'epubend' of https://github.com/mpickering/pandoc into ↵ | John MacFarlane | 13 | -44/+1462 | |
mpickering-epubend Conflicts: pandoc.cabal | |||||
2014-08-03 | Merge pull request #1461 from cben/readme-linkable-extensions | John MacFarlane | 1 | -67/+71 | |
README: linkable extensions | |||||
2014-08-03 | Merge pull request #1479 from Aelve/capitalise | John MacFarlane | 6 | -15/+43 | |
Correctly implement capitalisation. | |||||
2014-08-03 | Add plain writer testing module to .cabal file. | Artyom Kazak | 1 | -0/+1 | |
2014-08-03 | Correctly implement capitalisation. | Artyom Kazak | 5 | -15/+42 | |
Using `map toUpper` to capitalise text is wrong, as e.g. “Straße” should be converted to “STRASSE”, which is 1 character longer. This commit adds a `capitalize` function and replaces 2 identical implementations in different modules (`toCaps` and `capitalize`) with it. | |||||
2014-08-02 | SelfContained: Fixed determining of source URL from within CSS files. | John MacFarlane | 1 | -2/+9 | |
(This fixes a bug introduced a couple commits back.) | |||||
2014-08-02 | fetchItem: improved mime type guessing. | John MacFarlane | 1 | -4/+5 | |
Strip a fragment like `?#iefix` from the extension before doing the mime lookup. | |||||
2014-08-02 | Shared: fetchItem improvements. | John MacFarlane | 1 | -11/+12 | |
* More consistent logic: absolute URIs are fetched from the net; other things are treated as relative URIs if sourceURL is a Just, otherwise as file paths. * We escape characters that are not allowed in URIs before trying to parse them (e.g. '|', which often occurs in the wild). * When treating relative paths as local file paths, we drop any fragment or query. This is useful e.g. when you've downloaded web fonts locally, but your source still contains the original relative URLs. Together with the previous commit, this should close #1477. | |||||
2014-08-02 | Text.Pandoc.SelfContained changes. | John MacFarlane | 3 | -62/+30 | |
* mkSelfContained now takes just two arguments, WriterOptions and the string. * It no longer looks in data files. This only made sense when we had copies of slidy and S5 code there. * Shared.fetchItem' is used instead of the nearly duplicate getItem. | |||||
2014-08-02 | Bump aeson upper bound. | John MacFarlane | 1 | -2/+2 | |
2014-08-01 | benchmark: use only test suite for benchmark. | John MacFarlane | 1 | -3/+2 | |
This way the benchmarks don't take so long to run. | |||||
2014-08-01 | Use nfIO in benchmark instead of getLength trick. | John MacFarlane | 1 | -3/+1 | |
2014-08-01 | Merge pull request #1475 from Aelve/fix-benchmark | John MacFarlane | 1 | -15/+20 | |
Make benchmarks compile again. | |||||
2014-08-01 | Docx Parser: Produce endnotes. | Jesse Rosenthal | 1 | -2/+2 | |
The parser had been changing footnotes and endnotes into footnotes. This isn't a problem, because pandoc collapses them, but the parser should maintain as much of the docx structure as is collapsed, and let the toplevel reader worry about how to translate it into Pandoc. (This would be an issue when, as is planned, the docx parser spins off into its own module.) The output is the same, so no test change is required. | |||||
2014-08-01 | Make benchmarks compile again. | Artyom Kazak | 1 | -15/+20 | |
Additionally, fix the problem which caused one failing benchmark to stop other benchmarks from running. | |||||
2014-07-31 | Merge branch 'underline-option' of https://github.com/jkr/pandoc | John MacFarlane | 2 | -2/+3 | |
2014-07-31 | pandoc.hs: More code reorganization. | John MacFarlane | 1 | -72/+80 | |
2014-07-31 | Update docx test to interpret single underline as emph. | Jesse Rosenthal | 1 | -1/+1 | |
2014-07-31 | Docx Reader: Single underlines are "emph" | Jesse Rosenthal | 1 | -1/+2 | |
All other underlines are ignored. | |||||
2014-07-31 | Merge pull request #1473 from jkr/mediabag-test-2 | John MacFarlane | 5 | -23/+44 | |
Docx tests: rewrite mediabag tests. | |||||
2014-07-31 | EPUB Reader: Now uses the new MediaBag for images | Matthew Pickering | 1 | -20/+45 | |
2014-07-31 | README: make all extension headers H4 | Beni Cherniavsky-Paskin | 1 | -35/+35 | |
2014-07-31 | README: Updated with EPUB information | Matthew Pickering | 1 | -5/+8 | |
2014-07-31 | EPUB Reader: Added tests | Matthew Pickering | 5 | -1/+942 | |
2014-07-31 | EPUB Reader: Integrated into program | Matthew Pickering | 3 | -2/+8 | |
2014-07-31 | HTML Reader: Added ability to read MathML formatted <math> blocks | Matthew Pickering | 1 | -0/+16 | |
2014-07-31 | HTML Reader: Added support for anchors on links and list items | Matthew Pickering | 1 | -4/+22 | |
2014-07-31 | HTML Reader: Extended HTML Reader to recognise EPUB specific elements | Matthew Pickering | 1 | -28/+178 | |
2014-07-31 | Options: Added option to turn on epub html extensions | Matthew Pickering | 1 | -0/+1 | |
2014-07-31 | Except Compat: Updated to export more module functions | Matthew Pickering | 1 | -1/+11 | |
2014-07-31 | EPUB Reader: Added EPUB reader | Matthew Pickering | 1 | -0/+248 | |
2014-07-31 | README: blank line after headers | Beni Cherniavsky-Paskin | 1 | -0/+13 | |
2014-07-31 | pandoc.hs: Rewrote some of the logic for clarity. | John MacFarlane | 1 | -25/+31 | |
2014-07-31 | Remove now unneeded JSON test file. | Jesse Rosenthal | 1 | -1/+0 | |
2014-07-31 | Docx tests: rewrite mediabag tests. | Jesse Rosenthal | 6 | -23/+45 | |
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-31 | New module, Text.Pandoc.MediaBag. | John MacFarlane | 10 | -86/+129 | |
Moved `MediaBag` definition and functions from Shared: `lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`. Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag` is a Monoid. | |||||
2014-07-31 | Made MediaBag a newtype, and added mime type information to media. | John MacFarlane | 7 | -50/+98 | |
Shared now exports functions for interacting with a MediaBag: - `emptyMediaBag` - `lookuMedia` - `insertMedia` - `mediaDirectory` - `extractMediaBag` | |||||
2014-07-31 | Merge branch 'master' of github.com:jgm/pandoc | John MacFarlane | 1 | -1/+8 | |
2014-07-31 | Merge pull request #1472 from mpickering/master | John MacFarlane | 1 | -1/+8 | |
Shared: Added function insertMedia which is an alias for M.insert | |||||
2014-07-31 | Added note in README about pipe tables not wrapping in LaTeX/PDF. | John MacFarlane | 1 | -1/+4 | |
See http://stackoverflow.com/questions/25037357/pandoc-long-tablerows-in-markdown-pdf-documents-do-not-get-linewrap/25050474#25050474 | |||||
2014-07-31 | Shared: Added function insertMedia which is an alias for M.insert | Matthew Pickering | 1 | -1/+8 | |
2014-07-30 | Merge pull request #1470 from jkr/metadata-test | John MacFarlane | 3 | -0/+27 | |
Media test | |||||
2014-07-30 | Docx test: Test image from media bag. | Jesse Rosenthal | 1 | -0/+7 | |
2014-07-30 | Docx tests: Add test image. | Jesse Rosenthal | 1 | -0/+0 | |
This is the cow image extracted from `docx.image.docx`. | |||||
2014-07-30 | Docx tests: Added media test comparison function. | Jesse Rosenthal | 2 | -0/+20 | |
Also tell pandoc.cabal that we'll be needing base64, since we want to compare strings here. | |||||
2014-07-30 | Removed deprecated and no longer used readerStrict in ReaderOptions. | John MacFarlane | 1 | -2/+0 | |
This is handled by readerExtensions now. |