Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-25 | Tests: Abstract powerpoint tests out to OOXML tests. | Jesse Rosenthal | 3 | -176/+191 | |
There is very little pptx-specific in these tests, so we abstract out the basic testing function so it can be used for docx as well. This should allow us to catch some errors in the docx writer that slipped by the roundtrip testing. | |||||
2018-01-25 | ConTeXt writer: new section syntax and --section-divs (#4295) | Henri Menke | 5 | -56/+103 | |
Fixes #2609. This PR introduces the new-style section headings: `\section[my-header]{My Header}` -> `\section[title={My Header},reference={my-header}]`. On top of this, the ConTeXt writer now supports the `--section-divs` option to write sections in the fenced style, with `\startsection` and `\stopsection`. | |||||
2018-01-25 | Dock writer: Fix deletion track changes | Jesse Rosenthal | 1 | -6/+6 | |
This had been mistakenly written as a second insertion function. Closes: #4303 | |||||
2018-01-24 | Muse reader: fix matching of closing inline tags | Alexander Krotov | 2 | -2/+6 | |
2018-01-24 | Muse reader: remove `block` function | Alexander Krotov | 1 | -7/+4 | |
2018-01-23 | Lua filters: store constructors in registry | Albert Krewinkel | 3 | -3/+29 | |
Lua functions used to construct AST element values are stored in the Lua registry for quicker access. Getting a value from the registry is much faster than getting a global value (partly to idiosyncrasies of hslua); this change results in a considerable performance boost. | |||||
2018-01-23 | Lua: move getTag from StackInstances to Util | Albert Krewinkel | 2 | -13/+17 | |
Change: minor | |||||
2018-01-23 | Powerpoint writer tests: hlint cleanups. | Jesse Rosenthal | 1 | -14/+12 | |
2018-01-22 | Merge pull request #4291 from hmenke/xtables | John MacFarlane | 3 | -5/+5 | |
ConTeXt writer: xtables: correct wrong usage of caption | |||||
2018-01-23 | ConTeXt writer: xtables: correct wrong usage of caption | Henri Menke | 3 | -5/+5 | |
2018-01-22 | Powerpoint writer tests: add tests for two-column layout and images | Jesse Rosenthal | 5 | -0/+24 | |
Powerpoint output checked in MS PowerPoint 2013 (Windows) | |||||
2018-01-22 | Powerpoint writer: Add further tests | Jesse Rosenthal | 5 | -0/+17 | |
Tests added for: - table of contents - endnotes - endnotes with table of contents Powerpoint output checked in MS PowerPoint 2013 (Windows) | |||||
2018-01-22 | Powerpoint writer tests: simplify updating function | Jesse Rosenthal | 1 | -7/+1 | |
We had previously re-read the native file and converted it to Powerpoint. But we have already done that in constructing the test archive. So now we just convert the archive back to a bytestring and write it to disk. | |||||
2018-01-22 | Powerpoint tests: Convert to golden tests | Jesse Rosenthal | 1 | -136/+147 | |
This will allow us to rebuild the pptx files in the test dir more easily if we make a change in the writer. | |||||
2018-01-22 | Muse writer: join code with different attributes during normalization | Alexander Krotov | 2 | -2/+3 | |
2018-01-22 | Muse writer: indent lists inside Div | Alexander Krotov | 2 | -2/+4 | |
2018-01-22 | Fix Text.Pandoc.Builder link | Alexander Krotov | 1 | -1/+1 | |
2018-01-21 | Delete excess whitespace | John MacFarlane | 1 | -1/+1 | |
2018-01-21 | Merge pull request #4237 from sitewisely/header_and_footer | John MacFarlane | 2 | -2/+6 | |
Add header and footer parameters for wkhtmltopdf | |||||
2018-01-21 | Require tagsoup 0.14.3 - closes #4282. | John MacFarlane | 3 | -1/+3 | |
This fixes an HTML tokenization bug whereby comments were sometimes consumed with open tags. | |||||
2018-01-21 | Powerpoint writer tests: New test framework for pptx. | Jesse Rosenthal | 7 | -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-21 | appveyor - remove -fexternal-interpreter. | John MacFarlane | 1 | -1/+1 | |
This didn't help with the problem #4283. | |||||
2018-01-21 | appveyor - put comment about cache delete on one line, | John MacFarlane | 1 | -4/+1 | |
so it's easier to copy/paste. | |||||
2018-01-21 | Use latest pandoc-citeproc. | John MacFarlane | 2 | -2/+2 | |
2018-01-21 | Muse reader: embed parseBlocks into parseMuse | Alexander Krotov | 1 | -8/+2 | |
2018-01-21 | Muse reader: make listItem generic | Alexander Krotov | 1 | -3/+3 | |
2018-01-20 | More appveyor fixes. | John MacFarlane | 1 | -2/+2 | |
2018-01-20 | Markdown reader: Fix parsing bug with nested fenced divs. | John MacFarlane | 2 | -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-20 | appveyor - changed syntax for adding ghc-options. | John MacFarlane | 1 | -1/+1 | |
2018-01-21 | Muse reader: simplify paragraph parsing | Alexander Krotov | 1 | -2/+1 | |
Blanklines are already consumed during block parsing, there is no need to check for them specifically. | |||||
2018-01-20 | RST reader: fix parsing of headers with trailing space. | John MacFarlane | 2 | -1/+8 | |
This was a regression in pandoc 2.0. Closes #4280. | |||||
2018-01-20 | appveyor.yml : use -fexternal-interpreter. | John MacFarlane | 1 | -1/+2 | |
This is supposed to help with the segfaults that come from use of TH. See #4021. | |||||
2018-01-20 | Muse reader: remove multiple descriptions during round-trip tests | Alexander Krotov | 1 | -0/+6 | |
2018-01-20 | Docx reader: Use already imported operator | Jesse Rosenthal | 1 | -1/+1 | |
This fixes an import error in the last commit. | |||||
2018-01-20 | Docx reader: small change to Fields hyperlink parser | Jesse Rosenthal | 1 | -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-20 | Muse reader: enable definition lists in round-trip test | Alexander Krotov | 1 | -3/+2 | |
2018-01-19 | Conditional import to avoid warning. | John MacFarlane | 1 | -2/+5 | |
2018-01-19 | hlint code improvements. | John MacFarlane | 66 | -381/+349 | |
2018-01-19 | Merge pull request #4221 from phikal/master | John MacFarlane | 1 | -0/+4 | |
Ms writer: Added papersize variable | |||||
2018-01-19 | Merge pull request #4259 from italia/4248 | John MacFarlane | 2 | -25/+27 | |
in RST writer insert comment between lists and quotes, closes #4248 | |||||
2018-01-19 | Use latest texmath. | John MacFarlane | 2 | -1/+2 | |
2018-01-20 | Muse reader: fix parsing of nested definition lists | Alexander Krotov | 2 | -12/+21 | |
2018-01-19 | LaTeX reader: fixed parsing of tabular* environment. | John MacFarlane | 1 | -1/+1 | |
This was just a typo in the source. Closes #4279. | |||||
2018-01-19 | Muse reader: remove duplicate variable in definitionListItem | Alexander Krotov | 1 | -2/+1 | |
2018-01-19 | remove `blockToRST'` moving its logic into `fixBlocks` | danse | 1 | -32/+13 | |
2018-01-19 | in RST writer insert comment between lists and quotes, closes #4248 | danse | 2 | -1/+22 | |
2018-01-19 | Muse writer: support definitions with multiple descriptions | Alexander Krotov | 3 | -14/+23 | |
Muse reader does not support this syntax yet, but Emacs Muse parses it correctly. | |||||
2018-01-19 | Muse reader: require only one space for nested definition list indentation | Alexander Krotov | 2 | -1/+5 | |
2018-01-19 | Muse reader: parse verse without parseFromString | Alexander Krotov | 1 | -10/+12 | |
2018-01-19 | Muse reader: remove commented out code | Alexander Krotov | 1 | -1/+0 | |