aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
AgeCommit message (Collapse)AuthorFilesLines
2018-05-09Merge branch 'master' into groff_readerYan Pashkovsky50-191/+6320
2018-05-09basic manfile parsingYan Pas1-4/+19
2018-04-26Add FB2 reader (#4539)Alexander1-0/+29
2018-04-26Muse reader: allow nested footnotesAlexander Krotov1-0/+9
2018-04-19Muse reader: allow "-" in anchorsAlexander Krotov1-0/+5
2018-04-17Docx reader tests: Test for combining adjacent code blocks.Jesse Rosenthal1-0/+4
2018-04-17Markdown reader: add regression test for previous commitAlexander Krotov1-0/+3
2018-04-16Muse reader: allow verse to be indentedAlexander Krotov1-0/+18
Muse writer indents verse blocks in definition list more than necessary, so Muse reader should parse them.
2018-04-16Fix a typo in Muse reader testsuite commentAlexander Krotov1-1/+1
2018-04-15Muse reader: don't allow footnote references inside linksAlexander Krotov1-0/+3
2018-04-15Muse reader: allow URL to be emptyAlexander Krotov1-0/+1
Muse writer can write links with empty URLs, so Muse reader should read them.
2018-04-15Muse reader: require that comment semicolons are in the first columnAlexander Krotov1-0/+1
Fixes #4551
2018-04-14Man writer: Don't escape U+2019 as '.John MacFarlane25-0/+5879
Closes #4550.
2018-04-09Muse reader: add support for Text:Amuse multiline headingsAlexander Krotov1-4/+18
2018-04-07Muse reader: add support for <biblio> and <play> tagsAlexander Krotov1-0/+17
2018-04-02Muse reader: add <math> tag supportAlexander Krotov1-0/+2
2018-04-02Muse writer: place header IDs before headerAlexander Krotov1-1/+2
See https://github.com/melmothx/text-amuse/issues/39
2018-03-25Muse reader: enable round-trip testAlexander Krotov1-3/+2
Close #4468
2018-03-25Muse reader: allow links to have empty descriptionsAlexander Krotov1-0/+3
2018-03-25Muse reader: require block <literal> tags to be on separate linesAlexander Krotov1-0/+3
2018-03-18Comment out Muse reader round-trip test.John MacFarlane1-3/+4
It fails too often. Perhaps a separate test program should be used to hunt for round-trip bugs.
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane24-0/+48
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2018-03-17hlint fixes.John MacFarlane3-3/+3
2018-03-13Docx reader: add tests for nested smart tags.Jesse Rosenthal1-0/+4
2018-03-12Muse reader: compare first rewrite to the second in round-trip testAlexander Krotov1-4/+2
2018-03-12Muse reader: require closing tag to have the same indentation as openingAlexander Krotov1-0/+18
2018-03-12Muse reader: do not reparse blocks inside unclosed block tagAlexander Krotov1-0/+18
Fixes #4425
2018-03-10Muse reader: parse <class> tagAlexander Krotov1-0/+3
<class> tag is supported by Emacs Muse
2018-03-07Muse reader: do not produce empty Str element for unindented verse linesAlexander Krotov1-0/+1
2018-03-03Muse reader: fix indentation requirements for footnote continuationsAlexander Krotov1-0/+10
2018-03-02Muse reader: enable <literal> tags even if amuse extension is enabledAlexander Krotov1-9/+0
Amusewiki disables <literal> tags for security reasons. If user wants similar behavior in pandoc, RawBlocks and RawInlines can be removed or replaced with filters.
2018-03-02Muse reader: do not consume whitespace while looking for closing end tagAlexander Krotov1-0/+11
Fix for a bug caught by round-trip test.
2018-03-02Muse reader: convert alphabetical list markers to decimal in round-trip testAlexander Krotov1-0/+2
Alphabetical lists are an addition of Text::Amuse. They are not present in Emacs Muse and can be ambiguous when list starts with "i.", "c." etc.
2018-02-28Docx reader: Handle nested sdt tags.Jesse Rosenthal1-0/+4
Previously we had only unwrapped one level of sdt tags. Now we recurse if we find them. Closes: #4415
2018-02-28Muse reader: add test for verse tag with one empty lineAlexander Krotov1-0/+6
2018-02-28Muse reader: allow <quote> and other tags to be indentedAlexander Krotov1-0/+6
2018-02-26Org reader tests: move citation tests to separate moduleAlbert Krewinkel2-167/+181
2018-02-25initialYan Pas1-0/+16
2018-02-24Muse reader: allow single colon in definition list termAlexander Krotov1-0/+3
2018-02-23Muse reader: improve verse parsingAlexander Krotov1-0/+11
Now verse marked up with ">" (in contrast to <verse> tag) can be placed inside lists.
2018-02-22Docx reader tests: test custom style extension.Jesse Rosenthal1-0/+11
2018-02-21Org reader: allow changing emphasis syntaxAlbert Krewinkel1-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-19Move manyUntil to Text.Pandoc.Parsing and use it in Txt2Tags readerAlexander Krotov1-1/+4
2018-02-16Muse reader: prioritize lists with roman numerals over alphabetical listsAlexander Krotov1-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-15Docx reader: Pick table width from the longest row or headerdanse1-0/+4
This change is intended to preserve as much of the table content as possible Closes #4360
2018-02-15Muse reader: fix directive parsingAlexander Krotov1-0/+15
This fixes bugs introduced in commit 4bfab8f04c105f111d8d4e1c3ed7f7b5c75dbd19.
2018-02-13Muse reader: parse definition lists with multiple descriptionsAlexander Krotov1-7/+20
2018-02-12Muse reader: refactor to avoid reparsingAlexander Krotov1-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-12Muse reader: paragraph indentation does not indicate nested quoteAlexander Krotov1-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-11Muse reader: test empty quote tagAlexander Krotov1-0/+5