summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
...
| * Add and update docx tests in pandoc.cabal.Jesse Rosenthal2014-07-29
| |
| * Docx reader: Make metavalues out of styled paragraphs.Jesse Rosenthal2014-07-29
| | | | | | | | | | | | | | | | | | | | | | This will make paragraphs styled with `Author`, `Title`, `Subtitle`, `Date`, and `Abstract` into pandoc metavalues, rather than text. The implementation only takes those elements from the beginning of the document (ignoring empty paragraphs). Multiple paragraphs in the `Author` style will be made into a metaList, one paragraph per item. Hard linebreaks (shift-return) in the paragraph will be maintained, and can be used for institution, email, etc.
* | Markdown writer: More improvements to 'plain' output, updated tests.John MacFarlane2014-07-27
|/ | | | | | | | | Math now appears in unicode if possible, without the distracting italics around identifiers. Blank lines around headers are more consistent. Footnotes appear in regular [n] style.
* Txt2Tags Reader: Added testsMatthew Pickering2014-07-27
|
* Fixed runtime error with compactify'DL on certain lists.John MacFarlane2014-07-25
| | | | Closes #1452. Added test.
* DocBook reader: Better handle elements inside code environments.John MacFarlane2014-07-23
| | | | | Of course, we can't include structure in the code block, but this way we at least preserve the text. Closes #1449.
* HTML reader: parse Div and Span elements even without `--parse-raw`.John MacFarlane2014-07-20
| | | | Closes #1434.
* Markdown reader: revised definition list syntax (closes #1429).John MacFarlane2014-07-20
| | | | | | | | | | | | | | | | * This change brings pandoc's definition list syntax into alignment with that used in PHP markdown extra and multimarkdown (with the exception that pandoc is more flexible about the definition markers, allowing tildes as well as colons). * Lazily wrapped definitions are now allowed; blank space is required between list items; and the space before definition is used to determine whether it is a paragraph or a "plain" element. * For backwards compatibility, a new extension, `compact_definition_lists`, has been added that restores the behavior of pandoc 1.12.x, allowing tight definition lists with no blank space between items, and disallowing lazy wrapping.
* Org reader: text adjacent to a list yields a Plain, not Para.John MacFarlane2014-07-20
| | | | | | | | This gives better results for tight lists. Closes #1437. An alternative solution would be to use Para everywhere, and never Plain. I am not sufficiently familiar with org to know which is best. Thoughts, @tarleb?
* AsciiDoc writer: Double markers in intraword emphasis.John MacFarlane2014-07-20
| | | | Closes #1441.
* Org reader: Respect :exports header arguments on code blocksCraig S. Bosma2014-07-17
| | | | | | | Adds support to the org reader for conditionally exporting either the code block, results block immediately following, both, or neither, depending on the value of the `:exports` header argument. If no such argument is supplied, the default org behavior (for most languages) of exporting code is used.
* Merge pull request #1430 from jkr/anchor-fix-2John MacFarlane2014-07-15
|\ | | | | Fix auto identified headers when already auto-id'ed
| * Docx reader: Add testJesse Rosenthal2014-07-15
| | | | | | | | Test auto ident header anchors with pandoc-generated pandoc.
* | LaTeX writer: Use \nolinkurl in email autolinks.John MacFarlane2014-07-15
|/ | | | | | This allows them to be styled using `\urlstyle{tt}`. Thanks to Ulrike Fischer for the solution.
* Use raw HTML for complex block quotes.John MacFarlane2014-07-13
| | | | | | As far as I can see, dokuwiki markup is pretty limited in what can go in a `>` block quote: just a single line of paragraph text. (#1398)
* DokuWiki writer: Use raw HTML for complex lists...John MacFarlane2014-07-13
| | | | | | | | | | | | | | as in the mediawiki writer. The dokuwiki markup isn't able to handle multiple block-level items within a list item, except in a few special cases (e.g. code blocks, and these must be started on the same line as the preceding paragraph). So we fall back to raw HTML for these. Perhaps there is a better solution. We can "fake" multiple paragraphs within list items using hard line breaks (`\\`), but we must keep everything on one line. (#1398)
* DokuWiki writer: Normalize to collapse adjacent raw HTML blocks.John MacFarlane2014-07-13
|
* DokuWiki writer: Updated tests.John MacFarlane2014-07-13
|
* Merge branch 'claremacrae-dokuwiki'.John MacFarlane2014-07-13
|\ | | | | | | | | Use removeFormatting from Shared instead of the custom unfancy function.
| * DokuWiki writer: Remove broken formatting from headings (#1398)Clare Macrae2014-07-08
| |
* | Added failing test for issue #1121.John MacFarlane2014-07-10
| |
* | LaTeX writer: Put table captions above tables.John MacFarlane2014-07-10
|/ | | | | The standard seems to be captions above tables. (See http://tex.stackexchange.com/questions/3243/why-should-a-table-caption-be-placed-above-the-table)
* Added test for issue #1330.John MacFarlane2014-07-07
|
* Reorganized some markdown tests.John MacFarlane2014-07-07
|
* Updated dokuwiki tests for latest changes to testsuite.native.John MacFarlane2014-07-07
|
* Merge branch 'dokuwiki' of https://github.com/claremacrae/pandoc into ↵John MacFarlane2014-07-07
|\ | | | | | | claremacrae-dokuwiki
| * Revert "DokuWiki writer: Whitespace to a testsuite output file."Clare Macrae2014-07-02
| | | | | | | | | | | | | | This reverts commit 23d71b13e7b462229427e2437a8dd9c8f72d72f1. This is now resulting in a testsuite failure, and I can't see why it didn't do so before
| * DokuWiki writer: Span no longer swallows textClare Macrae2014-07-02
| |
| * DokuWiki writer: Add new test showing that span swallows content.Clare Macrae2014-07-02
| |
| * DokuWiki writer: Whitespace to a testsuite output file.Clare Macrae2014-07-02
| | | | | | | | | | This doesn't change the testsuite behaviour, but it does mean that all the testsuite output files are exactly identical to the output obtained by running the current pandoc.
| * DokuWiki writer: Retain unknown RawBlock and RawInline textClare Macrae2014-07-02
| | | | | | This added \cite and \begin latex to the testuite output.
| * DokuWiki output: Implement blockquotes properly Clare Macrae2014-07-02
| | | | | | TODO Also implement nested blockquotes.
| * Merge branch 'master' of git://github.com/jgm/pandoc into dokuwikiClare Macrae2014-07-01
| |\
| * | Remove stray <div> and </div> from DokuWiki output (#386)Clare Macrae2014-07-01
| | |
| * | Improved HTML Blocks in DokuWiki output (#386)Clare Macrae2014-07-01
| | | | | | | | | | | | For example, this fixes the display of a broken table, and it also fixes the various HTML horizontal rules.
| * | Updated DokuWiki code and tests to work with latest code from jgm.Clare Macrae2014-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | The new code was got from inspecting changes in MediaWiki.hs This slightly changes the output of Div blocks, but I'm not convinced the original behaviour was really correct anyway. The code for handling Span does nothing for now, until I can work out the desired behaviour, and add tests for it.
| * | Merge remote-tracking branch 'jgm/master' into dokuwikiClare Macrae2014-06-29
| |\ \
| * | | Implement definition lists in dokuwiki writer (#386) - credit: James Smaldon claremacrae2013-08-28
| | | |
| * | | Added failing test for definition list output in dokuwiki writer (#386)claremacrae2013-08-23
| | | |
| * | | Bullet and ordered lists now always simple in dokuwiki writer (#386)claremacrae2013-08-19
| | | |
| * | | Removed unnecessary line-break after hard break in dokuwiki writer (#386)claremacrae2013-08-19
| | | |
| * | | Stop plain text ** and __ becoming formatting in dokuwiki writer (#386)claremacrae2013-08-18
| | | |
| * | | Stop plain text // becoming an italic marker in dokuwiki writer (#386)claremacrae2013-08-18
| | | | | | | | | | | | | | | | | | | | When the original document had text containing //, this was previously included, unchanged, in the dokuwiki output, and this interacted badly with later, intended, formating text.
| * | | Treat inline code blocks like <code> instead of <tt> in dokuwiki writer (#386)claremacrae2013-08-18
| | | | | | | | | | | | | | | | | | | | Done because I noticed that in the Autolinks section of writer.dokuwiki, the URL in inlined code was getting auto-linked, when it wasn't supposed to. This also meant that any inline code examples that had text that looked like dokuwiki syntax could break the formatting of later text.
| * | | Nasty hack to stop C comments in inline code becoming italics in dokuwiki ↵claremacrae2013-08-17
| | | | | | | | | | | | | | | | writer (#386)
| * | | Add more tests for dokuwiki writer (#386)claremacrae2013-08-17
| | | |
| * | | Add extra pair of test files for dokuwiki writer (#386)claremacrae2013-08-17
| | | | | | | | | | | | | | | | | | | | I've found some incorrect behaviours with the dokuwiki output, for which extra test cases will be needed - that aren't covered by the standard pandoc test input files.
| * | | Fixed inlined code in dokuwiki writer (#386)claremacrae2013-08-17
| | | |
| * | | Don't add entities in <code> blocks in dokuwiki writer (#386)claremacrae2013-08-17
| | | |
| * | | Implement <code> blocks in dokuwiki writer (#386)claremacrae2013-08-17
| | | |