aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-05-01Add test for RST code directive classSidharth Kapur1-0/+15
2016-05-01Add class option for code block in RST readerSidharth Kapur1-6/+8
According to http://docutils.sourceforge.net/docs/ref/rst/directives.html#code, the code directive supports the ":class:" option.
2016-05-01Binary fmts throw PandocError on zip-archive failJesse Rosenthal2-3/+7
Commit 91dc3342 made `readDocx` throw PandocError if there was an unarchiving error. This extends that fix to `readOdt` and `readEPUB`.
2016-05-01LaTeX writer: use {} around options containing special chars.John MacFarlane1-4/+9
Closes #2892.
2016-05-01Docx Reader: Throw PandocError on unzip failureJesse Rosenthal1-4/+5
Previously, readDocx would error out if zip-archive failed. We change the archive extraction step from `toArchive` to `toArchiveOrFail`, which returns an Either value.
2016-04-29HTML writer: ensure mathjax link is added when math appears in footnote.John MacFarlane1-3/+2
Previously if a document only had math in a footnote, the MathJax link would not be added. Closes #2881.
2016-04-27Revert "LaTeX writer: Add `\strut` to fix multiline tables"John MacFarlane2-47/+46
This reverts commit 4c684561ee0665b014e887ae559b7020e4e9f2d3. See https://groups.google.com/d/msg/pandoc-discuss/u6J-_aCProU/UufN3IYRAgAJ This should fix uneven spacing issues in multiline tables.
2016-04-26Merge pull request #2735 from mb21/patch-1John MacFarlane2-4/+4
LaTeX Writer: fix polyglossia to babel env mapping
2016-04-26Merge pull request #2829 from adunning/patch-1John MacFarlane2-8/+18
LaTeX writer: Add missing languages.
2016-04-26Merge pull request #2876 from shosti/org-code-indentJohn MacFarlane2-4/+47
Ignore leading space in org code blocks
2016-04-26LaTeX writer: ignore --incremental unless -t beamer.John MacFarlane1-1/+2
Closes #2843.
2016-04-26Ignore leading space in org code blocksEmanuel Evans2-4/+47
Fixes #2862 Also fix up tab handling for leading whitespace in code blocks.
2016-04-20Require texmath 0.8.6.2.John MacFarlane2-2/+2
Closes several texmath-related bugs: #2775, #2310, #2310. This fixes issues with sub/superscript positioning and matrix column alignment in docx.
2016-04-18rtack.yaml: use data-default 0.6.0.John MacFarlane1-0/+2
2016-04-18Allow data-default 0.6.0.John MacFarlane1-1/+1
2016-04-16Docx Reader: Tests for track-changes movingJesse Rosenthal5-0/+22
2016-04-15Docx Reader: parse `moveTo` and `moveFrom`Jesse Rosenthal1-2/+2
`moveTo` and `moveFrom` are track-changes tags that are used when a block of text is moved in the document. We now recognize these tags and treat them the same as `insert` and `delete`, respectively. So, `--track-changes=accept` will show the moved version, while `--track-changes=reject` will show the original version.
2016-04-10Markdown reader: Fix pandoc title blocks with lines ending in 2 spaces.John MacFarlane3-22/+26
Closes #2799. Also added -s to markdown-reader-more test.
2016-04-10Markdown + HTML readers: be more forgiving about unescaped &.John MacFarlane1-10/+15
We are now more forgiving about parsing invalid HTML with unescaped `&` as raw HTML. (Previously any unescaped `&` would cause pandoc not to recognize the string as raw HTML.) Closes #2410.
2016-04-08README - improved documentation of --columns option.John MacFarlane1-3/+3
2016-04-01LaTeX writer: Add missing languages.Andrew Dunning2-8/+18
Updates the list from the hyphenation files at <http://mirror.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/loadhyph/>.
2016-03-30Merge pull request #2828 from adunning/patch-1John MacFarlane1-0/+2
Recognize `la-x-classic` as Classical Latin.
2016-03-30Recognize `la-x-classic` as Classical Latin.Andrew Dunning1-0/+2
This allows one to access the hyphenation patterns at <http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-la-x-classic.tex>, using its private language tag.
2016-03-29Use texmath >= 0.8.6.1.John MacFarlane2-2/+3
This fixes behavior of roots, e.g. `\sqrt[3]{x}`. See #2824.
2016-03-28stack.full.yaml: build local zip-archive, texmath.John MacFarlane1-1/+2
2016-03-27stack.full.yaml: also include local cmark-hs.John MacFarlane1-0/+1
2016-03-26EPUB writer: set 'navpage' variable on nav page.John MacFarlane1-1/+2
This allows templates to treat it differently.
2016-03-25Travis: use -fno-warn-unused-do-bind -Wall -Werror.John MacFarlane1-1/+1
2016-03-25Add --pedantic to stack build on travis.John MacFarlane1-1/+1
This turns on -Wall, -Werror. -Werror is already there for cabal builds, but for some reason travis isn't failing when errors occur.
2016-03-25Removed two superfluous lines.John MacFarlane1-2/+0
2016-03-24Updated changelog.John MacFarlane1-0/+3
2016-03-24LaTeX writer: better positioning for hypertarget in figures.John MacFarlane1-16/+23
Closes #2813.
2016-03-24LaTeX writer: Fixed position of label in figures.John MacFarlane1-3/+3
Partially addresses #2813. This isn't perfect, because now the hypertarget is in the wrong place -- when you link to the figure, the screen is positioned with the caption at the top, and most of the figure off screen. So this needs a bit more tweaking.
2016-03-24Travis: run tests when compiling from tarball.John MacFarlane1-1/+1
This should help with bugs like #2811.
2016-03-24Updated man page.John MacFarlane1-1/+1
2016-03-24Updated changelog.John MacFarlane1-0/+6
2016-03-24Bump version to 1.17.0.3.John MacFarlane1-1/+1
2016-03-24Merge pull request #2812 from mb21/patch-2John MacFarlane1-0/+2
include .tei files in pandoc.cabal
2016-03-24include .tei files in pandoc.cabalMauro Bieg1-0/+2
closes #2811
2016-03-22Updated copyright dates to include 2016.John MacFarlane19-37/+37
2016-03-22Fixed copyright dates.John MacFarlane1-3/+3
2016-03-22Updated man page.John MacFarlane1-1/+1
2016-03-22Updated changelog.John MacFarlane1-0/+6
2016-03-22Version bump to 1.17.0.2.John MacFarlane1-1/+1
2016-03-22Fixed bug in Markdown raw HTML parsing.John MacFarlane1-1/+1
This was a regression, with the rewrite of `htmlInBalanced` (from `Text.Pandoc.Readers.HTML`) in 1.17. It caused newlines to be omitted in raw HTML blocks. Closes #2804.
2016-03-21Updated man page.John MacFarlane1-6/+15
2016-03-21Updated changelog.John MacFarlane1-0/+9
2016-03-21Version to 1.17.0.1.John MacFarlane1-1/+1
2016-03-21Improved documentation of templates.John MacFarlane1-3/+9
Note that there's no docx template. Closes #2797.
2016-03-21Fix stdin handling for file-scopeJesse Rosenthal1-0/+1
Regardless of input type, we should use default handling if we are dealing with stdin. In other words, there should be no file-scope if there are no files. This was an issue with pandoc json, which could be piped on stdin, but which was read by default with `--file-scope`.