summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Muse writer: write image width specified in percent in Text::Amuse modeAlexander Krotov2018-02-03
|
* Determine image size for PDFs.John MacFarlane2018-02-02
| | | | Closes #4322.
* Use latest pandoc-citeproc.John MacFarlane2018-02-01
|
* TEI writer: Use height instead of depth for images.John MacFarlane2018-02-01
| | | | Closes #4331.
* Bump blaze-markup, blaze-html lower bounds to 0.8, 0.9.John MacFarlane2018-02-01
| | | | | | | | This is needed because the type constructor Empty in MarkupM has changed, and the HTML writer assumes the constructor has an argument. Closes #4334.
* Muse reader: replace ParserState with MuseStateAlexander Krotov2018-01-31
|
* Export list marker parsers from Text.Pandoc.ParsingAlexander Krotov2018-01-31
|
* Muse writer: don't wrap displayMath into <verse>Alexander Krotov2018-01-30
| | | | | | <verse> is a block tag and displayMath is an inline element. Writing <verse> around displayMath could result in nested <verse> tags.
* Muse writer: escape nonbreaking space ("~~")Alexander Krotov2018-01-29
|
* Muse reader: simplify block tag parsing codeAlexander Krotov2018-01-29
|
* Muse reader: parse inline <literal> without parseFromStringAlexander Krotov2018-01-29
|
* Muse reader: parse <comment> and <verbatim> without parseFromStringAlexander Krotov2018-01-29
|
* MANUAL.txt: self-contained implies standalone (#4304)Daniel Lublin2018-01-28
|
* CONTRIBUTING.md: label was renamed. (#4310)Adam Brandizzi2018-01-28
| | | See https://groups.google.com/forum/#!msg/pandoc-discuss/mrFsj5RzNFA/Pnd3zubWBwAJ;context-place=searchin/pandoc-discuss/%22good$20first$20issue%22%7Csort:date
* Muse reader: parse verse tag contents without parseFromStringAlexander Krotov2018-01-28
|
* Muse reader: make verseLine return Inlines, not StringAlexander Krotov2018-01-28
|
* Muse reader: parse directives without parseFromStringAlexander Krotov2018-01-28
|
* Muse reader: fix parsing of trailing whitespaceAlexander Krotov2018-01-28
| | | | | Newline after whitespace now results in softbreak instead of space.
* Muse reader: simplify paragraph parsingAlexander Krotov2018-01-28
| | | | Blank lines are already handled by blockElements.
* Docx writer tests: correct test name.Jesse Rosenthal2018-01-27
|
* Docx writer tests: Add tests for custom stylesJesse Rosenthal2018-01-27
|
* Add docx golden tests to cabal file.Jesse Rosenthal2018-01-27
|
* Docx writer tests: Use new golden frameworkJesse Rosenthal2018-01-27
| | | | | | | | | | | | | | These are based off the reader tests, with some removed (where the reader output was identical, based on different docx inputs). There are still more to be added. In particular, tests for custom-styles need to be added. All golden docx files have been checked in MS Word 2013 (windows). There is no corruption. There is questionable output in the `tables` test: the three tables seemed to be joined. This will be addressed in a future commit, and the golden docx file will be changed.
* Docx writer: make more deterministic to facilitate testingJesse Rosenthal2018-01-27
| | | | | | | | | | | | | This will allow us to compare files directly in a golden test. Times are still based on IO, but we will be able to safely skip those. Changes: - `getUniqueId` now calls to the state to get an incremented digit, instead of calling to P.uniqueHash. - we always start the PRNG in mkNumbering/mkAbstractNum with the same seed (1848), so our randoms should be the same each time.
* Docx writer: Fix ids in comment writingJesse Rosenthal2018-01-27
| | | | | | | | | | | Comments from `--track-changes=all` were producing corrupt docx, because the writer was trying to get id from the `(ID,_,_)` field of the attributes, and ignoring the "id" entry in the key-value pairs. We now check both. There is a larger conversation to be had about the right way to treat "id" and "class" entries in kvs, but this fix will correctly interpret the output of the docx reader work.
* Tests: Abstract powerpoint tests out to OOXML tests.Jesse Rosenthal2018-01-25
| | | | | | | 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.
* ConTeXt writer: new section syntax and --section-divs (#4295)Henri Menke2018-01-25
| | | | | | | | 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`.
* Dock writer: Fix deletion track changesJesse Rosenthal2018-01-25
| | | | | | This had been mistakenly written as a second insertion function. Closes: #4303
* Muse reader: fix matching of closing inline tagsAlexander Krotov2018-01-24
|
* Muse reader: remove `block` functionAlexander Krotov2018-01-24
|
* Lua filters: store constructors in registryAlbert Krewinkel2018-01-23
| | | | | | | 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.
* Lua: move getTag from StackInstances to UtilAlbert Krewinkel2018-01-23
| | | | Change: minor
* Powerpoint writer tests: hlint cleanups.Jesse Rosenthal2018-01-23
|
* Merge pull request #4291 from hmenke/xtablesJohn MacFarlane2018-01-22
|\ | | | | ConTeXt writer: xtables: correct wrong usage of caption
| * ConTeXt writer: xtables: correct wrong usage of captionHenri Menke2018-01-23
|/
* Powerpoint writer tests: add tests for two-column layout and imagesJesse Rosenthal2018-01-22
| | | | Powerpoint output checked in MS PowerPoint 2013 (Windows)
* Powerpoint writer: Add further testsJesse Rosenthal2018-01-22
| | | | | | | | | | Tests added for: - table of contents - endnotes - endnotes with table of contents Powerpoint output checked in MS PowerPoint 2013 (Windows)
* Powerpoint writer tests: simplify updating functionJesse Rosenthal2018-01-22
| | | | | | | 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.
* Powerpoint tests: Convert to golden testsJesse Rosenthal2018-01-22
| | | | | This will allow us to rebuild the pptx files in the test dir more easily if we make a change in the writer.
* Muse writer: join code with different attributes during normalizationAlexander Krotov2018-01-22
|
* Muse writer: indent lists inside DivAlexander Krotov2018-01-22
|
* Fix Text.Pandoc.Builder linkAlexander Krotov2018-01-22
|
* Delete excess whitespaceJohn MacFarlane2018-01-21
|
* Merge pull request #4237 from sitewisely/header_and_footerJohn MacFarlane2018-01-21
|\ | | | | Add header and footer parameters for wkhtmltopdf
| * Add header and footer parametersnewmana2018-01-10
| |
* | Require tagsoup 0.14.3 - closes #4282.John MacFarlane2018-01-21
| | | | | | | | | | This fixes an HTML tokenization bug whereby comments were sometimes consumed with open tags.
* | Powerpoint writer tests: New test framework for pptx.Jesse Rosenthal2018-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | appveyor - remove -fexternal-interpreter.John MacFarlane2018-01-21
| | | | | | | | This didn't help with the problem #4283.
* | appveyor - put comment about cache delete on one line,John MacFarlane2018-01-21
| | | | | | | | so it's easier to copy/paste.
* | Use latest pandoc-citeproc.John MacFarlane2018-01-21
| |