Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-07 | RST reader: don't allow single-dash separator in headerless table. | John MacFarlane | 1 | -1/+3 | |
Closes #4382. | |||||
2018-10-07 | LaTeX reader: fix bugs omitting raw tex. | John MacFarlane | 1 | -2/+7 | |
The default is `-raw_tex`, so no raw tex should result unless we explicitly say `+raw_tex`. Previously some raw commands did make it through. Closes #4527. | |||||
2018-10-07 | RST reader: pass through fields in unknown directives as div attributes. | John MacFarlane | 1 | -17/+20 | |
This commit also adds support for `class` and `name` attributes to directives in general. Closes #4715. | |||||
2018-10-06 | Moved Haddock comment in Muse reader | Alexander Krotov | 1 | -4/+3 | |
2018-10-05 | Org reader: fix behavior for successive calls of `#+EXCLUDE_TAGS`. (#4951) | Brian Leung | 2 | -8/+13 | |
Calling `#+EXCLUDE_TAGS` multiple times should preserve the status of the previously declared tags. | |||||
2018-10-05 | Org reader: Add partial support for `#+EXCLUDE_TAGS` option. (#4950) | Brian Leung | 4 | -7/+32 | |
Closes #4284. Headers with the corresponding tags should not appear in the output. If one or more of the specified tags contains a non-tag character like `+`, Org-mode will not treat that as a valid tag, but will nonetheless continue scanning for valid tags. That behavior is not replicated in this patch; entering `cat+dog` as one of the entries in `#+EXCLUDE_TAGS` and running the file through Pandoc will cause the parser to fail and result in the only excluded tag being the default, `noexport`. | |||||
2018-10-05 | Fixed haddock error in Muse reader. | John MacFarlane | 1 | -1/+2 | |
2018-10-05 | Muse reader: remove redundant bracket | Alexander Krotov | 1 | -1/+1 | |
2018-10-05 | Muse reader: move museInLink state into ReaderT | Alexander Krotov | 1 | -11/+14 | |
2018-10-05 | Muse reader: use getIndent more for code cleanup | Alexander Krotov | 1 | -7/+4 | |
2018-10-05 | Muse reader: use getIndent in parseHtmlContent | Alexander Krotov | 1 | -7/+6 | |
2018-10-05 | Muse reader: make bulletListUntil similar to definitionListUntil | Alexander Krotov | 1 | -2/+1 | |
2018-10-05 | Muse reader: reduce duplication by introducing `getIndent` | Alexander Krotov | 1 | -9/+7 | |
2018-10-05 | Muse reader internals: simplify parseMuse | Alexander Krotov | 1 | -6/+2 | |
2018-10-05 | Muse reader: get rid of TagSoup import | Alexander Krotov | 1 | -2/+1 | |
2018-10-05 | Muse reader: simplify verse parsers | Alexander Krotov | 1 | -18/+7 | |
2018-10-05 | Muse reader: allow table caption to contain "+" | Alexander Krotov | 1 | -1/+1 | |
2018-10-04 | Docx reader: trigger bold/italic with bCs, iCs. | John MacFarlane | 1 | -2/+4 | |
These are variants for "complex scripts" like Arabic and are now treated just like b, i (bold, italic). Colses #4947. | |||||
2018-10-04 | Add lookupMeta* functions to Text.Pandoc.Writers.Shared (#4907) | Mauro Bieg | 1 | -8/+1 | |
Remove exported functions `metaValueToInlines`, `metaValueToString`. Add new exported functions `lookupMetaBool`, `lookupMetaBlocks`, `lookupMetaInlines`, `lookupMetaString`. Use these whenever possible for uniformity in writers. API change (major, because of removed function `metaValueToInlines`. `metaValueToString` wasn't in any released version.) | |||||
2018-10-04 | Vimwiki reader: code cleanup | Alexander Krotov | 1 | -11/+7 | |
2018-10-03 | TWiki reader: hlint | Alexander Krotov | 1 | -61/+50 | |
2018-10-01 | Moved isArgTok to Readers.LaTeX.Parsing. | John MacFarlane | 2 | -5/+6 | |
2018-10-01 | Moved babelLangToBCP, polyglossiaLangToBCP to new module... | John MacFarlane | 2 | -134/+175 | |
Text.Pandoc.Readers.LaTeX.Lang (unexported). | |||||
2018-09-30 | LaTeX reader: simplified accent code using unicode-transforms. | John MacFarlane | 1 | -322/+33 | |
New dependency on unicode-transforms package for normalization. | |||||
2018-09-29 | LaTeX reader: allow verbatim blocks ending with blank lines. | John MacFarlane | 1 | -1/+14 | |
Closes #4624. | |||||
2018-09-29 | LaTeX reader: support breq math environments: dmath, dgroup, darray. | John MacFarlane | 1 | -0/+6 | |
2018-09-28 | Added Text.Pandoc.Readers.LaTeX.Parsing (unexported). | John MacFarlane | 2 | -557/+666 | |
This collects some of the general-purpose code from the LaTeX reader, with the aim of making the module smaller. (We've been having out-of-memory issues compiling this module on CI.) | |||||
2018-09-28 | Parse empty argument array in inline src blocks. | leungbk | 1 | -1/+2 | |
`enclosedByPair` alone does not the handle the empty array properly since it uses `many1Till`. | |||||
2018-09-26 | Force inline code blocks to honor export options. | leungbk | 3 | -6/+8 | |
`exportsCode` is moved from `Blocks.hs` to `Shared.hs` and exported accordingly. | |||||
2018-09-25 | Add support for multiprenote and multipostnote arguments in LaTeX. (#4930) | Brian Leung | 1 | -1/+34 | |
* Add support for multiprenote and multipostnote arguments. The multiprenotes occur before the first prefix of a multicite, and the multipostnotes follow the last suffix. * Add test for multiprenote and multipostnote. | |||||
2018-09-24 | Muse reader: replace inlineList with inline' | Alexander Krotov | 1 | -29/+29 | |
2018-09-24 | Muse reader: replace `optionMaybe` and `fromMaybe` with `option` | Alexander Krotov | 1 | -2/+2 | |
2018-09-21 | Muse reader: simplify tag parsers | Alexander Krotov | 1 | -21/+19 | |
2018-09-21 | Muse reader: use isAlphaNum instead of isLetter and isDigit | Alexander Krotov | 1 | -2/+2 | |
2018-09-21 | Muse reader: do not allow code markup to be followed by digit | Alexander Krotov | 1 | -2/+2 | |
2018-09-21 | Muse reader: simplify ordered list parsing | Alexander Krotov | 1 | -11/+4 | |
2018-09-21 | Muse reader: rewrite headingStart in applicative style | Alexander Krotov | 1 | -7/+5 | |
and remove heading level limit | |||||
2018-09-21 | Muse reader: refactoring | Alexander Krotov | 1 | -18/+21 | |
2018-09-21 | Muse reader: simplify <literal> tag parsers | Alexander Krotov | 1 | -17/+9 | |
2018-09-21 | Muse reader: cleanup and conversion to applicative style | Alexander Krotov | 1 | -95/+75 | |
2018-09-21 | Muse reader: simplify lchop | Alexander Krotov | 1 | -3/+2 | |
2018-09-20 | RST reader: fix bug with internal link targets. | John MacFarlane | 1 | -1/+1 | |
They were gobbling up indented content underneath. Closes #4919. | |||||
2018-09-19 | Markdown reader: distinguish autolinks in the AST. | John MacFarlane | 1 | -5/+7 | |
With this change, autolinks are parsed as Links with the `uri` class. (The same is true for bare links, if the `autolink_bare_uris` extension is enabled.) Email autolinks are parsed as Links with the `email` class. This allows the distinction to be represented in the URI. Formerly the `uri` class was added to autolinks by the HTML writer, but it had to guess what was an autolink and could not distinguish `[http://example.com](http://example.com)` from `<http://example.com>`. It also incorrectly recognized `[pandoc](pandoc)` as an autolink. Now the HTML writer simply passes through the `uri` attribute if it is present, but does not add anything. The Textile writer has been modified so that the `uri` class is not explicitly added for autolinks, even if it is present. Closes #4913. | |||||
2018-09-19 | Muse reader: parse Text instead of String | Alexander Krotov | 1 | -3/+5 | |
Benchmark shows 7% improvement | |||||
2018-09-19 | hlint Muse reader | Alexander Krotov | 1 | -6/+5 | |
2018-09-19 | Muse reader: get rid of HTML parser dependency | Alexander Krotov | 1 | -5/+13 | |
2018-09-19 | Muse reader: use openTag and closeTag everywhere | Alexander Krotov | 1 | -4/+4 | |
2018-09-19 | Muse reader: make openTag return association list | Alexander Krotov | 1 | -5/+5 | |
2018-09-19 | Muse reader: add openTag and closeTag functions | Alexander Krotov | 1 | -18/+19 | |
2018-09-18 | parse rST inlines containing newlines closing #4912 | danse | 1 | -1/+1 | |
this eliminates a regression error introduced after pandoc 2.1.1, affecting rST inline parsing. see the issue for details |