aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2018-04-19FB2 writer: convert metadata value "abstract" to book annotationAlexander Krotov3-0/+11
2018-04-19Muse reader: allow "-" in anchorsAlexander Krotov1-0/+5
2018-04-17Docx reader tests: Test for combining adjacent code blocks.Jesse Rosenthal3-0/+10
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-16Muse writer: escape definition list terms starting with list markersAlexander Krotov1-0/+9
2018-04-15Ms writer: font improvements.John MacFarlane1-25/+25
* Use `\f[R]` rather than `\f[]` to reset. The latter returns to the previous font, which gives unintended results in some cases. * Use `\f[BI]` and `\f[CB]` in headers, instead of `\f[I]` and `\f[C]`, since the header font is automatically bold. * Use `\f[CB]` rather than `\f[BC]` for monospace bold. Closes #4552.
2018-04-15Muse reader: don't allow footnote references inside linksAlexander Krotov1-0/+3
2018-04-15Muse writer: escape strings starting with spaceAlexander Krotov1-0/+9
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 MacFarlane82-21/+10417
Closes #4550.
2018-04-10Muse writer: escape > less oftenAlexander Krotov2-3/+4
> should be escaped only when it can start verse, i.e., at the beginning of the line.
2018-04-09Muse writer: don't break headers, line blocks and tables with line breaksAlexander Krotov1-0/+2
2018-04-09Muse writer: correctly output empty headingsAlexander Krotov1-0/+1
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-07FB2 writer: output links inline instead of producing notesAlexander Krotov2-324/+59
Previously all links were turned into footnotes with unclickable URLs inside.
2018-04-05Changes to tests to accommodate changes in pandoc-types.John MacFarlane2-2/+7
In https://github.com/jgm/pandoc-types/pull/36 we changed the table builder to pad cells. This commit changes tests (and two readers) to accord with this behavior.
2018-04-05LaTEX reader: properly resolve section numbers with \ref and chapters.John MacFarlane1-0/+36
Closes #4529.
2018-04-05Muse writer: escape horizontal rule only if at the beginning of the lineAlexander Krotov1-1/+3
2018-04-05CommonMark writer: correctly ignore LaTeX raw blocks when not raw_tex (#4533)quasicomputational1-0/+21
Issue #4527.
2018-04-04FB2 writer: allow emphasis and notes in titlesAlexander Krotov3-89/+103
Only <p> and <empty-line /> are allowed in titles, but <p> has the same type as an ordinary paragraphs. Therefore, there is no need to remove emphasis from titles. Also, don't intersperse paragraph with empty lines.
2018-04-02LaTeX reader: parse sloppypar environment (#4517)Marc Schreiber1-0/+23
2018-04-02Muse reader: add <math> tag supportAlexander Krotov1-0/+2
2018-04-02Muse writer: place header IDs before headerAlexander Krotov2-3/+4
See https://github.com/melmothx/text-amuse/issues/39
2018-04-01Muse writer: only escape brackets when necessaryAlexander Krotov2-6/+9
It includes cases when they can be mistaken for footnotes and links, as well as inside link description.
2018-03-31Muse writer: do not escape list markers unless preceded by spaceAlexander Krotov2-2/+3
2018-03-30Textile reader: fixed tables with no body rows.John MacFarlane1-0/+9
Previously these raised an exception. Closes #4513.
2018-03-28Mediawiki reader: improve table parsing.John MacFarlane1-9/+11
This fixes detection of table attributes and also handles `!` characters in cells. Closes #4508.
2018-03-28Muse writer: escape semicolons and markers after line breakAlexander Krotov2-1/+2
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 writer: escape ordered list markersAlexander Krotov2-6/+7
Also reduced amount of <verbatim> tags in output to avoid escaping every "-" and word that ends in a full stop.
2018-03-25Muse writer: enable --wrap=preserve for all tests by defaultAlexander Krotov1-5/+5
2018-03-25Muse reader: require block <literal> tags to be on separate linesAlexander Krotov1-0/+3
2018-03-25Muse writer: improve span writingAlexander Krotov1-2/+8
Test more cases when span has or hasn't anchor, class and contents in different combinations.
2018-03-25Muse writer: do not join Span's doing normalizationAlexander Krotov1-0/+3
Separate spans may have different semantics, for example if spans indicate syllables in a word.
2018-03-24Update powerpoint golden tests:Jesse Rosenthal8-0/+0
Some internal changes in templating produced slightly different xml. All have been checked, are not corrupt, and have output as expected.
2018-03-21Muse writer: don't align ordered list itemsAlexander Krotov2-9/+9
It leads to problems with round-trip test, because aligned line blocks can't be read back.
2018-03-21Powerpoint writer: add tests for improved speaker notes.Jesse Rosenthal4-0/+37
Tests speaker notes appearing after (and inside of) separating blocks. Output checked on Windows10 (archlinux virtualbox), PowerPoint 2013. Not corrupted, and output as expected.
2018-03-20Muse writer: escape "]" in image titleAlexander Krotov1-0/+1
2018-03-20Muse writer: escape ";" to avoid accidental commentsAlexander Krotov1-0/+1
2018-03-20Muse writer: escape "]" brackets in URLs as "%5D"Alexander Krotov1-0/+15
2018-03-18Ms writer: don't escape hyphens.John MacFarlane1-9/+9
Previously we escaped hyphens as `\-`, but that's a minus sign. Closes #4467. Updated changelog.
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 MacFarlane47-0/+94
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2018-03-17hlint fixes.John MacFarlane5-5/+4
2018-03-17Add support to parse unit string of \SI command (closes #4296).Marc Schreiber1-0/+36