Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-01-20 | Muse reader: enable definition lists in round-trip test | Alexander Krotov | 1 | -3/+2 | |
2018-01-19 | hlint code improvements. | John MacFarlane | 23 | -146/+141 | |
2018-01-19 | Merge pull request #4259 from italia/4248 | John MacFarlane | 1 | -0/+10 | |
in RST writer insert comment between lists and quotes, closes #4248 | |||||
2018-01-20 | Muse reader: fix parsing of nested definition lists | Alexander Krotov | 1 | -1/+11 | |
2018-01-19 | in RST writer insert comment between lists and quotes, closes #4248 | danse | 1 | -0/+10 | |
2018-01-19 | Muse writer: support definitions with multiple descriptions | Alexander Krotov | 1 | -2/+11 | |
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 | 1 | -0/+3 | |
2018-01-19 | Muse reader: parse definition list terms without parseFromString | Alexander Krotov | 1 | -0/+2 | |
2018-01-18 | Muse reader: fix parsing of code at the beginning of paragraph | Alexander Krotov | 1 | -0/+3 | |
2018-01-18 | Muse reader: refactor definition list parsing | Alexander Krotov | 1 | -11/+0 | |
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. | |||||
2018-01-18 | Muse reader: parse "~~" as non-breaking space in Text::Amuse mode | Alexander Krotov | 1 | -2/+2 | |
Latest Text::Amuse supports "~~" | |||||
2018-01-18 | Muse reader: refactor list parsing | Alexander Krotov | 1 | -17/+52 | |
Now list item contents is parsed as blocks, without resorting to parseFromString. Only the first line of paragraph has to be indented now, just like in Emacs Muse and Text::Amuse. Definition lists are not refactored yet. See also: issue #3865. | |||||
2018-01-16 | Docx reader: Add test for hyperlinks in instrText tag | Jesse Rosenthal | 1 | -0/+4 | |
This is difficult to recreate with a modern version of Word, so I'm using the file submitted with the bug report. It would be preferable to find a smaller example with Latin characters, though, so as not to confuse the issue being tested. | |||||
2018-01-15 | ConTeXt writer: Use xtables instead of Tables (#4223) | Henri Menke | 1 | -0/+55 | |
- Default to xtables for context output. - Added `ntb` extension (affecting context writer only) to use Natural Tables instead. - Added `Ext_ntb` constructor to `Extension` (API change). | |||||
2018-01-14 | Markdown reader: Improved inlinesInBalancedBrackets. | John MacFarlane | 1 | -1/+1 | |
The change both improves performance and fixes a regression whereby normal citations inside inline notes were not parsed correctly. Closes jgm/pandoc-citeproc#315. | |||||
2018-01-14 | Shorten unbalanced brackets test. | John MacFarlane | 1 | -1/+1 | |
It was taking a lot of time. | |||||
2018-01-13 | data/pandoc.lua: add attr, listAttributes accessors | Albert Krewinkel | 1 | -2/+9 | |
Elements with attributes got an additional `attr` accessor. Attributes were accessible only via the `identifier`, `classes`, and `attributes`, which was in conflict with the documentation, which indirectly states that such elements have the an `attr` property. | |||||
2018-01-13 | data/pandoc.lua: accept single block as singleton list | Albert Krewinkel | 1 | -4/+14 | |
Every constructor which accepts a list of blocks now also accepts a single block element for convenience. Furthermore, strings are accepted as shorthand for `{pandoc.Str "text"}` in constructors. | |||||
2018-01-13 | data/pandoc.lua: accept singleton inline as a list | Albert Krewinkel | 1 | -1/+6 | |
Every constructor which accepts a list of inlines now also accepts a single inline element for convenience. | |||||
2018-01-12 | Lua filters: improve error messages | Albert Krewinkel | 1 | -0/+10 | |
Provide more context about the task which caused an error. | |||||
2018-01-12 | Lua filters: make PANDOC_READER_OPTIONS available | Albert Krewinkel | 1 | -1/+2 | |
The options which were used to read the document are made available to Lua filters via the `PANDOC_READER_OPTIONS` global. | |||||
2018-01-08 | data/pandoc.lua: cleanup code, remove cruft | Albert Krewinkel | 1 | -2/+2 | |
2018-01-07 | Lua: make pandoc-types version available as PANDOC_API_VERSION | Albert Krewinkel | 1 | -1/+8 | |
The current pandoc-types version is made available to Lua programs in the global PANDOC_API_VERSION. It contains the version as a list of numbers. | |||||
2018-01-07 | Lua: make pandoc version available as PANDOC_VERSION | Albert Krewinkel | 1 | -13/+25 | |
The current pandoc version is made available to Lua programs in the global PANDOC_VERSION. It contains the version as a list of numbers. | |||||
2018-01-03 | Powerpoint writer: Set default slidelevel correctly. | Jesse Rosenthal | 1 | -1/+1 | |
We had previously defaulted to slideLevel 2. Now we use the correct behavior of defaulting to the highest level header followed by content. We change an expected test result to match this behavior. | |||||
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 | |