Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-02-28 | Docx reader: Handle nested sdt tags. | Jesse Rosenthal | 1 | -0/+4 | |
Previously we had only unwrapped one level of sdt tags. Now we recurse if we find them. Closes: #4415 | |||||
2018-02-28 | Muse reader: add test for verse tag with one empty line | Alexander Krotov | 1 | -0/+6 | |
2018-02-28 | Muse reader: allow <quote> and other tags to be indented | Alexander Krotov | 1 | -0/+6 | |
2018-02-26 | Org reader tests: move citation tests to separate module | Albert Krewinkel | 2 | -167/+181 | |
2018-02-24 | Muse reader: allow single colon in definition list term | Alexander Krotov | 1 | -0/+3 | |
2018-02-23 | Muse reader: improve verse parsing | Alexander Krotov | 1 | -0/+11 | |
Now verse marked up with ">" (in contrast to <verse> tag) can be placed inside lists. | |||||
2018-02-22 | Docx reader tests: test custom style extension. | Jesse Rosenthal | 1 | -0/+11 | |
2018-02-21 | Org reader: allow changing emphasis syntax | Albert Krewinkel | 1 | -1/+19 | |
The characters allowed before and after emphasis can be configured via `#+pandoc-emphasis-pre` and `#+pandoc-emphasis-post`, respectively. This allows to change which strings are recognized as emphasized text on a per-document or even per-paragraph basis. The allowed characters must be given as (Haskell) string. #+pandoc-emphasis-pre: "-\t ('\"{" #+pandoc-emphasis-post: "-\t\n .,:!?;'\")}[" If the argument cannot be read as a string, the default value is restored. Closes: #4378 | |||||
2018-02-19 | Move manyUntil to Text.Pandoc.Parsing and use it in Txt2Tags reader | Alexander Krotov | 1 | -1/+4 | |
2018-02-16 | Muse reader: prioritize lists with roman numerals over alphabetical lists | Alexander Krotov | 1 | -0/+12 | |
This is to make sure "i." starts a roman numbered list, instead of a list with letter "i" (followed by "j", "k", ..."). | |||||
2018-02-15 | Docx reader: Pick table width from the longest row or header | danse | 1 | -0/+4 | |
This change is intended to preserve as much of the table content as possible Closes #4360 | |||||
2018-02-15 | Muse reader: fix directive parsing | Alexander Krotov | 1 | -0/+15 | |
This fixes bugs introduced in commit 4bfab8f04c105f111d8d4e1c3ed7f7b5c75dbd19. | |||||
2018-02-13 | Muse reader: parse definition lists with multiple descriptions | Alexander Krotov | 1 | -7/+20 | |
2018-02-12 | Muse reader: refactor to avoid reparsing | Alexander Krotov | 1 | -1/+40 | |
Lists are parsed in linear instead of exponential time now. Contents of block tags, such as <quote>, is parsed directly, without storing it in a string and parsing with parseFromString. Fixed a bug: headers did not terminate lists. | |||||
2018-02-12 | Muse reader: paragraph indentation does not indicate nested quote | Alexander Krotov | 1 | -0/+6 | |
Muse allows indentation to indicate quotation or alignment, but only on the top level, not within a <quote> or list. This patch also simplifies the code by removing museInQuote and museInList fields from the state structure. Headers and indented paragraphs are attempted to be parsed only at the topmost level, instead of aborting parsing with guards. | |||||
2018-02-11 | Muse reader: test empty quote tag | Alexander Krotov | 1 | -0/+5 | |
2018-02-11 | Muse reader: require that block tags are on separate lines | Alexander Krotov | 1 | -19/+26 | |
Text::Amuse already explicitly requires it anyway. Supporting block tags on the same line as contents makes it hard to combine closing tag parsers with indentation parsers. Being able to combine parsers is required for no-reparsing refactoring of Muse reader. | |||||
2018-02-05 | Muse reader: test that two blank lines after verse can separate list items | Alexander Krotov | 1 | -0/+21 | |
Unlike paragraph and <quote> tag parsers, verse parser consumes newline. For this reason only three or more blank lines can separate list items. | |||||
2018-02-05 | Muse reader: test that lists can be separated with two blanklines after ↵ | Alexander Krotov | 1 | -0/+27 | |
blockquote Existing tests only checked this for paragraphs. | |||||
2018-01-28 | Muse reader: fix parsing of trailing whitespace | Alexander Krotov | 1 | -0/+6 | |
Newline after whitespace now results in softbreak instead of space. | |||||
2018-01-24 | Muse reader: fix matching of closing inline tags | Alexander Krotov | 1 | -0/+3 | |
2018-01-20 | Muse reader: remove multiple descriptions during round-trip tests | Alexander Krotov | 1 | -0/+6 | |
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 | 13 | -88/+86 | |
2018-01-20 | Muse reader: fix parsing of nested definition lists | Alexander Krotov | 1 | -1/+11 | |
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-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-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-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 | 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 | Docx reader: add tests for structured document tags unwrapping. | Jesse Rosenthal | 1 | -0/+4 | |
2017-12-21 | Merge pull request #4177 from stencila/jats-xml-reader | John MacFarlane | 1 | -0/+116 | |
Add Basic JATS reader based on DocBook reader | |||||
2017-12-22 | Improve support for code language in JATS | Hamish Mackenzie | 1 | -0/+5 | |
2017-12-21 | Muse reader: parse anchors immediately after headings as IDs | Alexander Krotov | 1 | -0/+12 | |
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 | 1 | -0/+111 | |
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. |