Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-09-30 | Implement `--ascii` (`writerPreferAscii`) in writers, not App. | John MacFarlane | 1 | -0/+45 | |
Now the `write*` functions for Docbook, HTML, ICML, JATS, Man, Ms, OPML are sensitive to `writerPreferAscii`. Previously the to-ascii translation was done in Text.Pandoc.App, and thus not available to those using the writer functions directly. In addition, the LaTeX writer is now sensitive to `writerPreferAscii` and to `--ascii`. 100% ASCII output can't be guaranteed, but the writer will use commands like `\"{a}` and `\l` whenever possible, to avoid emiting a non-ASCII character. A new unexported module, Text.Pandoc.Groff, has been added to store functions used in the different groff-based writers. | |||||
2018-09-29 | LaTeX reader: allow verbatim blocks ending with blank lines. | John MacFarlane | 1 | -0/+30 | |
Closes #4624. | |||||
2018-09-28 | Parse empty argument array in inline src blocks. | leungbk | 1 | -0/+7 | |
`enclosedByPair` alone does not the handle the empty array properly since it uses `many1Till`. | |||||
2018-09-27 | JATS writer: remove 'role' attribute on 'bold' and 'sc' elements. | John MacFarlane | 1 | -7/+6 | |
The JATS spec does not allow these. Closes #4937. | |||||
2018-09-27 | HTML, Muse reader tests: reduce time taken by round-trip test. | John MacFarlane | 2 | -4/+6 | |
2018-09-26 | Force inline code blocks to honor export options. | leungbk | 1 | -0/+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 | -0/+48 | |
* 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 | Use hslua v1.0.0 | Albert Krewinkel | 1 | -5/+5 | |
2018-09-24 | Merge pull request #4921 from pyssling/master | John MacFarlane | 1 | -92/+92 | |
ODT Writer: Improve table header row style handling | |||||
2018-09-23 | ODT Writer: Improve table header row style handling | Nils Carlson | 1 | -92/+92 | |
This changes the way styles for cells in the header row and normal rows are handled in ODT tables. Previously a new (but identical) style was generated for every table, specifying the style of the cells within the table. After this change there are two style definitions for table cells, one for the cells in the header row, one for all other cells. This doesn't change the actual styles, but makes post-processing changes to the table styles much simpler as it is no longer necessary to introduce new styles for header rows and there are now only two styles where there was previously one per table. | |||||
2018-09-22 | Muse reader tests: more tests | Alexander Krotov | 1 | -0/+12 | |
Check that indented blocks that end in self-terminating blocks (such as block tags and verse) can be terminated by paragraphs. | |||||
2018-09-21 | Muse reader: do not allow code markup to be followed by digit | Alexander Krotov | 1 | -0/+4 | |
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). |