Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | 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 | 1 | -8/+1 | |
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: 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. | |||||
2018-01-27 | Docx writer: Fix ids in comment writing | Jesse Rosenthal | 1 | -9/+17 | |
Comments from `--track-changes=all` were producing corrupt docx, because the writer was trying to get id from the `(ID,_,_)` field of the attributes, and ignoring the "id" entry in the key-value pairs. We now check both. There is a larger conversation to be had about the right way to treat "id" and "class" entries in kvs, but this fix will correctly interpret the output of the docx reader work. | |||||
2018-01-25 | ConTeXt writer: new section syntax and --section-divs (#4295) | Henri Menke | 1 | -17/+37 | |
Fixes #2609. This PR introduces the new-style section headings: `\section[my-header]{My Header}` -> `\section[title={My Header},reference={my-header}]`. On top of this, the ConTeXt writer now supports the `--section-divs` option to write sections in the fenced style, with `\startsection` and `\stopsection`. | |||||
2018-01-25 | Dock writer: Fix deletion track changes | Jesse Rosenthal | 1 | -6/+6 | |
This had been mistakenly written as a second insertion function. Closes: #4303 | |||||
2018-01-24 | Muse reader: fix matching of closing inline tags | Alexander Krotov | 1 | -2/+3 | |
2018-01-24 | Muse reader: remove `block` function | Alexander Krotov | 1 | -7/+4 | |
2018-01-23 | Lua filters: store constructors in registry | Albert Krewinkel | 3 | -3/+29 | |
Lua functions used to construct AST element values are stored in the Lua registry for quicker access. Getting a value from the registry is much faster than getting a global value (partly to idiosyncrasies of hslua); this change results in a considerable performance boost. | |||||
2018-01-23 | Lua: move getTag from StackInstances to Util | Albert Krewinkel | 2 | -13/+17 | |
Change: minor | |||||
2018-01-23 | ConTeXt writer: xtables: correct wrong usage of caption | Henri Menke | 1 | -1/+1 | |
2018-01-22 | Muse writer: join code with different attributes during normalization | Alexander Krotov | 1 | -2/+2 | |
2018-01-22 | Muse writer: indent lists inside Div | Alexander Krotov | 1 | -1/+1 | |
2018-01-21 | Merge pull request #4237 from sitewisely/header_and_footer | John MacFarlane | 1 | -0/+4 | |
Add header and footer parameters for wkhtmltopdf | |||||
2018-01-21 | Muse reader: embed parseBlocks into parseMuse | Alexander Krotov | 1 | -8/+2 | |
2018-01-21 | Muse reader: make listItem generic | Alexander Krotov | 1 | -3/+3 | |
2018-01-20 | Markdown reader: Fix parsing bug with nested fenced divs. | John MacFarlane | 1 | -2/+0 | |
Closes #4281. Previously we allowed "nonindent spaces" before the opening and closing `:::`, but this interfered with list parsing, so now we require the fences to be flush with the margin of the containing block. | |||||
2018-01-21 | Muse reader: simplify paragraph parsing | Alexander Krotov | 1 | -2/+1 | |
Blanklines are already consumed during block parsing, there is no need to check for them specifically. | |||||
2018-01-20 | RST reader: fix parsing of headers with trailing space. | John MacFarlane | 1 | -1/+1 | |
This was a regression in pandoc 2.0. Closes #4280. | |||||
2018-01-20 | Docx reader: Use already imported operator | Jesse Rosenthal | 1 | -1/+1 | |
This fixes an import error in the last commit. | |||||
2018-01-20 | Docx reader: small change to Fields hyperlink parser | Jesse Rosenthal | 1 | -1/+1 | |
Previously, unquoted string required a space at the end of the line (and consumed it). Now we either take a space (and don't consume it), or end of input. | |||||
2018-01-19 | Conditional import to avoid warning. | John MacFarlane | 1 | -2/+5 | |
2018-01-19 | hlint code improvements. | John MacFarlane | 42 | -234/+207 | |
2018-01-19 | Merge pull request #4259 from italia/4248 | John MacFarlane | 1 | -25/+17 | |
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 | -11/+10 | |
2018-01-19 | LaTeX reader: fixed parsing of tabular* environment. | John MacFarlane | 1 | -1/+1 | |
This was just a typo in the source. Closes #4279. | |||||
2018-01-19 | Muse reader: remove duplicate variable in definitionListItem | Alexander Krotov | 1 | -2/+1 | |
2018-01-19 | remove `blockToRST'` moving its logic into `fixBlocks` | danse | 1 | -32/+13 | |
2018-01-19 | in RST writer insert comment between lists and quotes, closes #4248 | danse | 1 | -1/+12 | |
2018-01-19 | Muse writer: support definitions with multiple descriptions | Alexander Krotov | 1 | -4/+7 | |
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 | -1/+2 | |
2018-01-19 | Muse reader: parse verse without parseFromString | Alexander Krotov | 1 | -10/+12 | |
2018-01-19 | Muse reader: remove commented out code | Alexander Krotov | 1 | -1/+0 | |
2018-01-19 | Muse reader: parse Emacs Muse directives without parseFromString | Alexander Krotov | 1 | -4/+2 | |
Also require space (not newline) after directive name. | |||||
2018-01-19 | Muse reader: parse link text without parseFromString | Alexander Krotov | 1 | -2/+1 | |
2018-01-19 | Muse reader: simplify tableParseCaption | Alexander Krotov | 1 | -3/+1 | |
2018-01-19 | Muse reader: parse definition list terms without parseFromString | Alexander Krotov | 1 | -17/+13 | |
2018-01-19 | Muse reader: do not remove trailing whitespace from <code> | Alexander Krotov | 1 | -1/+1 | |
2018-01-18 | Powerpoint writer: Implement syntax highlighting | Jesse Rosenthal | 2 | -24/+82 | |
This also necessitated implementing colors and underlining, though there is currently no way to produce these from markdown. Note that background colors can't be implemented in PowerPoint, so highlighting styles that require these will be incomplete. | |||||
2018-01-18 | Clean up T.P.W.OOXML file, and add copyright. | Jesse Rosenthal | 1 | -41/+40 | |
2018-01-18 | Powerpoint writer: Make our own docProps/core.xml file. | Jesse Rosenthal | 2 | -11/+37 | |
This allows us to set document metadata properties from pandoc metadata. | |||||
2018-01-18 | Powerpoint writer: Add docProps to Presentation datatype. | Jesse Rosenthal | 2 | -12/+39 | |
This picks up the necessary information from meta and carries it over to the XML output, so Output.hs doesn't need access to the original pandoc information. | |||||
2018-01-18 | Muse reader: fix parsing of code at the beginning of paragraph | Alexander Krotov | 1 | -6/+2 | |
2018-01-18 | Muse reader: refactor definition list parsing | Alexander Krotov | 1 | -17/+15 | |
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. |