summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
...
| * | | Weak implementation of hyperlinks for dokuwiki (#386)Clare Macrae2013-07-15
| | | | | | | | | | | | TODO Simplify the code
| * | | Implemented horizontal rule for dokuwiki (#386)Clare Macrae2013-07-14
| | | |
| * | | Implemented Emphasis (italic) and Strong (bold) for dokuwiki (#386)Clare Macrae2013-07-14
| | | |
| * | | Implemented correct output of dokuwiki (#386)Clare Macrae2013-07-14
| | | |
| * | | Initial work to create dokuwiki writer (#386)Clare Macrae2013-07-14
| | | | | | | | | | | | | | | | In this first version, all dokuwiki files are straight copies of the media wiki counterparts.
* | | | Revamped raw HTML block parsing in markdown.John MacFarlane2014-07-07
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | - We no longer include trailing spaces and newlines in the raw blocks. - We look for closing tags for elements (but without backtracking). - Each block-level tag is its own RawBlock; we no longer try to consolidate them (though `--normalize` will do so). Closes #1330.
* | | Rewrote normalize for efficiency. (Closes #1385.)John MacFarlane2014-06-29
| | | | | | | | | | | | | | | | | | | | | | | | * Added normalizeInlines, normalizeBlocks. * Type signature is now more narrow, `Pandoc -> Pandoc` instead of `Data a :: a -> a`. Some users may need to change their uses of `normalize` to the newly exported `normalizeInlines` or `normalizeBlocks`.
* | | Docx reader: Add tests for hanging indent handline.Jesse Rosenthal2014-06-29
| |/ |/| | | | | | | | | | | | | We want to treat it as a plain paragraph if the hanging amount is greater to or equal to the left indent---i.e., if the first line has zero indentation. But we still want it to be a block quote if it starts to the right of the margin. Someone might format verse with wrapping lines with a hanging indent, for example.
* | Update docx tests to reflect new expected behaviorJesse Rosenthal2014-06-28
| | | | | | | | Now doing auto ids for all headers, so tests should reflect that.
* | Change test result to match new behavior.Jesse Rosenthal2014-06-28
| |
* | Track changes tests.Jesse Rosenthal2014-06-25
| |
* | Docx reader: Add tests for basic track changesJesse Rosenthal2014-06-25
| | | | | | | | | | | | | | This is what seems like the sensible default: read in insertions, and ignore deletions. In the future, it would be good if options were available for either taking in deletions or keeping both in some scriptable format.
* | Docx Reader: add failing defintion list tests.Jesse Rosenthal2014-06-24
| |
* | Docx reader: add failing tests for inline code and code blocks.Jesse Rosenthal2014-06-24
| |
* | Merge pull request #1366 from jkr/reducible3John MacFarlane2014-06-23
|\ \ | | | | | | Docx rewrite and cleanup (in terms of Reducible typeclass)
| * | Add test for correctly trimming spaces in formatting.Jesse Rosenthal2014-06-23
| | | | | | | | | | | | | | | This used to be fixed in the tree-walking. We need to make sure we're doing it right now.
* | | LaTeX writer: Use `\textquotesingle` for `'` in inline code.John MacFarlane2014-06-23
|/ / | | | | | | | | Otherwise we get curly quotes in the PDF output. Closes #1364.
* | Docx reader tests: add tests for normalization deep in blocks.Jesse Rosenthal2014-06-22
| |
* | Docx reader tests: Correct normalize test.Jesse Rosenthal2014-06-22
| |
* | Add normalization test.Jesse Rosenthal2014-06-22
| | | | | | | | | | | | | | | | Add torture-test for new normalization functions. One problem that this test demonstrates is that word has a tendency to turn off formatting at a space, and then turn it back on after. I'm not sure yet whether this is something we should fix.
* | Docx reader tests: Introduce NoNormPandoc type.Jesse Rosenthal2014-06-20
| | | | | | | | | | | | | | This is just a wrapper around Pandoc that doesn't normalize with `toString`. We want to make sure that our own normalization process works. If, in the future, we are able to hook into the builder's normalization, this will be removed.
* | LaTeX writer: Fixed strikeout + highlighted code. Closes #1294.John MacFarlane2014-06-20
| | | | | | | | Previously strikeout highlighted code caused an error.
* | Add tabs tests.Jesse Rosenthal2014-06-19
| |
* | Fix notes test.Jesse Rosenthal2014-06-19
| | | | | | | | This previously allowed spaces at the beginning of a paragraph.
* | Add ReaderOptions to the docx testsJesse Rosenthal2014-06-19
| | | | | | | | | | This will allow for testing different media embedding (in addition to any other applicable options.)
* | Haddock writer: Use _____ for hrule.John MacFarlane2014-06-19
| | | | | | | | Avoids interpretation as list.
* | Updated haddock writer tests.John MacFarlane2014-06-18
| |
* | Small fix to haddock "tables".John MacFarlane2014-06-18
| |
* | Revised haddock reader tests for changes in reader.John MacFarlane2014-06-18
| |
* | Added haddock writer tests.John MacFarlane2014-06-18
| |
* | Rewrote haddock reader to use haddock-library.John MacFarlane2014-06-18
| | | | | | | | | | | | | | | | | | | | This brings pandoc's rendering of haddock markup in line with the new haddock. Note that we preserve line breaks in `@` code blocks, unlike the earlier version. Modified tests pass. More tests would be good.
* | Naming: Use Docx instead of DocX.John MacFarlane2014-06-16
| | | | | | | | For consistency with the existing writer.
* | Merge branch 'docx' of https://github.com/jkr/pandoc into jkr-docxJohn MacFarlane2014-06-16
|\ \
| * | Add DocX tests to test-pandoc.hsJesse Rosenthal2014-06-16
| | |
| * | Add DocX automated tests.Jesse Rosenthal2014-06-16
| | | | | | | | | | | | Note this makes use of input and output files in the tests/ dir.
* | | Org reader: make tildes create inline code.John MacFarlane2014-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #1345. Also relabeled 'code' and 'verbatim' parsers to accord with the org-mode manual. I'm not sure what the distinction between code and verbatim is supposed to be, but I'm pretty sure both should be represented as Code inlines in pandoc. The previous behavior resulted in the text not appearing in any output format.
* | | Updated HTML reader table test - should be simple table.John MacFarlane2014-06-16
| | |
* | | Added failing HTML reader test for table.John MacFarlane2014-06-16
|/ / | | | | | | See #1341.
* | Updated tests for c8bc70a6bb12e0fbfadadb9480efafb3be4f11a5.John MacFarlane2014-06-01
| |
* | Merge pull request #1302 from tarleb/inline-latexJohn MacFarlane2014-05-28
|\ \ | | | | | | Org reader: support for inline LaTeX
| * | Org reader: support for inline LaTeXAlbert Krewinkel2014-05-20
| | | | | | | | | | | | | | | | | | Inline LaTeX is now accepted and parsed by the org-mode reader. Both, math symbols (like \tau) and LaTeX commands (like \cite{Coffee}), can be used without any further escaping.
* | | Markdown reader: inline math must have nonspace before final `$`.John MacFarlane2014-05-27
|/ / | | | | | | Closes #1313.
* | Org reader: support Pandocs citation extensionAlbert Krewinkel2014-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Citations are defined via the "normal citation" syntax used in markdown, with the sole difference that newlines are not allowed between "[...]". This is for consistency, as org-mode generally disallows newlines between square brackets. The extension is turned on by default and can be turned off via the default syntax-extension mechanism, i.e. by specifying "org-citation" as the input format. Move `citeKey` from Readers.Markdown into Parsing The function can be used by other readers, so it is made accessible for all parsers.
* | Org reader: Fix block parameter reader, relax constraintsAlbert Krewinkel2014-05-10
| | | | | | | | | | | | | | | | | | The reader produced wrong results for block containing non-letter chars in their parameter arguments. This patch relaxes constraints in that it allows block header arguments to contain any non-space character (except for ']' for inline blocks). Thanks to Xiao Hanyu for noticing this.
* | Org reader: Fix parsing of blank lines within blocksAlbert Krewinkel2014-05-09
| | | | | | | | | | Blank lines were parsed as two newlines instead of just one. Thanks to Xiao Hanyu (@xiaohanyu) for pointing this out.
* | Org reader: Support arguments for code blocksAlbert Krewinkel2014-05-09
| | | | | | | | | | | | | | | | | | | | The general form of source block headers (`#+BEGIN_SRC <language> <switches> <header arguments>`) was not recognized by the reader. This patch adds support for the above form, adds header arguments to the block's key-value pairs and marks the block as a rundoc block if header arguments are present. This closes #1286.
* | Updated tests for template changes.John MacFarlane2014-05-06
| |
* | Org reader: Read inline code blocksAlbert Krewinkel2014-05-06
| | | | | | | | | | | | | | | | | | | | | | Org's inline code blocks take forms like `src_haskell(print "hi")` and are frequently used to include results from computations called from within the document. The blocks are read as inline code and marked with the special class `rundoc-block`. Proper handling and execution of these blocks is the subject of a separate library, rundoc, which is work in progress. This closes #1278.
* | Added test for #1154.John MacFarlane2014-05-04
| |
* | Added Tests.Writer.AsciiDoc to repository.John MacFarlane2014-05-03
| |