Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-11-02 | Fix readWithM with Stream. | John MacFarlane | 2 | -5/+3 | |
2018-11-02 | Revert "Revert "Roff reader: custom Stream type."" | John MacFarlane | 1 | -27/+51 | |
This reverts commit a64063af62351cc31006a855a59df884e0892834. | |||||
2018-11-02 | Revert "Roff reader: custom Stream type." | John MacFarlane | 1 | -51/+27 | |
This reverts commit 211f7ffc78ea1df49a685ac1160fa3942b3a3569. We were getting stack overflows. Not sure why. | |||||
2018-11-02 | Roff reader: custom Stream type. | John MacFarlane | 1 | -27/+51 | |
So far, this is just a shell. But it will allow us to expand macro strings while getting tokens, when we add a custom uncons instance. | |||||
2018-11-02 | T.P.Parsing: Generalize readWithM to any Char Stream. | John MacFarlane | 1 | -5/+12 | |
[API change] | |||||
2018-11-02 | Roff reader: improve lexing of conditionals. | John MacFarlane | 1 | -28/+49 | |
Partially addreses #5039. | |||||
2018-11-01 | Text.Pandoc.App: improved detection of format based on extension. | John MacFarlane | 1 | -83/+66 | |
We now ensure that if someone tries to convert a file for a format that has a pandoc writer but not a reader, it won't just default to markdown. | |||||
2018-11-01 | Change 'groff' -> 'roff'. | John MacFarlane | 5 | -12/+12 | |
These formats (man, ms) are not groff-specific. | |||||
2018-11-01 | Implement --ascii for Markdown writer. | John MacFarlane | 1 | -23/+35 | |
2018-11-01 | HTML writer: use character entities references when possible for HTML5. | John MacFarlane | 1 | -2/+8 | |
2018-11-01 | Text.Pandoc.XML: add toHtml5Entities. | John MacFarlane | 1 | -0/+18 | |
[API change] | |||||
2018-11-01 | Remove unnecessary hiding in Class.hs | Alexander Krotov | 1 | -1/+0 | |
2018-11-01 | Remove Monad constraint implied by Stream | Alexander Krotov | 1 | -6/+6 | |
2018-11-01 | hlint Parsing.hs | Alexander Krotov | 1 | -11/+9 | |
2018-11-01 | LaTeX writer: remove unused local bind | Alexander Krotov | 1 | -1/+1 | |
2018-11-01 | Make `uri` accept any stream with Char tokens | Alexander Krotov | 1 | -1/+1 | |
2018-11-01 | Rewrite "uri" without "withRaw" | Alexander Krotov | 1 | -17/+16 | |
2018-10-31 | Work around HXT limitation for --syntax-definition with windows drive. | John MacFarlane | 1 | -2/+9 | |
Closes #4836. | |||||
2018-10-31 | ZimWiki writer: number ordered list items sequentially... | John MacFarlane | 1 | -28/+24 | |
rather than always with 1. | |||||
2018-10-31 | LaTeX writer: add newline if math ends in a comment. | John MacFarlane | 1 | -2/+12 | |
This prevents the closing delimiter from being swalled up in the comment. Closes #4880. | |||||
2018-10-30 | Roff reader: rename RoffToken constructors so they're shorter. | John MacFarlane | 2 | -50/+50 | |
2018-10-30 | Roff reader: renamed constructors for RoffToken... | John MacFarlane | 2 | -50/+50 | |
to more closely match nomenclature from man 7 groff. | |||||
2018-10-30 | Roff reader: removed MacroKind alias. | John MacFarlane | 2 | -6/+3 | |
2018-10-30 | Roff reader: properly handle unknown backslash escapes. | John MacFarlane | 1 | -1/+4 | |
They are treated as regular characters, according to groff 7. Cloess #5034. | |||||
2018-10-31 | Generalize gridTableWith to any streams with Char tokens | Alexander Krotov | 1 | -16/+18 | |
2018-10-31 | Generalize parseFromString' | Alexander Krotov | 1 | -3/+3 | |
2018-10-31 | Generalize parseFromString to any streams with Char token | Alexander Krotov | 1 | -4/+5 | |
2018-10-29 | ZimWiki writer: remove extra indentation on lists. | John MacFarlane | 1 | -8/+8 | |
Closes #4963. | |||||
2018-10-29 | LaTeX reader: allow space at end of math after `\`. | John MacFarlane | 3 | -3/+13 | |
Closes #5010. Expose trimMath from T.P.Shared. | |||||
2018-10-29 | Roff reader: improved escape parsing. | John MacFarlane | 2 | -61/+68 | |
Closes #5032. This also removes the FontSize constructor from LinePart. We don't need this yet. | |||||
2018-10-28 | Roff tokenizer: allow `\*~` etc. | John MacFarlane | 1 | -1/+1 | |
2018-10-28 | Roff tokenizer: handle e.g. `\*n`. | John MacFarlane | 1 | -1/+1 | |
2018-10-28 | Roff tokenizer: better handling of escapes. | John MacFarlane | 1 | -10/+39 | |
2018-10-28 | Roff reader: introduce normal/copy mode distinction. | John MacFarlane | 1 | -4/+33 | |
2018-10-28 | Roff reader: use escapeArg in macroArg. | John MacFarlane | 1 | -3/+8 | |
2018-10-28 | Roff tokenizer: refactor escString. | John MacFarlane | 1 | -15/+6 | |
2018-10-28 | Roff tokenizer: revamped font parsing using escapeArg. | John MacFarlane | 1 | -62/+59 | |
Add support for \C'...' escapes. | |||||
2018-10-28 | Roff tokenizer: abstract out patterns: escapeArg, quoteArg. | John MacFarlane | 1 | -27/+27 | |
2018-10-28 | Roff tokenizer: allow space before ( in table options. | John MacFarlane | 1 | -1/+2 | |
2018-10-28 | EPUB writer: use metadata field `css` instead of `stylesheet` | mb21 | 1 | -3/+4 | |
closes #4990 | |||||
2018-10-28 | T.P.Filter: centralize filter path expansion | Albert Krewinkel | 3 | -12/+16 | |
2018-10-28 | T.P.Lua: expose more useful internals (API change) | Albert Krewinkel | 5 | -30/+37 | |
Newly exported from Text.Pandoc.Lua: - `runFilterFile` to run a Lua filter from file; - data type `Global` and its constructors; and - `setGlobals` to add globals to a Lua environment. This module also contains `Pushable` and `Peekable` instances required to get pandoc's data types to and from Lua. Low-level Lua operation remain hidden in Text.Pandoc.Lua. | |||||
2018-10-28 | T.P.Lua: rename `runPandocLua` to `runLua` (API change) | Albert Krewinkel | 4 | -9/+9 | |
2018-10-28 | T.P.Lua: merge runLuaFilter into T.P.Filter.Lua (API change) | Albert Krewinkel | 3 | -52/+42 | |
The function `runLuaFilter` was only used in Text.Pandoc.Filter.Lua, use apply from the that module instead. | |||||
2018-10-28 | Man reader: improved code blocks as continuation in list items. | John MacFarlane | 1 | -5/+7 | |
2018-10-28 | Man reader: allow both .in and .IP to indent code block. | John MacFarlane | 1 | -1/+2 | |
2018-10-28 | Man reader: skip .in used for indentation of code. | John MacFarlane | 1 | -1/+2 | |
2018-10-28 | Man reader: .PP in code blocks as blank line. | John MacFarlane | 1 | -0/+1 | |
2018-10-28 | Man reader: handle inline macros like .BI in code blocks. | John MacFarlane | 1 | -38/+58 | |
The font changes are discarded, but at least we keep the text. | |||||
2018-10-28 | Hlint changes. | John MacFarlane | 2 | -10/+9 | |