aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2011-01-30Depend on citeproc >= 0.3.1.John MacFarlane1-2/+2
2011-01-29Added HTML writer tests for inline code.John MacFarlane1-0/+1
2011-01-29Depend on highlighting-kate >= 0.2.9.John MacFarlane1-2/+2
This is needed for highlighting of inline code.
2011-01-29Moved tests to src.John MacFarlane1-1/+1
2011-01-29Updated tested-with field of cabal file.John MacFarlane1-1/+1
2011-01-29Added Tests.Shared with normalize round-trip tests.John MacFarlane1-0/+1
2011-01-29Added biblatex citation tests to Tests.Readers.LaTeX.John MacFarlane1-1/+0
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-28Refactored man pages.John MacFarlane1-1/+5
* Markdown syntax description from README now goes in pandoc_markdown.5. * Refactored man page construction functions, putting more of the work in MakeManPages.hs.
2011-01-28Moved manpage.template -> man/man1/pandoc.1.template.John MacFarlane1-1/+1
2011-01-26Added Tests.Readers.Markdown.John MacFarlane1-0/+1
2011-01-26Add support for attributes in inline Code.John MacFarlane1-2/+2
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code.
2011-01-26Added RST reader tests.John MacFarlane1-0/+1
2011-01-26Updates for compiling with ghc 7.John MacFarlane1-3/+7
We now use a CPP trick to have compatible quasiquotes that work in both GHC 6.12 and 7.
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane1-3/+3
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements.
2011-01-22Use ANSI color to point to diffs in test output.John MacFarlane1-1/+2
ConTeXt writer bullet list test set to break as an example.
2011-01-22Depend on latest QuickCheck2.John MacFarlane1-2/+2
2011-01-22Added native writer tests.John MacFarlane1-0/+1
2011-01-22Added 'property' in Tests.Helpers & some quickcheck tests.John MacFarlane1-0/+2
2011-01-22Improved test framework.John MacFarlane1-1/+2
Now there is a uniform interface for reader and writer tests. Also added a quasiquoter, for multiline strings.
2011-01-21Added Tests.Writers.ConTeXt and helpers for writer tests.John MacFarlane1-0/+1
2011-01-19Added Text.Pandoc.Readers.Native (readNative).John MacFarlane1-0/+1
readNative can now read full pandoc documents, block lists, blocks, inline lists, or inlines. It will interpret Str "hi" as if it were Pandoc (Meta [] [] []) [Plain [Str "hi"]] This should make testing easier.
2011-01-19Include man pages in extra-source-files.John MacFarlane1-0/+3
The man pages are produced by a post-build hook, using MakeManPage.hs. However, there seem to be problems running this program on some systems; see https://github.com/jgm/pandoc/issues/#issue/15. This change means that the generated man pages will be included in the tarball produced by 'cabal sdist', and hence in releases. They will still be updated by the build process if the sources change, but in most builds, the man page won't need to be regenerated.
2011-01-15Added upper bounds to all cabal dependencies.John MacFarlane1-20/+38
2011-01-15Merge branch 'tests'John MacFarlane1-4/+17
2011-01-15Added new tests to pandoc.cabal.John MacFarlane1-0/+14
Otherwise cabal sdist won't include them.
2011-01-14Require Cabal version >= 1.6.John MacFarlane1-1/+1
2011-01-14Keep Tests.Arbitrary but remove quickcheck tests for now.John MacFarlane1-3/+1
Remove Tests.Shared. Remove dependency on QuickCheck.
2011-01-14Added quickcheck tests for normalize in Shared.John MacFarlane1-2/+5
2011-01-13Added Tests/Arbitrary.hs, with Arbitrary instances.John MacFarlane1-2/+6
2011-01-12Removed copy-pasted -O2.Nathan Gass1-2/+2
2011-01-12Added some basic testing infrastructure and some latex reader tests.Nathan Gass1-1/+4
2011-01-12Improvements to test suite.John MacFarlane1-1/+6
+ You can now specify glob patterns after 'cabal test'; e.g. 'cabal test latex' will only run the latex tests. + Instead of detecting highlighting support in Setup.hs, we now detect it in test-pandoc, by looking to see if 'languages' is null. + We now verify the lhs readers against the lhs-test.native, normalizing with 'normalize'. This makes more sense than verifying against HTML, which also brings in the HTML writer. + Added lhsn-test.nohl.{html,html+lhs}, so we can do the lhs tests whether or not highlighting has been installed.
2011-01-11Moved test-pandoc.hs to tests directory.Nathan Gass1-1/+1
2011-01-10Changed test-pandoc to use test-framework and HUnit.Nathan Gass1-1/+1
2011-01-05Updated for texmath 0.5.John MacFarlane1-1/+1
2010-12-30New HTML reader using tagsoup as a lexer.John MacFarlane1-2/+4
* The new reader is faster and more accurate. * API changes for Text.Pandoc.Readers.HTML: - removed rawHtmlBlock, anyHtmlBlockTag, anyHtmlInlineTag, anyHtmlTag, anyHtmlEndTag, htmlEndTag, extractTagType, htmlBlockElement, htmlComment - added htmlTag, htmlInBalanced, isInlineTag, isBlockTag, isTextTag * tagsoup is a new dependency. * Text.Pandoc.Parsing: Generalized type on readWith. * Benchmark.hs: Added length calculation to force full evaluation. * Updated HTML reader tests. * Updated markdown and textile readers to use the functions from the HTML reader. * Note: The markdown reader now correctly handles some cases it did not before. For example: <hr/> is reproduced without adding a space. <script> a = '<b>'; </script> is parsed correctly.
2010-12-22Removed all dependencies on 'pretty' package.John MacFarlane1-2/+2
2010-12-17Added new prettyprinting module.John MacFarlane1-4/+6
* Added Text.Pandoc.Pretty. This is better suited for pandoc than the 'pretty' package. One advantage is that we now get proper wrapping; Emph [Inline] is no longer treated as a big unwrappable unit. Previously we only got breaks for spaces at the "outer level." We can also more easily avoid doubled blank lines. Performance is significantly better as well. * Removed Text.Pandoc.Blocks. Text.Pandoc.Pretty allows you to define blocks and concatenate them. * Modified markdown, RST, org readers to use Text.Pandoc.Pretty instead of Text.PrettyPrint.HughesPJ. * Text.Pandoc.Shared: Added writerColumns to WriterOptions. * Markdown, RST, Org writers now break text at writerColumns. * Added --columns command-line option, which sets stColumns and writerColumns. * Table parsing: If the size of the header > stColumns, use the header size as 100% for purposes of calculating relative widths of columns.
2010-12-15test-pandoc: removed need to depend on MissingH.John MacFarlane1-2/+2
2010-12-15Added 'tests' Cabal flag.John MacFarlane1-7/+21
+ This ensures that test-pandoc gets built. + 'cabal test' now runs this. + The old tests/RunTests.hs has been removed, and src/test-pandoc.hs added.
2010-12-11Added JSON reader and writer.John MacFarlane1-2/+4
The JSON reader is about 20x faster than the native reader. So this can be a good way to serialize a pandoc document.
2010-12-10Added Benchmark.hs to extra-source-files.John MacFarlane1-0/+2
2010-12-09Added json format for reading and writing.John MacFarlane1-2/+4
This is faster to parse than native.
2010-12-07Improved process to create man page from README.John MacFarlane1-1/+4
Previously it relied on pandoc already being installed. Now it uses dist/package.conf.inplace.
2010-12-05Documented org-mode writer in README, cabal, man pages.John MacFarlane1-1/+2
2010-12-05Added templates/org.template to pandoc.cabal.Puneeth Chaganti1-1/+1
2010-12-04Added Org-mode writerPuneeth Chaganti1-0/+1
+ Added Text/Pandoc/Writers/Org.hs + Added to pandoc.cabal + Added to pandoc.hs and Text/Pandoc.hs exports.
2010-12-03Merge branch 'citeproc' into master.John MacFarlane1-15/+10
Conflicts: src/Text/Pandoc/Definition.hs
2010-12-03more support for Textile reader (explicit links, images), tests and cabal ↵Paul Rivier1-1/+3
entries