Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-02 | Docx reader: Add tests for paragraph insertion/deletion. | Jesse Rosenthal | 1 | -0/+12 | |
2017-12-31 | Docx reader: tests for overlapping targets (anchor spans). | Jesse Rosenthal | 1 | -0/+4 | |
2017-12-30 | Docx reader: tests for removing unused anchors. | Jesse Rosenthal | 1 | -0/+4 | |
2017-12-30 | Muse reader: enable round trip test | Alexander Krotov | 1 | -10/+9 | |
Closes #4107 | |||||
2017-12-29 | Powerpoint Writer tests: Add quickcheck tests for content types. | Jesse Rosenthal | 1 | -14/+77 | |
We want to make sure we always have an override for each xml file in the content types file. | |||||
2017-12-29 | Powerpoint writer test: more slide number tests | Jesse Rosenthal | 1 | -4/+9 | |
Add test for custom slide-level header, and notes slides. | |||||
2017-12-28 | Powerpoint writer tests: use IO. | John MacFarlane | 2 | -336/+18 | |
Otherwise we can't find the data files when compiled with -embed_data_files. | |||||
2017-12-28 | Use insertInFileTree in powerpoint test. | John MacFarlane | 1 | -2/+1 | |
2017-12-28 | Text.Pandoc.Class: add insertInFileTree (API change). | John MacFarlane | 1 | -7/+2 | |
This gives a pure way to insert an ersatz file into a FileTree. In addition, we normalize paths both on insertion and on lookup, so that "foo" and "./foo" will be judged equivalent. | |||||
2017-12-28 | Fixed warning in powerpoint writer test. | John MacFarlane | 1 | -3/+0 | |
2017-12-28 | PowerPoint writer: Introduce beginning of tests | Jesse Rosenthal | 2 | -0/+423 | |
This is the beginning of a test suite for the powerpoint writer. Initial tests are for the number of slides. Note that at the moment it does not test against corruption in Microsoft PowerPoint; it just tests that certain outcomes work as expected. More tests will be added. This test framework uses the PandocPure monad introduced with Pandoc 2.0. | |||||
2017-12-28 | Org smart test: drop superfluous import | Albert Krewinkel | 1 | -1/+1 | |
Keeps GHC 7.8 and GHC 7.10 happy. | |||||
2017-12-28 | Org reader: support minlevel option for includes | Albert Krewinkel | 1 | -1/+77 | |
The level of headers in included files can be shifted to a higher level by specifying a minimum header level via the `:minlevel` parameter. E.g. `#+include: "tour.org" :minlevel 1` will shift the headers in tour.org such that the topmost headers become level 1 headers. Fixes: #4154 | |||||
2017-12-28 | Break-up org reader test file | Albert Krewinkel | 13 | -1864/+2007 | |
The org reader test file had grown large, to the point that editor performance was negatively affected in some cases. The tests are spread over multiple submodules, and re-combined into a tasty TestTree in the main org reader test file. | |||||
2017-12-27 | Added tests for custom writer. | John MacFarlane | 1 | -0/+6 | |
2017-12-27 | Docx reader: add tests for structured document tags unwrapping. | Jesse Rosenthal | 1 | -0/+4 | |
2017-12-23 | Lua modules: add function pandoc.utils.hierarchicalize | Albert Krewinkel | 1 | -1/+2 | |
Convert list of Pandoc blocks into (hierarchical) list of Elements. | |||||
2017-12-23 | Lua modules: add function pandoc.utils.normalize_date | Albert Krewinkel | 1 | -1/+2 | |
The function parses a date and converts it (if possible) to "YYYY-MM-DD" format. | |||||
2017-12-23 | Lua modules: add function pandoc.utils.to_roman_numeral | Albert Krewinkel | 1 | -0/+1 | |
The function allows conversion of numbers below 4000 into roman numerals. | |||||
2017-12-22 | Lua modules: add stringify function to pandoc.utils | Albert Krewinkel | 1 | -0/+1 | |
The new function `pandoc.utils.stringify` converts any AST element to a string with formatting removed. | |||||
2017-12-21 | Merge pull request #4177 from stencila/jats-xml-reader | John MacFarlane | 3 | -1/+124 | |
Add Basic JATS reader based on DocBook reader | |||||
2017-12-22 | Improve support for code language in JATS | Hamish Mackenzie | 2 | -1/+11 | |
2017-12-21 | Muse reader: parse anchors immediately after headings as IDs | Alexander Krotov | 2 | -0/+17 | |
2017-12-20 | Test more pandoc Lua module functions | Albert Krewinkel | 1 | -0/+11 | |
The functions `sha1`, `read`, and `pipe` are now tested. Change: minor | |||||
2017-12-20 | Muse reader: require that note references does not start with 0 | Alexander Krotov | 1 | -0/+14 | |
2017-12-20 | Add Basic JATS reader based on DocBook reader | Hamish Mackenzie | 2 | -0/+113 | |
2017-12-19 | Muse reader: parse empty comments correctly | Alexander Krotov | 1 | -0/+2 | |
2017-12-15 | Added tests of latex tokenizer. | John MacFarlane | 1 | -1/+18 | |
This should help prevent regressions like #4159. | |||||
2017-12-14 | Merge pull request #4148 from stencila/jats-figures | John MacFarlane | 1 | -0/+119 | |
fig, table-wrap & caption Divs for JATS writer | |||||
2017-12-13 | Merge pull request #4153 from tarleb/unify-lua-init | John MacFarlane | 1 | -13/+18 | |
Unify lua initalization | |||||
2017-12-13 | Docx writer: Add tests for list continuation. | Jesse Rosenthal | 1 | -0/+8 | |
2017-12-13 | Custom writer: use init file to setup Lua interpreter | Albert Krewinkel | 1 | -13/+18 | |
The same init file (`data/init`) that is used to setup the Lua interpreter for Lua filters is also used to setup the interpreter of custom writers.lua. | |||||
2017-12-13 | fig, table-wrap & caption Divs for JATS writer | Hamish Mackenzie | 1 | -0/+119 | |
Support writing <fig> and <table-wrap> elements with <title> and <caption> inside them by using Divs with class set to on of fig, table-wrap or cation. The title is included as a Heading so the constraint on where Heading can occur is also relaxed. Also leaves out empty alt attributes on links. | |||||
2017-12-02 | Lua filters: refactor lua module handling | Albert Krewinkel | 1 | -13/+11 | |
The integration with Lua's package/module system is improved: A pandoc-specific package searcher is prepended to the searchers in `package.searchers`. The modules `pandoc` and `pandoc.mediabag` can now be loaded via `require`. | |||||
2017-12-06 | hlint Muse reader and tests | Alexander Krotov | 1 | -4/+4 | |
2017-12-06 | Muse reader: add test for #disable-tables directive in Emacs mode | Alexander Krotov | 1 | -7/+13 | |
2017-12-06 | Muse reader: don't allow emphasis to be preceded by letter | Alexander Krotov | 1 | -0/+4 | |
2017-12-04 | Add `empty_paragraphs` extension. | John MacFarlane | 1 | -20/+7 | |
* Deprecate `--strip-empty-paragraphs` option. Instead we now use an `empty_paragraphs` extension that can be enabled on the reader or writer. By default, disabled. * Add `Ext_empty_paragraphs` constructor to `Extension`. * Revert "Docx reader: don't strip out empty paragraphs." This reverts commit d6c58eb836f033a48955796de4d9ffb3b30e297b. * Implement `empty_paragraphs` extension in docx reader and writer, opendocument writer, html reader and writer. * Add tests for `empty_paragraphs` extension. | |||||
2017-12-04 | Muse reader: add underline support in Emacs Muse mode | Alexander Krotov | 1 | -0/+4 | |
2017-12-02 | Docx reader: don't strip out empty paragraphs. | John MacFarlane | 1 | -7/+20 | |
We now have the `--strip-empty-paragraphs` option for that, if you want it. Closes #2252. Updated docx reader tests. We use stripEmptyParagraphs to avoid changing too many tests. We should add new tests for empty paragraphs. | |||||
2017-11-29 | Muse reader: correctly remove indentation from notes | Alexander Krotov | 1 | -0/+8 | |
Exactly one space is required and considered to be part of the marker. | |||||
2017-11-28 | Temporarily disable round-trip block test for muse reader. | John MacFarlane | 1 | -4/+6 | |
See #4107. | |||||
2017-11-27 | Muse reader: parse "~~" as non-breaking space in Emacs mode | Alexander Krotov | 1 | -0/+3 | |
2017-11-27 | Muse reader: make code blocks round trip | Alexander Krotov | 1 | -5/+25 | |
2017-11-26 | Muse reader: drop common space prefix from list items | Alexander Krotov | 1 | -0/+18 | |
2017-11-26 | Muse reader: Add partial round trip test | Alexander Krotov | 1 | -1/+28 | |
2017-11-25 | Muse reader: don't interpret XML entities | Alexander Krotov | 1 | -0/+2 | |
2017-11-24 | Muse reader: parse markup in definition list terms | Alexander Krotov | 1 | -0/+2 | |
2017-11-24 | Muse reader: allow definition to end with EOF | Alexander Krotov | 1 | -0/+2 | |
2017-11-24 | Muse writer: test that inline math conversion result is normalized | Alexander Krotov | 1 | -0/+1 | |
Without normalization this test produced <em>a</em><em>b</em><em>c</em> |