Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-09-20 | RST reader: fix bug with internal link targets. | John MacFarlane | 1 | -0/+14 | |
They were gobbling up indented content underneath. Closes #4919. | |||||
2018-09-19 | Markdown reader: distinguish autolinks in the AST. | John MacFarlane | 11 | -25/+61 | |
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 | Lua filter tests: produce better error on test failure | Albert Krewinkel | 1 | -2/+2 | |
2018-09-18 | parse rST inlines containing newlines closing #4912 | danse | 1 | -0/+3 | |
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 | -0/+16 | |
Closes #4908. | |||||
2018-09-16 | Muse writer: replace newlines in strings with spaces | Alexander Krotov | 1 | -0/+1 | |
2018-09-15 | add test for --metadata-file | mb21 | 2 | -0/+19 | |
2018-09-15 | add test yaml-metadata-blocks.md | mb21 | 1 | -0/+48 | |
2018-09-11 | Enable tables in HTML round trip test | Alexander Krotov | 1 | -1/+0 | |
2018-09-11 | HTML reader tests: accept Blocks in round trip test | Alexander Krotov | 1 | -2/+2 | |
2018-09-11 | Muse reader tests: accept Blocks instead of Block in round trip test | Alexander Krotov | 1 | -2/+2 | |
This way testcase can be shrinked better up to removing all blocks completely. | |||||
2018-09-11 | Muse writer: set envInsideBlock = True when rendering notes | Alexander Krotov | 1 | -0/+7 | |
2018-09-11 | HTML writer: always output <dt> element, even if it is empty | Alexander Krotov | 1 | -0/+5 | |
Fixes #4883 | |||||
2018-09-11 | Muse writer: check for whitespace in the beginning and end of Str's | Alexander Krotov | 1 | -0/+3 | |
2018-09-11 | Muse writer: escape -, ; and > in the beginning of strings | Alexander Krotov | 1 | -0/+10 | |
2018-09-11 | Muse writer: escape list markers in the beginning of notes | Alexander Krotov | 1 | -0/+6 | |
2018-09-11 | Muse writer: normalize inline list before testing if tags should be used | Alexander Krotov | 1 | -0/+1 | |
2018-09-11 | Muse writer: use tags instead of lightweight markup for empty strings | Alexander Krotov | 1 | -0/+4 | |
2018-09-10 | Make HTML5 header easier to style precisely in default template (#4767) | J. B. Rainsberger | 1 | -1/+1 | |
Add the `title-block-header` identifier to the `header` element, to make it easier to style precisely. | |||||
2018-09-10 | Remove RawBlock from HTML round trip tests | Alexander Krotov | 1 | -0/+1 | |
2018-09-10 | HTML reader: test round trip property | Alexander Krotov | 1 | -0/+23 | |
2018-09-09 | LaTeX reader: resolve `\ref` for figure numbers. | John MacFarlane | 1 | -1/+44 | |
2018-09-09 | Org writer: don't escape literal `_`, `^`. | John MacFarlane | 1 | -4/+4 | |
Org doesn't recognize these escapes. Closes #4882. | |||||
2018-09-07 | HTML reader: parse `<script type="math/tex` tags as math. | John MacFarlane | 1 | -0/+13 | |
These are used by MathJax. Closes #4877. | |||||
2018-09-06 | Org reader: respect export option `p` for planning info | Albert Krewinkel | 2 | -0/+36 | |
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 | Muse reader: close the </quote> in indented tag test | Alexander Krotov | 1 | -1/+2 | |
There is already a separate test for unclosed </quote>. | |||||
2018-09-05 | Org reader: strip planning info from output | Albert Krewinkel | 1 | -0/+25 | |
Planning info is parsed, but not included in the output (as is the default with Emacs Org-mode). Fixes: #4867 | |||||
2018-09-04 | hlint Muse writer tests | Alexander Krotov | 1 | -6/+6 | |
2018-09-04 | Remove redundant $ | Alexander Krotov | 1 | -1/+1 | |
2018-09-02 | Muse reader: autonumber sections in the correct order | Alexander Krotov | 1 | -0/+12 | |
Parsing now stops at each section header to ensure the header is registered before parsing of the next section starts. | |||||
2018-09-02 | Muse writer: use lightweight markup when possible | Alexander Krotov | 2 | -50/+75 | |
2018-09-02 | Muse reader: allow newline after opening "*" or "**" | Alexander Krotov | 1 | -0/+8 | |
Emacs Muse allows this. | |||||
2018-08-31 | Muse reader: parse <verse> tag in one pass | Alexander Krotov | 1 | -0/+6 | |
instead of using parseFromString. This change makes it possible to have verbatim </verse> tag inside verse. | |||||
2018-08-30 | Fix a typo: s/afeter/after/ | Alexander Krotov | 1 | -1/+1 | |
2018-08-29 | RSTR reader: don't skip link definitions after comments. | John MacFarlane | 1 | -0/+9 | |
Closes #4860. | |||||
2018-08-24 | HTML reader: allow enabling `raw_tex` extension. | John MacFarlane | 1 | -0/+29 | |
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 | -0/+6 | |
Fixes #4845 | |||||
2018-08-21 | LaTeX reader: support blockcquote, foreignblockquote from csquotes. | John MacFarlane | 1 | -3/+4 | |
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 | -0/+58 | |
from csquotes. See #4848. Still TBD: blockquote, blockcquote, foreignblockquote. | |||||
2018-08-17 | LaTeX reader: Support more text-mode accents. | John MacFarlane | 1 | -4/+4 | |
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 | Add support for latex mintinline (#4365) | Marc Schreiber | 1 | -0/+22 | |
2018-08-17 | Haddock Writer: Use proper format for latex math in haddock (#4571). | Joe Hermaszewski | 1 | -7/+7 | |
Inline math in `\(..\)`, display math in `\[..\]`, tex is now used. Previously we'd "fake it with unicode" and fall back to tex when that didn't work. But as of https://github.com/haskell/haddock/commit/3f50b955324bd4b42f88a421f0203bc46a3ccf64 haddock supports latex math. | |||||
2018-08-17 | LaTeX reader: fix siunitx unit commands... | John MacFarlane | 1 | -0/+6 | |
...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 | TEI template: improve publicationStmt. | John MacFarlane | 1 | -2/+2 | |
Add support for publisher, address, pubPlace, and date variables. | |||||
2018-08-15 | Markdown reader: Use "tex" instead of "latex" for raw tex-ish content. | John MacFarlane | 14 | -20/+27 | |
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. | |||||
2018-08-14 | LaTeX reader: handle parameter patterns for `\def`. | John MacFarlane | 1 | -0/+7 | |
For example: `\def\foo#1[#2]{#1 and #2}`. Closes #4768. Also fixes #4771. API change: in Text.Pandoc.Readers.LaTeX.Types, new type ArgSpec added. Second parameter of Macro constructor is now `[ArgSpec]` instead of `Int`. | |||||
2018-08-13 | RST writer: render Divs with admonition classes as admonitions. | John MacFarlane | 1 | -0/+20 | |
Also omit Div with class "admonition-title". These are generated by the RST reader and should be omitted on round-trip. Closes #4833. | |||||
2018-08-13 | RST writer: use `.. container` for generic Divs, instead of raw HTML. | John MacFarlane | 1 | -68/+14 | |
2018-08-12 | LaTeX reader: Allow `%` characters in URLs. | John MacFarlane | 1 | -0/+21 | |
This affects `\href` and `\url`. Closes #4832. | |||||
2018-08-12 | Muse reader: don't allow digits after closing marker in lightweight markup | Alexander Krotov | 1 | -0/+4 | |
This change makes reader more compatible with Emacs Muse |