summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* FB2 writer: Add newline to output.John MacFarlane2014-12-15
|
* HTML writer: put newline btw img and caption paragraph.John MacFarlane2014-12-15
|
* Don't treat a citation as a reference link label.John MacFarlane2014-12-15
| | | | Closes #1763.
* Improved texorpdfstring patch #1148.John MacFarlane2014-12-15
| | | | | | * Make LaTeX reader recognize texorpdfstring. * Don't use texorpdfstring unless it's actually needed. * Fix tests.
* Merge branch 'use-texorpdfstring' of https://github.com/wilx/pandoc into ↵John MacFarlane2014-12-15
|\ | | | | | | | | | | | | | | wilx-use-texorpdfstring Conflicts: src/Text/Pandoc/Writers/LaTeX.hs tests/Tests/Writers/LaTeX.hs
| * Update tests suite to expect \texorpdfstring.Vaclav Zeman2014-02-13
| |
* | Merge pull request #1805 from bergey/rstJohn MacFarlane2014-12-15
|\ \ | | | | | | RST Reader - Improved Role Support
| * | RST Reader: compute Attrs when role is definedDaniel Bergey2014-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move recursive role lookup from renderRole to addNewRole. The Attr value will be the same for every occurance of this role, so there's no reason to compute it every time. This allows simplifying the stateRstCustomRoles map considerably. We could go even further, and remove the fmt and attr arguments to renderRole, which are null except for custom roles.
| * | WIP: tests for RST rolesDaniel Bergey2014-12-12
| | |
* | | DocBook readers: Include id on section headers.John MacFarlane2014-12-14
| | | | | | | | | | | | Closes #1818.
* | | Merge pull request #1813 from tarleb/file-linksJohn MacFarlane2014-12-14
|\ \ \ | | | | | | | | Org reader: properly handle links to `file:target`
| * | | Org reader: properly handle links to `file:target`Albert Krewinkel2014-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Org links like `[[file:target][title]]` were not handled correctly, parsing the link target verbatim. The org reader is changed such that the leading `file:` is dropped from the link target. This is related to issues #756 and #1812.
* | | | Fixe autolinks with following punctuation.John MacFarlane2014-12-14
|/ / / | | | | | | | | | | | | | | | Closes #1811. The price of this is that autolinked bare URIs can no longer contain `>` characters, but this is not a big issue.
* | | Merge pull request #1695 from bjornbm/masterJohn MacFarlane2014-12-10
|\ \ \ | | | | | | | | Escape inline verbatim spaces in LaTeX output
| * | | Escape spaces. Fixes jgm/pandoc#1694.Bjorn Buckwalter2014-10-15
| | | |
* | | | DocBook reader: document/test "type" as implementedBryan O'Sullivan2014-12-08
| | | |
* | | | Fix test suiteBryan O'Sullivan2014-12-08
| | | |
* | | | DocBook reader: add support for classnameBryan O'Sullivan2014-12-08
| | | |
* | | | DocBook reader: add support for calloutlist and calloutBryan O'Sullivan2014-12-08
| | | | | | | | | | | | | | | | We treat a calloutlist as a bulleted list. This works well in practice.
* | | | Merge pull request #1746 from shelf/dw-ext-imagesMatthew Pickering2014-12-08
|\ \ \ \ | |_|/ / |/| | | DokuWiki writer: fix external images
| * | | DokuWiki writer: add external_images testTimothy Humphries2014-11-09
| | | | | | | | | | | | | | | | Add test for #1739.
* | | | parse RST class directivesDaniel Bergey2014-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The class directive accepts one or more class names, and creates a Div value with those classes. If the directive has an indented body, the body is parsed as the children of the Div. If not, the first block folowing the directive is made a child of the Div. This differs from the behavior of rst2xml, which does not create a Div element. Instead, the specified classes are applied to each child of the directive. However, most Pandoc Block constructors to not take an Attr argument, so we can't duplicate this behavior.
* | | | parse RST quoted literal blocksDaniel Bergey2014-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #65 RST quoted literal blocks are the same as indented literal blocks (which pandoc already supports) except that the quote character is preserved in each line. This includes test cases for the quoted literal block, as well as additional tests for line blocks and indented literal blocks, to verify that these are unaffected by the changes.
* | | | Reverted "omit blank lines after list items," better fix for #1777.John MacFarlane2014-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now we do as before, including blank lines after list items in loose lists (even though RST doesn't care -- this is just a matter of visual appeal). But we chomp any excess whitespace after the last list item, which solves #1777.
* | | | RST writer: Omit blank lines after list items.John MacFarlane2014-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | They are optional in RST (except after the last list item, of course). Fixes #1777.
* | | | Removed extra `</body>` tag from `tests/html-reader.html`.John MacFarlane2014-11-16
| | | |
* | | | Fixed bug in org with bulleted lists:John MacFarlane2014-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - a - b * c was being parsed as a list, even though an unindented `*` should make a heading. See <http://orgmode.org/manual/Plain-lists.html#fn-1>.
* | | | Add tests for external links with anchorsCaleb McDaniel2014-11-13
| | | |
* | | | Merge pull request #1645 from neongreen/issue1636John MacFarlane2014-11-12
|\ \ \ \ | |/ / / |/| | | Fix 'Ext_lists_without_preceding_blankline' bug.
| * | | Fix 'Ext_lists_without_preceding_blankline' bug.Artyom2014-09-26
| | | | | | | | | | | | | | | | | | | | * Fixes #1636. * Adds a test.
* | | | Org reader: allow empty links for gitit interopAlbert Krewinkel2014-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While empty links are not allowed in Emacs org-mode, Pandoc org-mode should support them: gitit relies on empty links as they are used to create wiki links. Fixes jgm/gitit#471
* | | | Org reader: absolute, relative paths in linksAlbert Krewinkel2014-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The org reader was to restrictive when parsing links, some relative links and links to files given as absolute paths were not recognized correctly. The org reader's link parsing function was amended to handle such cases properly. This fixes #1741
* | | | DokuWiki writer: Better handling of block quotes.John MacFarlane2014-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change ensures that multiple paragraph blockquotes are rendered using native `>` rather than as HTML. Closes #1738.
* | | | TWiki Reader: add basic syntax testAlexander Sulfrian2014-10-30
| | | |
* | | | Docx test: Remove Danish header test.Jesse Rosenthal2014-10-25
| | | | | | | | | | | | | | | | | | | | Redundant, now that we're testing for a more generalized sort of internationalized blocks.
* | | | Docx reader: add tests for i18n headers.Jesse Rosenthal2014-10-25
| | | | | | | | | | | | | | | | | | | | This tests blockquotes and headers in Russian. Previous tests make sure that this doesn't produce a regression in en-us Header and Blockquotes.
* | | | HTML writer: Make header attributes work outside top level.John MacFarlane2014-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously they only appeared on top level header elements. Now they work e.g. in blockquotes. Closes #1711.
* | | | Merge pull request #1706 from tarleb/org-symbol-entitiesJohn MacFarlane2014-10-21
|\ \ \ \ | | | | | | | | | | Org reader: parse LaTeX-style MathML entities
| * | | | Org reader: parse LaTeX-style MathML entitiesAlbert Krewinkel2014-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Org supports special symbols which can be included using LaTeX syntax, but are actually MathML entities. Examples for this are `\nbsp` (non-breaking space), `\Aacute` (the letter A with accent acute) or `\copy` (the copyright sign ©). This fixes #1657.
* | | | | Pretty: Make CR + BLANKLINE = BLANKLINE.John MacFarlane2014-10-20
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | This fixes an extra blank line we were getting at the end of markdown fragments (as well as rst, org, etc.) Closes #1705.
* | | | Parsing: fixed `inlineMath` so it handles `\text{..}` containing `$`.John MacFarlane2014-10-19
| | | | | | | | | | | | | | | | For example: `$x = \text{the $n$th root of $y$}`. Closes #1677.
* | | | Merge pull request #1680 from shelf/masterJohn MacFarlane2014-10-18
|\ \ \ \ | | | | | | | | | | Respect indent when parsing Org bullet lists
| * | | | Fix indent issue for definition listsTimothy Humphries2014-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | Tidy up fix for #1650, #1698 as per comments in #1680. Fix same issue for definition lists with the same method.
| * | | | Respect indent when parsing Org bullet listsTimothy Humphries2014-10-12
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issue with top-level bullet list parsing. Previously we would use `many1 spaceChars` rather than respecting the list's indent level. We also permitted `*` bullets on unindented lists, which should unambiguously parse as `header 1`. Combined, this meant headers at a different indent level were being unwittingly slurped into preceding bullet lists, as per Issue #1650.
* | | | Merge pull request #1700 from tarleb/org-emphasis-fixJohn MacFarlane2014-10-18
|\ \ \ \ | | | | | | | | | | Org reader: fix rules for emphasis recognition
| * | | | Org reader: fix rules for emphasis recognitionAlbert Krewinkel2014-10-18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Things like `/hello,/` or `/hi'/` were falsy recognized as emphasised strings. This is wrong, as `,` and `'` are forbidden border chars and may not occur on the inner border of emphasized text. This patch enables the reader to matches the reference implementation in that it reads the above strings as plain text.
* / / / Org reader: Drop COMMENT document treesAlbert Krewinkel2014-10-18
|/ / / | | | | | | | | | | | | | | | | | | | | | Document trees under a header starting with the word `COMMENT` are comment trees and should not be exported. Those trees are dropped silently. This closes #1678.
* | | Merge pull request #1601 from jkr/windowsfixJohn MacFarlane2014-09-27
|\ \ \ | | | | | | | | Fix path-slashes inside archive for windows
| * | | Docx reader: Modify mediabag test accordingly.Jesse Rosenthal2014-09-02
| | | |
* | | | Update tests for #1649Matthew Pickering2014-09-27
| | | |