Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-07-31 | Docx tests: rewrite mediabag tests. | Jesse Rosenthal | 1 | -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-31 | New module, Text.Pandoc.MediaBag. | John MacFarlane | 1 | -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-30 | Docx tests: Added media test comparison function. | Jesse Rosenthal | 1 | -0/+1 | |
Also tell pandoc.cabal that we'll be needing base64, since we want to compare strings here. | |||||
2014-07-29 | Add and update docx tests in pandoc.cabal. | Jesse Rosenthal | 1 | -0/+12 | |
2014-07-27 | Added compatability layer to support directory-1.1 | Matthew Pickering | 1 | -1/+3 | |
2014-07-27 | Txt2Tags Reader: Updated README and package description | Matthew Pickering | 1 | -1/+1 | |
2014-07-27 | Txt2Tags Reader: Added tests | Matthew Pickering | 1 | -28/+3 | |
2014-07-27 | Added txt2tags reader | Matthew Pickering | 1 | -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-19 | Require highlighting-kate >= 0.5.8.5. | John MacFarlane | 1 | -3/+3 | |
2014-07-15 | Merge pull request #1430 from jkr/anchor-fix-2 | John MacFarlane | 1 | -0/+2 | |
Fix auto identified headers when already auto-id'ed | |||||
2014-07-15 | Require highlighting-kate 0.5.8.4. | John MacFarlane | 1 | -3/+3 | |
For correct highlighting of identifiers in prolog and other languages. | |||||
2014-07-15 | Docx reader: Add test | Jesse Rosenthal | 1 | -0/+2 | |
Test auto ident header anchors with pandoc-generated pandoc. | |||||
2014-07-12 | Docx Reader: Add a compatibility layer for Except. | Jesse Rosenthal | 1 | -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-07 | Minor line wrapping. | John MacFarlane | 1 | -3/+3 | |
2014-07-07 | Merge branch 'dokuwiki' of https://github.com/claremacrae/pandoc into ↵ | John MacFarlane | 1 | -1/+2 | |
claremacrae-dokuwiki | |||||
2014-07-02 | Docx Reader: Add new file, TexChar. | Jesse Rosenthal | 1 | -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-29 | Merge remote-tracking branch 'jgm/master' into dokuwiki | Clare Macrae | 1 | -131/+104 | |
2014-06-26 | Require haddock-library >= 1.1 and simplify haddock reader code. | John MacFarlane | 1 | -1/+1 | |
See #1346. | |||||
2014-06-23 | Add Reducible to cabal file. | Jesse Rosenthal | 1 | -0/+1 | |
2014-06-19 | Require highlighting-kate >= 0.5.8.3. | John MacFarlane | 1 | -3/+3 | |
This change to highlighting-kate means that PHP fragments no longer need to start with `<?php`. Closes #1271. | |||||
2014-06-18 | Added haddock writer tests. | John MacFarlane | 1 | -0/+2 | |
2014-06-18 | Added haddock template. | John MacFarlane | 1 | -0/+1 | |
2014-06-18 | Finished first draft of Haddock writer. | John MacFarlane | 1 | -3/+4 | |
2014-06-18 | Removed old haddock reader code. Add dependency on haddock-library. | John MacFarlane | 1 | -5/+3 | |
This also removes the dependency on alex and happy. | |||||
2014-06-16 | Naming: Use Docx instead of DocX. | John MacFarlane | 1 | -4/+4 | |
For consistency with the existing writer. | |||||
2014-06-16 | Bump version to 1.13 | John MacFarlane | 1 | -1/+1 | |
2014-06-16 | Reference new DocX tests in cabal file. | Jesse Rosenthal | 1 | -1/+20 | |
2014-06-16 | Add files to cabal. | Jesse Rosenthal | 1 | -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-06 | Require aeson >= 0.7.0.5 to avoid build problems. | John MacFarlane | 1 | -1/+1 | |
2014-06-03 | Require texmath >= 0.6.6.3. Closes #1324. | John MacFarlane | 1 | -1/+1 | |
This fixes \tilde{E}, especially in docx. | |||||
2014-06-03 | Version bump to 1.12.5. | John MacFarlane | 1 | -1/+1 | |
2014-06-02 | Require latest texmath. Closes #1319. | John MacFarlane | 1 | -1/+1 | |
This allows `\left` to be used with `]`, `)`, etc. | |||||
2014-06-01 | Templates: Fail informatively on template syntax errors. | John MacFarlane | 1 | -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-28 | PDF writer: Fixed treatment of data uris for images. | John MacFarlane | 1 | -1/+2 | |
Closes #1062. | |||||
2014-05-27 | Require latest highlighting-kate. Fixes #1317. | John MacFarlane | 1 | -3/+3 | |
2014-05-27 | Require latest zip-archive. | John MacFarlane | 1 | -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-18 | Removed dependency on conduit. | John MacFarlane | 1 | -5/+6 | |
* http-conduit flag is now https. * Instead of http-conduit, we depend on http-client and http-client-tls. | |||||
2014-05-16 | travis: Test with ghc 7.8.2 rather than 7.8.1. | John MacFarlane | 1 | -1/+1 | |
2014-05-16 | Allow scientific 0.3 | Michael Snoyman | 1 | -1/+1 | |
2014-05-15 | Require highlighting-kate 0.5.8.1. | John MacFarlane | 1 | -3/+3 | |
0.5.8 has a serious bug that causes error failure with ocaml and fsharp. | |||||
2014-05-14 | Bump version to 1.12.4.2. | John MacFarlane | 1 | -1/+1 | |
2014-05-12 | Added default.icml to data-files so it installs with the package. | John MacFarlane | 1 | -0/+1 | |
2014-05-12 | Version bump to 1.12.4.1. | John MacFarlane | 1 | -1/+1 | |
2014-05-12 | Require highlighting-kate >= 0.5.8. | John MacFarlane | 1 | -3/+3 | |
This fixes a performance regression. | |||||
2014-05-09 | Update copyright notices for 2014, add missing notices | Albert Krewinkel | 1 | -1/+1 | |
2014-05-07 | Bumped version bound for mtl. | John MacFarlane | 1 | -1/+1 | |
2014-05-07 | Require latest texmath. | John MacFarlane | 1 | -1/+1 | |
2014-05-07 | Require latest highlighting-kate. | John MacFarlane | 1 | -3/+3 | |
2014-05-03 | AsciiDoc writer: Added test for empty table cells. | John MacFarlane | 1 | -0/+1 | |
2014-04-29 | Require pandoc-types 1.12.3.3. | John MacFarlane | 1 | -3/+3 | |
Fixes #1269. |