aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-01-21Require tagsoup 0.14.3 - closes #4282.John MacFarlane3-1/+3
This fixes an HTML tokenization bug whereby comments were sometimes consumed with open tags.
2018-01-21Powerpoint writer tests: New test framework for pptx.Jesse Rosenthal7-157/+198
Previously we had tested certain properties of the output PowerPoint slides. Corruption, though, comes as the result of a numebr of interrelated issues in the output pptx archive. This is a new approach, which compares the output of the Powerpoint writer with files that we know to (a) not be corrupt, and (b) to show the desired output behavior (details below). This commit introduces three tests using the new framework. More will follow. The test procedure: given a native file and a pptx file, we generate a pptx archive from the native file, and then test: 1. Whether the same files are in the two archives 2. Whether each of the contained xml files is the same. (We skip time entries in `docProps/core.xml`, since these are derived from IO. We just check to make sure that they're there in the same way in both files.) 3. Whether each of the media files is the same. Note that steps 2 and 3, though they compare multiple files, are one test each, since the number of files depends on the input file (if there is a failure, it will only report the first failed file comparison in the test failure).
2018-01-21appveyor - remove -fexternal-interpreter.John MacFarlane1-1/+1
This didn't help with the problem #4283.
2018-01-21appveyor - put comment about cache delete on one line,John MacFarlane1-4/+1
so it's easier to copy/paste.
2018-01-21Use latest pandoc-citeproc.John MacFarlane2-2/+2
2018-01-21Muse reader: embed parseBlocks into parseMuseAlexander Krotov1-8/+2
2018-01-21Muse reader: make listItem genericAlexander Krotov1-3/+3
2018-01-20More appveyor fixes.John MacFarlane1-2/+2
2018-01-20Markdown reader: Fix parsing bug with nested fenced divs.John MacFarlane2-2/+18
Closes #4281. Previously we allowed "nonindent spaces" before the opening and closing `:::`, but this interfered with list parsing, so now we require the fences to be flush with the margin of the containing block.
2018-01-20appveyor - changed syntax for adding ghc-options.John MacFarlane1-1/+1
2018-01-21Muse reader: simplify paragraph parsingAlexander Krotov1-2/+1
Blanklines are already consumed during block parsing, there is no need to check for them specifically.
2018-01-20RST reader: fix parsing of headers with trailing space.John MacFarlane2-1/+8
This was a regression in pandoc 2.0. Closes #4280.
2018-01-20appveyor.yml : use -fexternal-interpreter.John MacFarlane1-1/+2
This is supposed to help with the segfaults that come from use of TH. See #4021.
2018-01-20Muse reader: remove multiple descriptions during round-trip testsAlexander Krotov1-0/+6
2018-01-20Docx reader: Use already imported operatorJesse Rosenthal1-1/+1
This fixes an import error in the last commit.
2018-01-20Docx reader: small change to Fields hyperlink parserJesse Rosenthal1-1/+1
Previously, unquoted string required a space at the end of the line (and consumed it). Now we either take a space (and don't consume it), or end of input.
2018-01-20Muse reader: enable definition lists in round-trip testAlexander Krotov1-3/+2
2018-01-19Conditional import to avoid warning.John MacFarlane1-2/+5
2018-01-19hlint code improvements.John MacFarlane66-381/+349
2018-01-19Merge pull request #4221 from phikal/masterJohn MacFarlane1-0/+4
Ms writer: Added papersize variable
2018-01-19Merge pull request #4259 from italia/4248John MacFarlane2-25/+27
in RST writer insert comment between lists and quotes, closes #4248
2018-01-19Use latest texmath.John MacFarlane2-1/+2
2018-01-20Muse reader: fix parsing of nested definition listsAlexander Krotov2-12/+21
2018-01-19LaTeX reader: fixed parsing of tabular* environment.John MacFarlane1-1/+1
This was just a typo in the source. Closes #4279.
2018-01-19Muse reader: remove duplicate variable in definitionListItemAlexander Krotov1-2/+1
2018-01-19remove `blockToRST'` moving its logic into `fixBlocks`danse1-32/+13
2018-01-19in RST writer insert comment between lists and quotes, closes #4248danse2-1/+22
2018-01-19Muse writer: support definitions with multiple descriptionsAlexander Krotov3-14/+23
Muse reader does not support this syntax yet, but Emacs Muse parses it correctly.
2018-01-19Muse reader: require only one space for nested definition list indentationAlexander Krotov2-1/+5
2018-01-19Muse reader: parse verse without parseFromStringAlexander Krotov1-10/+12
2018-01-19Muse reader: remove commented out codeAlexander Krotov1-1/+0
2018-01-19Muse reader: parse Emacs Muse directives without parseFromStringAlexander Krotov1-4/+2
Also require space (not newline) after directive name.
2018-01-19Muse reader: parse link text without parseFromStringAlexander Krotov1-2/+1
2018-01-19Muse reader: simplify tableParseCaptionAlexander Krotov1-3/+1
2018-01-19Muse reader: parse definition list terms without parseFromStringAlexander Krotov2-17/+15
2018-01-19Muse reader: do not remove trailing whitespace from <code>Alexander Krotov1-1/+1
2018-01-18Powerpoint writer: Implement syntax highlightingJesse Rosenthal3-29/+87
This also necessitated implementing colors and underlining, though there is currently no way to produce these from markdown. Note that background colors can't be implemented in PowerPoint, so highlighting styles that require these will be incomplete.
2018-01-18More stack.yaml fixes for skylighting.John MacFarlane3-1/+3
2018-01-18Require latest skylighting.John MacFarlane1-1/+1
2018-01-18Use latest pandoc-citeproc and skylighting.John MacFarlane2-5/+5
2018-01-18Fixed typo in Makefile.John MacFarlane1-1/+1
2018-01-18Clean up T.P.W.OOXML file, and add copyright.Jesse Rosenthal1-41/+40
2018-01-18Makefile - add prerelease sanity check for tabs in docs.John MacFarlane1-2/+5
2018-01-18Fixed tabs in changelog.John MacFarlane1-13/+13
2018-01-18Replaced tabs with spaces in MANUAL.txt.John MacFarlane3-253/+337
@jkr - the tabs were inserted by your 624abeec5c3b9f5c27cffe6d157617aa97367e92, presumably through some automatic setting in your editor that replaced 8 spaces with a tab. This messed up indented formatting in the manual.
2018-01-18Updaet changelog.John MacFarlane1-2/+9
2018-01-18Powerpoint writer: Make our own docProps/core.xml file.Jesse Rosenthal2-11/+37
This allows us to set document metadata properties from pandoc metadata.
2018-01-18Powerpoint writer: Add docProps to Presentation datatype.Jesse Rosenthal2-12/+39
This picks up the necessary information from meta and carries it over to the XML output, so Output.hs doesn't need access to the original pandoc information.
2018-01-18Muse reader: fix parsing of code at the beginning of paragraphAlexander Krotov2-6/+5
2018-01-18Muse reader: refactor definition list parsingAlexander Krotov2-28/+15
Test with wrong indentation is removed, because now it is parsed as nested lists. Emacs Muse and Text::Amuse don't have the same behavior anyway.