Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-03-12 | Add readDocxWithWarnings | Jesse Rosenthal | 1 | -6/+15 | |
The regular readDocx just becomes a special case. | |||||
2016-03-12 | Docx Reader: Add state to the parser, for warnings | Jesse Rosenthal | 1 | -6/+19 | |
In order to be able to collect warnings during parsing, we add a state monad transformer to the D monad. At the moment, this only includes a list of warning strings (nothing currently triggers them, however). We use StateT instead of WriterT to correspond more closely with the warnings behavior in T.P.Parsing. | |||||
2016-03-10 | Fixed behavior of base tag. | John MacFarlane | 2 | -18/+15 | |
+ If the base path does not end with slash, the last component will be replaced. E.g. base = `http://example.com/foo` combines with `bar.html` to give `http://example.com/bar.html`. + If the href begins with a slash, the whole path of the base is replaced. E.g. base = `http://example.com/foo/` combines with `/bar.html` to give `http://example.com/bar.html`. Closes #2777. | |||||
2016-03-10 | Merge pull request #2771 from mb21/docx-alt-text | John MacFarlane | 1 | -2/+2 | |
Docx Writer: handle image alt text | |||||
2016-03-10 | Docx Writer: handle image alt text | mb21 | 1 | -2/+2 | |
closes #2754 | |||||
2016-03-09 | Markdown reader: Improved pipe table parsing. | John MacFarlane | 3 | -16/+38 | |
Fixes #2765. Added test case. | |||||
2016-03-09 | Markdown reader: Clean up pipe table parsing. | John MacFarlane | 1 | -8/+8 | |
2016-03-09 | Markdown reader: allow `+` separators in pipe table cells. | John MacFarlane | 1 | -6/+4 | |
We already allowed them in the header, but not in the body rows, for some reason. This gives compatibility with org-mode tables. | |||||
2016-03-09 | Markdown reader: don't cross line boundary parsing pipe table row. | John MacFarlane | 1 | -1/+7 | |
Previously an emph element could be parsed across the newline at the end of the pipe table row. I thought this would help with #2765, but it doesn't. | |||||
2016-03-08 | DokuWiki writer: use $$ for display math. | John MacFarlane | 2 | -2/+5 | |
2016-03-08 | Docx reader: update feature checklist. | Jesse Rosenthal | 1 | -5/+3 | |
The feature checklist in the source code was out of date. Update. | |||||
2016-03-07 | Stack-based appveyor setup. | John MacFarlane | 1 | -33/+14 | |
2016-03-06 | Merge pull request #2760 from ickc/master | John MacFarlane | 2 | -2/+2 | |
Very Minor update on the documentation | |||||
2016-03-06 | Update README | ickc | 1 | -1/+1 | |
2016-03-06 | Update pandoc.1 | ickc | 1 | -1/+1 | |
2016-02-28 | LaTeX reader: handle interior `$` characters in math. | John MacFarlane | 1 | -4/+12 | |
e.g. `$$\hbox{$i$}$$`. Partially addresses #2743. | |||||
2016-02-26 | Merge pull request #2739 from mb21/patch-2 | John MacFarlane | 1 | -0/+4 | |
Add relocatable stack build | |||||
2016-02-26 | Add relocatable stack build | Mauro Bieg | 1 | -0/+4 | |
2016-02-26 | Docx Reader: Get rid of Modifiable typeclass. | Jesse Rosenthal | 4 | -199/+170 | |
The docx reader used to use a Modifiable typeclass to combine both Blocks and Inlines. But all the work was in the inlines. So most of the generality was wasted, at the expense of making the code harder to understand. This gets rid of the generality, and adds functions for Blocks and Inlines. It should be a bit easier to work with going forward. | |||||
2016-02-24 | Allow zip-archive 0.3. | John MacFarlane | 1 | -2/+2 | |
2016-02-23 | Make protocol-relative URIs work again. | John MacFarlane | 1 | -2/+4 | |
Closes #2737. | |||||
2016-02-22 | Raise tagsoup lower bound to 0.13.7. | John MacFarlane | 1 | -1/+1 | |
This fixes entity-related problems. Closes #2734. | |||||
2016-02-21 | Markdown reader: use htmlInBalanced for rawVerbatimBlock. | John MacFarlane | 1 | -7/+5 | |
This should give better performance. See #2730. | |||||
2016-02-21 | Update README to reflect 4112b32. | Jesse Rosenthal | 1 | -3/+4 | |
We don't infer `--chapters` if `article` document option is set. For example: `\documentclass[article]{memoir}`. | |||||
2016-02-20 | Fixed some linter warnings. | John MacFarlane | 1 | -3/+3 | |
2016-02-20 | Merge pull request #2646 from tarleb/org-figure-with-no-name | John MacFarlane | 2 | -7/+7 | |
Prefix even empty figure names with "fig:" | |||||
2016-02-20 | Merge pull request #2668 from monofon/fix/yaml-metadata-block-bottom-line | John MacFarlane | 2 | -2/+2 | |
Markdown writer: Use hyphens for yaml metadata block bottom line | |||||
2016-02-20 | Merge pull request #2691 from tarleb/org-image-file-links | John MacFarlane | 2 | -29/+33 | |
Org reader: Refactor link-target processing | |||||
2016-02-20 | HTML reader: rewrote htmlInBalanced. | John MacFarlane | 1 | -10/+39 | |
This version avoids an exponential performance problem with `<script>` tags, and it should be faster in general. Closes #2730. | |||||
2016-02-20 | Merge pull request #2732 from pra85/patch-2 | John MacFarlane | 1 | -3/+3 | |
Fix typos in Readme | |||||
2016-02-21 | Fix typos in Readme | Prayag Verma | 1 | -3/+3 | |
Remove extra `be` `overriden` → `overridden` | |||||
2016-02-18 | LaTeX writer: clean up options parser. | Jesse Rosenthal | 1 | -3/+4 | |
Make sure that we require the closing bracket. | |||||
2016-02-18 | LaTeX writer: treat memoir template with `article` opt as article | Jesse Rosenthal | 1 | -6/+21 | |
We currently treat all memoir templates as books. This means that pandoc will infer the `--chapters` argument, even if the `article` iption is set for memoir. This commit makes pandoc treats the document as an article if there is an article option (i.e., `\documentclass[12pt,article]{memoir}`). Note that this refactors out the parsec parsers for document class and options, to make it a little clearer what's going on. | |||||
2016-02-18 | Merge pull request #2725 from adunning/patch-1 | John MacFarlane | 1 | -1/+0 | |
Remove stray line from stack.full.yaml | |||||
2016-02-18 | Remove stray line from stack.full.yaml | Andrew Dunning | 1 | -1/+0 | |
The line causes an error with stack 1.0.2: ``` Could not parse '/pandoc-build/pandoc/stack.full.yaml': AesonException "Error in $.extra-deps: failed to parse field 'extra-deps': failed to parse field extra-deps: expected [a], encountered Null" See http://docs.haskellstack.org/en/stable/yaml_configuration.html. ``` | |||||
2016-02-17 | Don't build with lts-2 or lts-3. | John MacFarlane | 1 | -9/+0 | |
2016-02-17 | Travis: don't build with lts-3. | John MacFarlane | 1 | -4/+0 | |
It doesn't have recent enough dependencies. | |||||
2016-02-17 | Travis fixes. | John MacFarlane | 1 | -2/+4 | |
cabal sdist has problems on cabal 1.16, because of our Text.Pandoc.Data module. So we don't test it. | |||||
2016-02-17 | Fixed stack.yaml. | John MacFarlane | 1 | -2/+2 | |
2016-02-17 | Try new travis stack+cabal script. | John MacFarlane | 1 | -75/+124 | |
2016-02-16 | HTML reader: properly handle an empty cell in a simple table. | John MacFarlane | 1 | -0/+1 | |
Closes #2718. | |||||
2016-02-10 | stack.yaml: Added commented-out commands to compile against aeson 0.11. | John MacFarlane | 1 | -0/+4 | |
This has been tested. | |||||
2016-02-09 | Removed `tex_math_single_backslash` from `markdown_github` options. | John MacFarlane | 2 | -3/+1 | |
Closes #2707. | |||||
2016-02-09 | Removed aeson extra-dep from stack.yaml. | John MacFarlane | 5 | -5/+0 | |
2016-02-09 | Changed aeson version in stack.yaml to 0.11.0.0. | John MacFarlane | 5 | -4/+5 | |
2016-02-09 | Updated to lts-5.2 resolver, aeson 0.11 in stack.yaml. | John MacFarlane | 5 | -23/+9 | |
2016-02-09 | Allow aeson 0.11. | John MacFarlane | 1 | -2/+2 | |
2016-02-08 | Merge pull request #2703 from rski/stack_link_fix | John MacFarlane | 1 | -1/+1 | |
Fix stack link in INSTALL | |||||
2016-02-08 | Fix stack link in INSTALL | rski | 1 | -1/+1 | |
Stack installation instructions have moved to docs.haskellstack.org | |||||
2016-02-05 | Added info on Stack to CONTRIBUTING.md. | John MacFarlane | 1 | -4/+24 | |