aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-12test-pandoc: Fixed + and - in diff output, which were reversed.John MacFarlane1-2/+2
2011-01-12test-pandoc: More diff-like diffs in case of test failure.John MacFarlane1-5/+5
2011-01-12Improvements to test suite.John MacFarlane6-21/+103
+ 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-11Removed outdated comments.Nathan Gass1-12/+0
2011-01-11Moved test-pandoc.hs to tests directory.Nathan Gass2-1/+1
2011-01-11Removed run prefix from all test functions.Nathan Gass1-70/+68
2011-01-11Include lhs tests in existing testGroup structure.Nathan Gass1-41/+30
2011-01-11Add reader groups for markdown and rst reader tests.Nathan Gass1-10/+12
2011-01-10Changed test-pandoc to use test-framework and HUnit.Nathan Gass3-115/+104
2011-01-09Updated changelog, relann1.7.John MacFarlane2-6/+40
2011-01-07pandoc: Test standalone' rather than standalone for final newline.John MacFarlane1-1/+1
2011-01-07LaTeX reader: Support simple tables.John MacFarlane2-1/+65
2011-01-06pandoc: Add newline to output unless standalone.John MacFarlane22-12/+27
This avoids output that does not end with a newline, which is inconvenient when working with many tools. Updated tests accordingly.
2011-01-06LHS test changes for new wrapping & highlighting-kate version.John MacFarlane8-34/+69
2011-01-06RST writer: blank line after literate Haskell code block.John MacFarlane1-3/+3
2011-01-06test-pandoc: Wrap to 78 columns in lhs writer tests.John MacFarlane1-1/+1
2011-01-06Fixed lhs-test.markdown for new wrapping.John MacFarlane1-8/+11
2011-01-06Markdown writer: blank line after delimited code block.John MacFarlane1-2/+2
2011-01-06LaTeX reader: allow spaces btw \\begin or \\end and {.John MacFarlane2-11/+28
2011-01-06LaTeX reader: Removed unnecessary 'spaces'.John MacFarlane1-4/+0
2011-01-06HTML reader: Fixed bug in htmlTag for comments.John MacFarlane1-2/+9
2011-01-05LaTeX reader: Apply macros to non-math; handle ensuremath.John MacFarlane1-9/+23
2011-01-05LaTeX reader: Don't handle \label and \ref specially.John MacFarlane1-11/+0
Put labels in {} instead of ().
2011-01-05LaTeX reader: Support \L \l accents.John MacFarlane1-1/+8
2011-01-05Updated for texmath 0.5.John MacFarlane2-14/+14
2011-01-05Fixed macro parsing.John MacFarlane1-8/+10
2011-01-05LaTeX reader: Parse inside arguments when ignoring commands.John MacFarlane1-9/+11
2011-01-05LaTeX reader: Don't handle \index separately.John MacFarlane1-7/+0
Instead, just put it in list of commands to ignore.
2011-01-05LaTeX reader: Added "index" to ignorable commands.John MacFarlane1-1/+1
2011-01-05LaTeX reader: skip space before option or argument.John MacFarlane1-1/+1
2011-01-05LaTeX reader: Skip \index commands.John MacFarlane1-1/+8
2011-01-05LaTeX reader: Removed \group (we want to parse inside {}).John MacFarlane1-6/+0
2011-01-05LaTeX reader: Better handling of preamble, inc. parsing macros.John MacFarlane1-10/+20
2011-01-04LaTeX reader: Parse bracketed {parts} as raw TeX.John MacFarlane1-2/+2
2011-01-04Markdown reader: Removed unneeded definitions.John MacFarlane1-10/+8
specialChars, strChar, specialCharsMinusLt.
2011-01-04LaTeX reader: parse macros and apply to math.John MacFarlane1-7/+8
2011-01-04Moved 'macro' and 'applyMacros'' from markdown reader to Parsing.John MacFarlane2-26/+27
2011-01-01Fixed regression in markdown reader.John MacFarlane4-204/+204
'(_hi_)' was being parsed with literal underscores (no emphasis). The fix: the 'str' parser now only parses alphanumerics and embedded underscores. All other symbols are handled by the 'symbol' parser. This has a slight effect on the AST, since you'll get [Str "hi",Str ":"] insntead of [Str "hi:"]. But there should not be a visible effect in any of the writers. Thanks to gwern for pointing out the regression.
2011-01-01Updated copyright notices.John MacFarlane2-2/+14
2011-01-01Updated pandoc-setup.iss.John MacFarlane1-1/+2
2011-01-01New version of changelog based on relann draft.John MacFarlane1-219/+154
2011-01-01Added early draft of release announcement for 1.7.John MacFarlane1-0/+248
2011-01-01Documented -V fontsize= in markdown2pdf man page.John MacFarlane1-4/+2
2011-01-01Updated changelog.John MacFarlane1-0/+298
2010-12-30LaTeX reader: Allow ignored comments after \end{document}.John MacFarlane1-3/+1
2010-12-30HTML reader: Fixed some parsing bugs.John MacFarlane1-22/+28
2010-12-30More accurate benchmark for normalize.John MacFarlane1-3/+6
2010-12-30Added support for listings package code blocks and inline code.Puneeth Chaganti1-2/+9
2010-12-30Textile reader: Slight speed improvement.John MacFarlane1-5/+5
2010-12-30New HTML reader using tagsoup as a lexer.John MacFarlane8-640/+441
* 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.