aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Old.hs
AgeCommit message (Collapse)AuthorFilesLines
2013-03-17Revert "LaTeX reader: citation handling changes."John MacFarlane1-1/+1
This reverts commit f7229b147314042f946dfded3b441ab0fae260a0.
2013-03-09LaTeX reader: citation handling changes.John MacFarlane1-1/+1
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.
2013-03-07Markdown writer: Render citations as pandoc-markdown citations.John MacFarlane1-2/+2
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`.
2013-01-09Added Attr field to Header.John MacFarlane1-1/+4
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.
2013-01-03Updated test runner for changes in pandoc.John MacFarlane1-6/+6
2012-09-25Removed need for utf8-string package.John MacFarlane1-2/+2
* 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.
2012-09-21Tests.Old: Set TMP to ".".John MacFarlane1-1/+1
Otherwise TMP is unset and, on Windows, C:\Windows is used by default, leading to permission violations.
2012-09-12Added basic mediawiki reader.John MacFarlane1-1/+6
Text.Pandoc.Readers.MediaWiki module, tests/mediawiki-reader.{txt,native}.
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane1-2/+3
2012-07-26Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane1-0/+226
2011-01-29Moved tests to src.John MacFarlane1-201/+0
2011-01-29Added biblatex citation tests to Tests.Readers.LaTeX.John MacFarlane1-19/+1
Removed old biblatex-citations.latex.
2011-01-29Added natbib citation tests to Tests.Readers.LaTeX.John MacFarlane1-1/+0
Removed old tests/natbib-citations.latex.
2011-01-22Put dashed lines around diff results in Old test.John MacFarlane1-2/+5
2011-01-20Updated tests for new native format.John MacFarlane1-1/+2
2011-01-16Replaced --no-citeproc with --natbib in tests.John MacFarlane1-3/+3
2011-01-13Adjusted source to 80-column limit.John MacFarlane1-59/+83
2011-01-12Merge branch 'tests' of github.com:xabbu42/pandoc into testsNathan Gass1-3/+6
2011-01-12Reordered test files.Nathan Gass1-0/+189