Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-02-13 | Typo fix changelog. | John MacFarlane | 1 | -1/+1 | |
2018-02-13 | Muse reader: remove listItemContents function | Alexander Krotov | 1 | -12/+8 | |
2018-02-13 | Muse reader: hlint | Alexander Krotov | 1 | -7/+7 | |
2018-02-13 | Muse reader: parse definition lists with multiple descriptions | Alexander Krotov | 2 | -21/+45 | |
2018-02-13 | Muse reader: parse next list item before parsing more item contents | Alexander Krotov | 1 | -7/+10 | |
2018-02-12 | Muse reader: refactor to avoid reparsing | Alexander Krotov | 2 | -79/+235 | |
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: move indentation parsing from definitionListItem to definitionList | Alexander Krotov | 1 | -6/+6 | |
2018-02-12 | Muse reader: paragraph indentation does not indicate nested quote | Alexander Krotov | 2 | -35/+16 | |
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-12 | Muse reader: replace optionMaybe with optional | Alexander Krotov | 1 | -5/+5 | |
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-11 | Muse reader: move para definition into blockElements | Alexander Krotov | 1 | -4/+1 | |
2018-02-11 | Muse reader: move end-of-line parsing to paraUntil | Alexander Krotov | 1 | -3/+3 | |
2018-02-08 | Updated rst writer test for template change. | John MacFarlane | 1 | -4/+0 | |
2018-02-08 | rst template: remove definition of 'math' role as raw. | John MacFarlane | 1 | -6/+0 | |
This used to be needed prior to v 0.8 of docutils, but now math support is built-in. | |||||
2018-02-06 | Muse reader: rename "literal" to "literalTag" | Alexander Krotov | 1 | -3/+3 | |
2018-02-06 | Muse reader: avoid reparsing at the top level | Alexander Krotov | 1 | -2/+14 | |
Blocks following paragraphs are parsed only once at the top level. Lists still take exponential time to parse, but this time is not doubled anymore when this list terminates paragraph. | |||||
2018-02-06 | Muse reader: implement paraUntil | Alexander Krotov | 1 | -8/+36 | |
paraUntil does not discard the result of the following block parsing. This change is a part of Muse reader refactoring to avoid reparsing. | |||||
2018-02-05 | INSTALL.md: mentioning Stack version. (#4343) | Adam Brandizzi | 1 | -1/+1 | |
2018-02-05 | Update default.nix to current nixpkgs-unstable for hslua-0.9.5 (#4348) | jarlg | 1 | -8/+3 | |
2018-02-05 | Muse reader: avoid parsing newline after paragraph twice | Alexander Krotov | 1 | -5/+3 | |
Removed lookAhead from blankline, so it is consumed. | |||||
2018-02-05 | Muse reader: make block parsers responsible for parsing newline | Alexander Krotov | 1 | -3/+5 | |
Block parsers must always stop after newline or at the end of file. | |||||
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-02-04 | Muse reader: simplify listItemContents' with sepBy1 | Alexander Krotov | 1 | -4/+2 | |
2018-02-03 | C -> c. | John MacFarlane | 1 | -1/+1 | |
2018-02-03 | Muse writer: write image width specified in percent in Text::Amuse mode | Alexander Krotov | 2 | -2/+10 | |
2018-02-02 | Determine image size for PDFs. | John MacFarlane | 1 | -1/+22 | |
Closes #4322. | |||||
2018-02-01 | Use latest pandoc-citeproc. | John MacFarlane | 2 | -2/+2 | |
2018-02-01 | TEI writer: Use height instead of depth for images. | John MacFarlane | 1 | -1/+1 | |
Closes #4331. | |||||
2018-02-01 | Bump blaze-markup, blaze-html lower bounds to 0.8, 0.9. | John MacFarlane | 1 | -2/+2 | |
This is needed because the type constructor Empty in MarkupM has changed, and the HTML writer assumes the constructor has an argument. Closes #4334. | |||||
2018-01-31 | Muse reader: replace ParserState with MuseState | Alexander Krotov | 1 | -29/+104 | |
2018-01-31 | Export list marker parsers from Text.Pandoc.Parsing | Alexander Krotov | 1 | -0/+5 | |
2018-01-30 | Muse writer: don't wrap displayMath into <verse> | Alexander Krotov | 3 | -7/+4 | |
<verse> is a block tag and displayMath is an inline element. Writing <verse> around displayMath could result in nested <verse> tags. | |||||
2018-01-29 | Muse writer: escape nonbreaking space ("~~") | Alexander Krotov | 2 | -1/+3 | |
2018-01-29 | Muse reader: simplify block tag parsing code | Alexander Krotov | 1 | -21/+12 | |
2018-01-29 | Muse reader: parse inline <literal> without parseFromString | Alexander Krotov | 1 | -2/+1 | |
2018-01-29 | Muse reader: parse <comment> and <verbatim> without parseFromString | Alexander Krotov | 1 | -4/+2 | |
2018-01-28 | MANUAL.txt: self-contained implies standalone (#4304) | Daniel Lublin | 1 | -7/+7 | |
2018-01-28 | CONTRIBUTING.md: label was renamed. (#4310) | Adam Brandizzi | 1 | -2/+2 | |
See https://groups.google.com/forum/#!msg/pandoc-discuss/mrFsj5RzNFA/Pnd3zubWBwAJ;context-place=searchin/pandoc-discuss/%22good$20first$20issue%22%7Csort:date | |||||
2018-01-28 | Muse reader: parse verse tag contents without parseFromString | Alexander Krotov | 1 | -4/+3 | |
2018-01-28 | Muse reader: make verseLine return Inlines, not String | Alexander Krotov | 1 | -4/+4 | |
2018-01-28 | Muse reader: parse directives without parseFromString | Alexander Krotov | 1 | -7/+5 | |
2018-01-28 | Muse reader: fix parsing of trailing whitespace | Alexander Krotov | 2 | -8/+7 | |
Newline after whitespace now results in softbreak instead of space. | |||||
2018-01-28 | Muse reader: simplify paragraph parsing | Alexander Krotov | 1 | -3/+2 | |
Blank lines are already handled by blockElements. | |||||
2018-01-27 | Docx writer tests: correct test name. | Jesse Rosenthal | 1 | -1/+1 | |
2018-01-27 | Docx writer tests: Add tests for custom styles | Jesse Rosenthal | 4 | -0/+10 | |
2018-01-27 | Add docx golden tests to cabal file. | Jesse Rosenthal | 1 | -0/+1 | |
2018-01-27 | Docx writer tests: Use new golden framework | Jesse Rosenthal | 27 | -127/+120 | |
These are based off the reader tests, with some removed (where the reader output was identical, based on different docx inputs). There are still more to be added. In particular, tests for custom-styles need to be added. All golden docx files have been checked in MS Word 2013 (windows). There is no corruption. There is questionable output in the `tables` test: the three tables seemed to be joined. This will be addressed in a future commit, and the golden docx file will be changed. | |||||
2018-01-27 | Docx writer: make more deterministic to facilitate testing | Jesse Rosenthal | 1 | -10/+16 | |
This will allow us to compare files directly in a golden test. Times are still based on IO, but we will be able to safely skip those. Changes: - `getUniqueId` now calls to the state to get an incremented digit, instead of calling to P.uniqueHash. - we always start the PRNG in mkNumbering/mkAbstractNum with the same seed (1848), so our randoms should be the same each time. |