Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-06 | Muse reader: debug list and list item separation rules (#3837) | Alexander | 1 | -5/+4 | |
2017-08-03 | Muse reader: do not allow headers in blockquotes (#3831) | Alexander Krotov | 1 | -1/+1 | |
2017-08-03 | Muse reader: do not parse blocks inside comments (#3828) | Alexander Krotov | 1 | -1/+1 | |
2017-07-21 | Muse reader: fix reading of lists inside tags (#3802) | Alexander Krotov | 1 | -3/+2 | |
2017-07-07 | Rewrote LaTeX reader with proper tokenization. | John MacFarlane | 1 | -1/+1 | |
This rewrite is primarily motivated by the need to get macros working properly. A side benefit is that the reader is significantly faster (27s -> 19s in one benchmark, and there is a lot of room for further optimization). We now tokenize the input text, then parse the token stream. Macros modify the token stream, so they should now be effective in any context, including math. Thus, we no longer need the clunky macro processing capacities of texmath. A custom state LaTeXState is used instead of ParserState. This, plus the tokenization, will require some rewriting of the exported functions rawLaTeXInline, inlineCommand, rawLaTeXBlock. * Added Text.Pandoc.Readers.LaTeX.Types (new exported module). Exports Macro, Tok, TokType, Line, Column. [API change] * Text.Pandoc.Parsing: adjusted type of `insertIncludedFile` so it can be used with token parser. * Removed old texmath macro stuff from Parsing. Use Macro from Text.Pandoc.Readers.LaTeX.Types instead. * Removed texmath macro material from Markdown reader. * Changed types for Text.Pandoc.Readers.LaTeX's rawLaTeXInline and rawLaTeXBlock. (Both now return a String, and they are polymorphic in state.) * Added orgMacros field to OrgState. [API change] * Removed readerApplyMacros from ReaderOptions. Now we just check the `latex_macros` reader extension. * Allow `\newcommand\foo{blah}` without braces. Fixes #1390. Fixes #2118. Fixes #3236. Fixes #3779. Fixes #934. Fixes #982. | |||||
2017-06-28 | Muse reader: parse indented blockquotes (#3769) | Alexander Krotov | 1 | -1/+22 | |
2017-06-26 | Muse reader: fix horizontal rule parsing (#3762) | Alexander Krotov | 1 | -2/+4 | |
Do not parse 3 dashes as horizontal rule and allow whitespace after rule | |||||
2017-06-26 | Muse reader: simplify para implementation (#3761) | Alexander Krotov | 1 | -3/+1 | |
2017-06-25 | Muse reader: Require space before and after '=' for code (#3758) | Alexander Krotov | 1 | -3/+10 | |
2017-06-20 | Move CR filtering from tabFilter to the readers. | John MacFarlane | 1 | -1/+2 | |
The readers previously assumed that CRs had been filtered from the input. Now we strip the CRs in the readers themselves, before parsing. (The point of this is just to simplify the parsers.) Shared now exports a new function `crFilter`. [API change] And `tabFilter` no longer filters CRs. | |||||
2017-06-20 | Muse reader: check that headers start at the first column (#3749) | Alexander Krotov | 1 | -0/+2 | |
2017-06-19 | Separated tracing from logging. | John MacFarlane | 1 | -3/+2 | |
Formerly tracing was just log messages with a DEBUG log level. We now make these things independent. Tracing can be turned on or off in PandocMonad using `setTrace`; it is independent of logging. * Removed `DEBUG` from `Verbosity`. * Removed `ParserTrace` from `LogMessage`. * Added `trace`, `setTrace` to `PandocMonad`. | |||||
2017-06-19 | Muse reader: fix list item continuation parsing (#3747) | Alexander Krotov | 1 | -2/+2 | |
2017-06-19 | Add Muse reader (#3620) | Alexander Krotov | 1 | -0/+577 | |