summaryrefslogtreecommitdiff
path: root/tests/Tests/Old.hs
Commit message (Collapse)AuthorAge
* Update tests to work with runPure.John MacFarlane2017-01-25
|
* Fixed tests with dynamic linking.John MacFarlane2016-12-07
| | | | Closes #2709.
* Added Zim Wiki writer, template and tests.Alex Ivkin2016-06-30
|
* Add docbook5 writer supportIvo Clarysse2016-04-29
|
* Markdown reader: Fix pandoc title blocks with lines ending in 2 spaces.John MacFarlane2016-04-10
| | | | | | Closes #2799. Also added -s to markdown-reader-more test.
* Added old-style tests for TEI writer (tests/tables.tei, tests/writer.tei).John MacFarlane2016-01-21
|
* Fixed tests.John MacFarlane2015-12-12
|
* Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane2015-11-09
| | | | This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
* Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane2015-11-08
| | | | | | | This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
* Merge pull request #2458 from mb21/lang-inlinesJohn MacFarlane2015-10-19
|\ | | | | LaTeX and ConTeXt writers: support lang attribute on divs and spans
| * Added writers-lang-and-dir test, fixed ConTeXt writer testmb212015-10-18
| | | | | | | | | | The writers-lang-and-dir testGroup tests LaTeX and ConTeXt writers' language and directionality output
* | Tests: Unset `pandoc-version` so we don't get the comment...John MacFarlane2015-10-18
|/ | | | | in the man writer test. Otherwise this needs updating every version bump.
* Added proper support for DocBook 'xref' elementsFrerich Raabe2015-09-24
| | | | | | | | | | | | | 'xref' is used to create cross references to other parts of the document. It is an empty element - the cross reference text depends on various attributes. Quoting 'DocBook: The Definitive Guide': 1. If the endterm attribute is specified on xref, the content of the element pointed to by endterm will be used as the text of the cross-reference. 2. Otherwise, if the object pointed to has a specified XRefLabel, the content of that attribute will be used as the cross-reference text.
* Update testsMatthew Pickering2015-02-18
|
* DokuWiki writer: add external_images testTimothy Humphries2014-11-09
| | | | Add test for #1739.
* TWiki Reader: add basic syntax testAlexander Sulfrian2014-10-30
|
* Dokuwiki writer: Add a test for multiblock table cells.Jesse Rosenthal2014-08-30
| | | | | We have to add a new file, because the original table tests don't look for this.
* Txt2Tags reader: Header is now parsed only if standalone flag is setmpickering2014-08-20
|
* Old tests: better path for test program.John MacFarlane2014-08-13
|
* Revised tests directory.John MacFarlane2014-08-13
| | | | | | | | | Renamed some tests, introducing subsidiary directories for fb2, docx, epub. Cleaned up tests in cabal file. Combined dokuwiki-writer and dokuwiki_inline_formatting tests.
* Removed special testHook from Setup.John MacFarlane2014-08-13
| | | | | | | | | This was just too fragile and dependent on a changing Cabal API (see #1526). Instead of passing the bulid directory to the test program, we now let the test program find itself (using executable-path) and then find the pandoc executable relative to itself.
* EPUB Tests: Added wasteland testMatthew Pickering2014-08-13
| | | | | This epub contains many epub:type elements including footnotes and titlepage.
* EPUB test renaming.John MacFarlane2014-08-07
| | | | | | | | | Renamed epub test files so they're identified more clearly as epub: features.{epub,native} -> epub.features.{epub,native}, and similarly with formatting.{epub,native}. Added epub test files to cabal file, so they'll be included in the tarball.
* EPUB Reader: Added testsMatthew Pickering2014-07-31
|
* Txt2Tags Reader: Added testsMatthew Pickering2014-07-27
|
* DokuWiki writer: Add new test showing that span swallows content.Clare Macrae2014-07-02
|
* Merge remote-tracking branch 'jgm/master' into dokuwikiClare Macrae2014-06-29
|\
| * Added haddock writer tests.John MacFarlane2014-06-18
| |
| * InDesign ICML Writermb212014-02-28
| |
| * Pass the buildDir as first argument to test suite.John MacFarlane2013-10-20
| | | | | | | | | | Allows test suite to work with cabal sandboxes. Previously we hard-coded the build directory.
| * Added markdown citation parsing test.John MacFarlane2013-08-26
| |
| * Removed dependency on citeproc-hs.John MacFarlane2013-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Going forward we'll use pandoc-citeproc, as an external filter. The `--bibliography`, `--csl`, and `--citation-abbreviation` fields have been removed. Instead one must include `bibliography`, `csl`, or `csl-abbrevs` fields in the document's YAML metadata. The filter can then be used as follows: pandoc --filter pandoc-citeproc The `Text.Pandoc.Biblio` module has been removed. Henceforth, `Text.CSL.Pandoc` from pandoc-citations can be used by library users. The Markdown and LaTeX readers now longer format bibliographies and citations. That must be done using `processCites` or `processCites'` from Text.CSL.Pandoc. All bibliography-related fields have been removed from `ReaderOptions` and `WriterOptions`: `writerBiblioFiles`, `readerReferences`, `readerCitationStyle`. API change.
| * Create Cite element even if no matching reference in the biblio.John MacFarlane2013-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add ??? as fallback text for non-resolved citations. * Biblio: Put references (including a header at the end of the document, if one exists) inside a Div with class "references". This gives some control over styling of references, and allows scripts to manipulate them. * Markdown writer: Print markdown citation codes, and disable printing of references, if `citations` extension is enabled. NOTE: It would be good to improve what citeproc-hs does for a nonexistent key.
* | 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.
* | 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.
* Added stubs for haddock reader tests.John MacFarlane2013-03-28
| | | | | Modify tests/haddock-reader.haddock and tests/haddock-reader.native.
* Added OPML template, tests.John MacFarlane2013-03-20
| | | | | Minor fixes to OPML writer. Improved OPML reader tests.
* Added Text.Pandoc.Readers.OPML, exporting readOPML.John MacFarlane2013-03-19
| | | | | | | | | The _note attribute is supported. This is unofficial, but used e.g. in OmniOutliner and supported by multimarkdown. We treat the contents as markdown blocks under a section header. Added to documentation and tests.
* Markdown writer: New approach for citations.John MacFarlane2013-03-17
| | | | | | | | | | | | | | | | | | | * Reverts 1.11 change that caused citations to be rendered as markdown citations, even if `--biblio` was specified, unless `citation` extension is disabled. Now, formatted citations are always printed if `--biblio` was specified. If you want to reformat markdown keeping pandoc markdown citations intact, just don't specify `--biblio`. * Reverted now unnecessary changes to Text.Pandoc.Biblio adding the raw block to mark the bibliography, and to Text.Pandoc.Writers.Markdown to remove the bibliography if `citations` not specified. * If the content of a `Cite` inline is a `RawInline "latex"`, which means that a LaTeX citation command was parsed and `--biblio` wasn't specified, then render it as a pandoc markdown citation. This means that `pandoc -f latex -t markdown`, without `--biblio`, will convert LaTeX citation commands to pandoc markdown citations.
* Revert "LaTeX reader: citation handling changes."John MacFarlane2013-03-17
| | | | This reverts commit f7229b147314042f946dfded3b441ab0fae260a0.
* LaTeX reader: citation handling changes.John MacFarlane2013-03-09
| | | | | | | | | | | | | | Previously, a LaTeX citation would always be parsed as a Citation element, with the raw LaTeX in the [Inline] part. Now, the LaTeX citation is parsed as a Citation element only if `--biblio` was specified (i.e. only if there is a nonempty set of references in readerReferences). Otherwise it is parsed as raw LaTeX. This will make it possible to simplify some things in the markdown writer. It also makes the LaTeX reader behave more like the Markdown reader.
* Markdown writer: Render citations as pandoc-markdown citations.John MacFarlane2013-03-07
| | | | | | | | | Previously citations were rendered as citeproc-formatted citations by default. Now we render them as pandoc citations, e.g. `[@item1]`, unless the `citations` extension is disabled. If you still want formatted citations in your markdown output, use `pandoc -t markdown-citations`.
* Added Attr field to Header.John MacFarlane2013-01-09
| | | | | | | | | | Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
* Updated test runner for changes in pandoc.John MacFarlane2013-01-03
|
* Removed need for utf8-string package.John MacFarlane2012-09-25
| | | | | | | | * Depend on text. * Expose Text.Pandoc.UTF8. * Text.Pandoc.UTF8 now exports toString, fromString, toStringLazy, fromStringLazy. * These are used instead of the old utf8-string functions.
* Tests.Old: Set TMP to ".".John MacFarlane2012-09-21
| | | | | Otherwise TMP is unset and, on Windows, C:\Windows is used by default, leading to permission violations.
* Added basic mediawiki reader.John MacFarlane2012-09-12
| | | | | Text.Pandoc.Readers.MediaWiki module, tests/mediawiki-reader.{txt,native}.
* Moved WriterOptions and associated types Shared -> Options.John MacFarlane2012-07-26
|
* Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane2012-07-26
|
* Moved tests to src.John MacFarlane2011-01-29
|