Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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-04 | Muse reader: simplify listItemContents' with sepBy1 | Alexander Krotov | 1 | -4/+2 | |
2018-01-31 | Muse reader: replace ParserState with MuseState | Alexander Krotov | 1 | -29/+104 | |
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-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-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 | hlint code improvements. | John MacFarlane | 19 | -129/+116 | |
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 | 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 | 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. | |||||
2018-01-18 | Muse reader: parse "~~" as non-breaking space in Text::Amuse mode | Alexander Krotov | 1 | -2/+1 | |
Latest Text::Amuse supports "~~" | |||||
2018-01-18 | Muse reader: refactor list parsing | Alexander Krotov | 1 | -75/+65 | |
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-18 | Muse reader: code cleanup | Alexander Krotov | 1 | -2/+2 | |
2018-01-17 | Markdown reader: don't coalesce adjacent raw LaTeX blocks... | John MacFarlane | 1 | -3/+9 | |
if they are separated by a blank line. See lierdakil/pandoc-crossref#160 for motivation. | |||||
2018-01-16 | Docx reader: Parse hyperlinks in instrText tags | Jesse Rosenthal | 1 | -2/+4 | |
This was a form of hyperlink found in older versions of word. The changes introduced for this, though, create a framework for parsing further fields in MS Word (see the spec, ECMA-376-1:2016, ยง17.16.5, for more on these fields). Closes #3389 and #4266. | |||||
2018-01-16 | Docx reader: Parse instrText info in fldChar tags. | Jesse Rosenthal | 2 | -5/+102 | |
We introduce a new module, Text.Pandoc.Readers.Docx.Fields which contains a simple parsec parser. At the moment, only simple hyperlink fields are accepted, but that can be extended in the future. | |||||
2018-01-16 | Docx reader: Parse fldChar tags | Jesse Rosenthal | 2 | -5/+84 | |
This will allow us to parse instrTxt inside fldChar tags. | |||||
2018-01-15 | HTML reader: Fix col width parsing for percentages < 10% (#4262) | n3fariox | 1 | -3/+6 | |
Rather than take user input, and place a "0." in front, actually calculate the percentage to catch cases where small column sizes (e.g. `2%`) are needed. | |||||
2018-01-14 | RST reader: add aligned environment when needed in math. | John MacFarlane | 1 | -2/+7 | |
rst2latex.py uses an align* environment for math in `.. math::` blocks, so this math may contain line breaks. If it does, we put the math in an `aligned` environment to simulate rst2latex.py's behavior. Closes #4254. | |||||
2018-01-14 | Markdown reader: Improved inlinesInBalancedBrackets. | John MacFarlane | 1 | -13/+21 | |
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 | LaTeX reader: Advance source position at end of stream. | John MacFarlane | 1 | -1/+1 | |
2018-01-13 | LaTeX reader: pass through macro defs in rawLaTeXBlock... | John MacFarlane | 1 | -4/+2 | |
even if the `latex_macros` extension is set. This reverts to earlier behavior and is probably safer on the whole, since some macros only modify things in included packages, which pandoc's macro expansion can't modify. Closes #4246. | |||||
2018-01-13 | LaTeX reader: fixed pos calculation in tokenizing escaped space. | John MacFarlane | 1 | -3/+6 | |
2018-01-13 | LaTeX reader: allow macro definitions inside macros. | John MacFarlane | 1 | -6/+9 | |
Previously we went into an infinite loop with ``` \newcommand{\noop}[1]{#1} \noop{\newcommand{\foo}[1]{#1}} \foo{hi} ``` See #4253. | |||||
2018-01-10 | RST reader: better handling for headers with an anchor. | John MacFarlane | 1 | -2/+12 | |
Instead of creating a div containing the header, we put the id directly on the header. This way header promotion will work properly. Closes #4240. |