Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2018-09-16 | Markdown reader: example_lists should work without startnum. | John MacFarlane | 1 | -1/+3 | |
Closes #4908. | |||||
2018-09-15 | introduce --metadata-file option | mb21 | 1 | -2/+14 | |
closes #1960 API change: Text.Pandoc.Readers.Markdown exports now `yamlToMeta` | |||||
2018-09-15 | Markdown Reader: factor out yamlMap | mb21 | 1 | -40/+27 | |
2018-09-15 | Markdown Reader: factor out yamlBsToMeta | mb21 | 1 | -4/+8 | |
2018-09-15 | Markdown Reader: rename yamlToMeta to yamlToMetaValue | mb21 | 1 | -9/+9 | |
2018-09-09 | LaTeX reader: resolve `\ref` for figure numbers. | John MacFarlane | 1 | -12/+41 | |
2018-09-07 | HTML reader: parse `<script type="math/tex` tags as math. | John MacFarlane | 1 | -0/+12 | |
These are used by MathJax. Closes #4877. | |||||
2018-09-06 | Org reader: respect export option `p` for planning info | Albert Krewinkel | 3 | -2/+28 | |
Inclusion of planning info (*DEADLINE*, *SCHEDULED*, and *CLOSED*) can be controlled via the `p` export option: setting the option to `t` will add all planning information in a *Plain* block below the respective headline. | |||||
2018-09-06 | Org reader internals: disable some GHC extensions | Albert Krewinkel | 1 | -26/+32 | |
The RecordWildCards and ViewPatterns language extensions can be used to shorten code, but usually also makes it harder to read. The DocumentTree module was hence refactored and no longer relies on these extensions. | |||||
2018-09-05 | Org reader: strip planning info from output | Albert Krewinkel | 1 | -1/+35 | |
Planning info is parsed, but not included in the output (as is the default with Emacs Org-mode). Fixes: #4867 | |||||
2018-09-02 | Muse reader: autonumber sections in the correct order | Alexander Krotov | 1 | -4/+16 | |
Parsing now stops at each section header to ensure the header is registered before parsing of the next section starts. | |||||
2018-09-02 | Muse reader: move duplicate code into "headingStart" function | Alexander Krotov | 1 | -9/+10 | |
2018-09-02 | Muse reader: allow newline after opening "*" or "**" | Alexander Krotov | 1 | -1/+9 | |
Emacs Muse allows this. | |||||
2018-08-31 | Muse reader: parse <verse> tag in one pass | Alexander Krotov | 1 | -8/+11 | |
instead of using parseFromString. This change makes it possible to have verbatim </verse> tag inside verse. | |||||
2018-08-30 | Muse reader: hlint | Alexander Krotov | 1 | -2/+2 | |
2018-08-29 | LaTeX reader: fixed parsing of \texorpdfstring. | John MacFarlane | 1 | -1/+1 | |
We were returning the wrong argument as the content. | |||||
2018-08-29 | RSTR reader: don't skip link definitions after comments. | John MacFarlane | 1 | -0/+1 | |
Closes #4860. | |||||
2018-08-24 | HTML reader: allow enabling `raw_tex` extension. | John MacFarlane | 1 | -3/+28 | |
This now allows raw LaTeX environments, `\ref`, and `\eqref` to be parsed (which is helpful for translation HTML documents using MathJaX). Closes #1126. | |||||
2018-08-22 | HTML reader: extract spaces inside links instead of trimming them | Alexander Krotov | 1 | -3/+3 | |
Fixes #4845 | |||||
2018-08-21 | LaTeX reader: support blockcquote, foreignblockquote from csquotes. | John MacFarlane | 1 | -5/+19 | |
Also foreigncblockquote, hyphenblockquote, hyphencblockquote. Closes #4848. But note: currently foreignquote will be parsed as a regular Quoted inline (not using the quotes appropriate to the foreign language). | |||||
2018-08-21 | LaTeX reader: support enquote*, foreignquote, hypphenquote... | John MacFarlane | 1 | -6/+24 | |
from csquotes. See #4848. Still TBD: blockquote, blockcquote, foreignblockquote. | |||||
2018-08-18 | Fix compiler warning. | John MacFarlane | 1 | -1/+1 | |
2018-08-17 | LaTeX reader: Support more text-mode accents. | John MacFarlane | 1 | -1/+91 | |
Add support for `\|`, `\b`, `\G`, `\h`, `\d`, `\f`, `\r`, `\t`, `\U`, `\i`, `\j`, `\newtie`, `\textcircled`. Also fall back to combining characters when composed characters are not available. Closes #4652. | |||||
2018-08-17 | LaTeX reader: use combining characters when needed for accents. | John MacFarlane | 1 | -1/+4 | |
For example, there is no unicode code point corresponding to \"{X}, so we use a combining accent. | |||||
2018-08-17 | Add support for latex mintinline (#4365) | Marc Schreiber | 1 | -0/+11 | |
2018-08-17 | LaTeX reader: fix siunitx unit commands... | John MacFarlane | 1 | -174/+182 | |
...they should only be recognized in siunitx contexts. For example, `\l` outside of an siunitx context should be l-slash, not l (for liter)! Closes #4842. | |||||
2018-08-16 | LaTeX reader: fix double `unnumbered` class. | John MacFarlane | 1 | -21/+20 | |
The `unnumbered` class was being included twice for starred sections. Closes #4838. | |||||
2018-08-15 | Markdown reader: Use "tex" instead of "latex" for raw tex-ish content. | John MacFarlane | 1 | -7/+3 | |
We can't always tell if it's LaTeX, ConTeXt, or plain TeX. Better just to use "tex" always. Also changed: ConTeXt writer: now outputs raw "tex" blocks as well as "context". (Closes #969). RST writer: uses ".. raw:: latex" for "tex" content. (RST doesn't support raw context anyway.) Note that if "context" or "latex" specifically is desired, you can still force that in a markdown document by using the raw attribute (see MANUAL.txt): ```{=latex} \foo ``` Note that this change may affect some filters, if they assume that raw tex parsed by the Markdown reader will be RawBlock (Format "latex"). In most cases it should be trivial to modify the filters to accept "tex" as well. |