summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | Markdown reader: use htmlInBalanced for rawVerbatimBlock.John MacFarlane2016-02-21
| | | | | | | | | | | | This should give better performance. See #2730.
* | Update README to reflect 4112b32.Jesse Rosenthal2016-02-21
| | | | | | | | | | We don't infer `--chapters` if `article` document option is set. For example: `\documentclass[article]{memoir}`.
* | Fixed some linter warnings.John MacFarlane2016-02-20
| |
* | Merge pull request #2646 from tarleb/org-figure-with-no-nameJohn MacFarlane2016-02-20
|\ \ | | | | | | Prefix even empty figure names with "fig:"
| * | Prefix even empty figure names with "fig:"Albert Krewinkel2016-01-11
| | | | | | | | | | | | | | | | | | | | | | | | The convention used by pandoc for figures is to mark them by prefixing the name with "fig:". The org reader failed to do this if a figure had no name. The test for this was broken as well. This fixes #2643.
* | | Merge pull request #2668 from monofon/fix/yaml-metadata-block-bottom-lineJohn MacFarlane2016-02-20
|\ \ \ | | | | | | | | Markdown writer: Use hyphens for yaml metadata block bottom line
| * | | Markdown writer: Use hyphens for yaml metadata block bottom lineHenrik Tramberend2016-01-21
| | | |
* | | | Merge pull request #2691 from tarleb/org-image-file-linksJohn MacFarlane2016-02-20
|\ \ \ \ | | | | | | | | | | Org reader: Refactor link-target processing
| * | | | Org reader: Refactor link-target processingAlbert Krewinkel2016-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup of the code for link target handling. Most notably, the canonicalization of a link is handled by a separate function. This fixes #2684.
* | | | | HTML reader: rewrote htmlInBalanced.John MacFarlane2016-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This version avoids an exponential performance problem with `<script>` tags, and it should be faster in general. Closes #2730.
* | | | | Merge pull request #2732 from pra85/patch-2John MacFarlane2016-02-20
|\ \ \ \ \ | | | | | | | | | | | | Fix typos in Readme
| * | | | | Fix typos in ReadmePrayag Verma2016-02-21
|/ / / / / | | | | | | | | | | | | | | | Remove extra `be` `overriden` → `overridden`
* | | | | LaTeX writer: clean up options parser.Jesse Rosenthal2016-02-18
| | | | | | | | | | | | | | | | | | | | Make sure that we require the closing bracket.
* | | | | LaTeX writer: treat memoir template with `article` opt as articleJesse Rosenthal2016-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #2725 from adunning/patch-1John MacFarlane2016-02-18
|\ \ \ \ \ | | | | | | | | | | | | Remove stray line from stack.full.yaml
| * | | | | Remove stray line from stack.full.yamlAndrew Dunning2016-02-18
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ```
* | | | | Don't build with lts-2 or lts-3.John MacFarlane2016-02-17
| | | | |
* | | | | Travis: don't build with lts-3.John MacFarlane2016-02-17
| | | | | | | | | | | | | | | | | | | | It doesn't have recent enough dependencies.
* | | | | Travis fixes.John MacFarlane2016-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | cabal sdist has problems on cabal 1.16, because of our Text.Pandoc.Data module. So we don't test it.
* | | | | Fixed stack.yaml.John MacFarlane2016-02-17
| | | | |
* | | | | Try new travis stack+cabal script.John MacFarlane2016-02-17
| | | | |
* | | | | HTML reader: properly handle an empty cell in a simple table.John MacFarlane2016-02-16
| | | | | | | | | | | | | | | | | | | | Closes #2718.
* | | | | stack.yaml: Added commented-out commands to compile against aeson 0.11.John MacFarlane2016-02-10
| | | | | | | | | | | | | | | | | | | | This has been tested.
* | | | | Removed `tex_math_single_backslash` from `markdown_github` options.John MacFarlane2016-02-09
| | | | | | | | | | | | | | | | | | | | Closes #2707.
* | | | | Removed aeson extra-dep from stack.yaml.John MacFarlane2016-02-09
| | | | |
* | | | | Changed aeson version in stack.yaml to 0.11.0.0.John MacFarlane2016-02-09
| | | | |
* | | | | Updated to lts-5.2 resolver, aeson 0.11 in stack.yaml.John MacFarlane2016-02-09
| | | | |
* | | | | Allow aeson 0.11.John MacFarlane2016-02-09
| | | | |
* | | | | Merge pull request #2703 from rski/stack_link_fixJohn MacFarlane2016-02-08
|\ \ \ \ \ | | | | | | | | | | | | Fix stack link in INSTALL
| * | | | | Fix stack link in INSTALLrski2016-02-08
|/ / / / / | | | | | | | | | | | | | | | Stack installation instructions have moved to docs.haskellstack.org
* | | | | Added info on Stack to CONTRIBUTING.md.John MacFarlane2016-02-05
| | | | |
* | | | | Merge pull request #2699 from MathieuDuponchelle/patch-1John MacFarlane2016-02-05
|\ \ \ \ \ | | | | | | | | | | | | CONTRIBUTING.md : update test enabling documentation
| * | | | | CONTRIBUTING.md : update test enabling documentationMathieu Duponchelle2016-02-05
| | | | | | | | | | | | | | | | | | | | | | | | On my end, in a clean sandbox, I had to run this before I could run the tests, I'm a cabal / haskell noob so that might not be the best way to do so but :)
* | | | | | Custom writer: Pass attributes parameter to CaptionedImage.John MacFarlane2016-02-05
|/ / / / / | | | | | | | | | | | | | | | Closes #2697.
* | | | | Markdown reader: Fixed bug with smart quotes around tex math.John MacFarlane2016-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously smart quotes were incorrect in the following: '$\neg(x \in x)$'. (because of the following period). This commit fixes the problem, which was introduced by commit 4229cf2d92faf5774fe1a3a9c89a5de885cf75cd.
* | | | | HTML writer: don't include alignment attribute for default table columns.John MacFarlane2016-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously these were given "left" alignment. Better to leave off alignment attributes altogether. Closes #2694.
* | | | | Docx reader: Add tests for adjacent hyperlinks.Jesse Rosenthal2016-02-02
| | | | |
* | | | | Docx reader: Add a "Link" modifier to ReducibleJesse Rosenthal2016-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to make sure that links have their spaces removed, and are appropriately smushed together. This closes #2689
* | | | | LaTeX reader: `inlineCommand` now gobbles an empty `{}` after any command.John MacFarlane2016-01-31
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives better results when people write e.g. `\TeX{}` in Markdown. \TeX{} and \LaTeX{} now works as expected with `pandoc -f markdown -t latex`. Closes #2687.
* | | | HTML reader: handle multiple meta tags with same name.John MacFarlane2016-01-29
| | | | | | | | | | | | | | | | | | | | | | | | Put them in a list in the metadata so they are all preserved, rather than (as before) throwing out all but one..
* | | | Properly handle LaTeX "math" environment as inline math.John MacFarlane2016-01-29
| | | | | | | | | | | | | | | | See #2171.
* | | | Merge pull request #2681 from pra85/patch-1John MacFarlane2016-01-26
|\ \ \ \ | | | | | | | | | | Update license year range to 2016
| * | | | Update license year range to 2016Prayag Verma2016-01-26
|/ / / /
* | | | Textile reader: Support `>`, `<`, `=`, `<>` text alignment attributes.John MacFarlane2016-01-25
| | | | | | | | | | | | | | | | Closes #2674.
* | | | Make language extensions trigger highlighting.John MacFarlane2016-01-24
| | | | | | | | | | | | | | | | | | | | For example, `py` will now work as well as `python`. Closes jgm/highlighting-kate#83.
* | | | stack.yaml - use cmark 0.5.1.John MacFarlane2016-01-22
| | | |
* | | | Bump version to 1.17.John MacFarlane2016-01-22
| | | | | | | | | | | | | | | | API change in type of Text.Pandoc.Shared.uniqueIdent.
* | | | Changed type of Shared.uniqueIdent argument from [String] to Set String.John MacFarlane2016-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids performance problems in documents with many identically named headers. Closes #2671.
* | | | Added old-style tests for TEI writer (tests/tables.tei, tests/writer.tei).John MacFarlane2016-01-21
| | | |
* | | | Added TEI to description and default.tei to data files.John MacFarlane2016-01-21
| | | |