Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-12 | Merge branch 'master' into tests | John MacFarlane | 13 | -55/+130 | |
2011-01-12 | Remove some accidentally commited functions. Fixed a type and alignment. | Nathan Gass | 1 | -15/+4 | |
2011-01-12 | Added some basic testing infrastructure and some latex reader tests. | Nathan Gass | 4 | -1/+79 | |
2011-01-12 | Started implementing splitted test suite. | Nathan Gass | 2 | -181/+191 | |
Moved old tests into Old.hs and added new simple test-pandoc.hs for loading and grouping together tests from different files. Later commits will add more testfiles to the suite with more modular tests. | |||||
2011-01-12 | test-pandoc: Improved header for diff output. | John MacFarlane | 1 | -2/+2 | |
2011-01-12 | test-pandoc: More informative diff output on test failure. | John MacFarlane | 1 | -4/+7 | |
Now the test suite tells you the exact command that was run, and the file containing the expected output. | |||||
2011-01-12 | test-pandoc: Relocated --columns=80 to just where it's needed. | John MacFarlane | 1 | -4/+4 | |
We only need it for certain table tests, because of the relative alignments. | |||||
2011-01-12 | test-pandoc: Fixed + and - in diff output, which were reversed. | John MacFarlane | 1 | -2/+2 | |
2011-01-12 | test-pandoc: More diff-like diffs in case of test failure. | John MacFarlane | 1 | -5/+5 | |
2011-01-12 | Improvements to test suite. | John MacFarlane | 6 | -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-11 | Improvements to --html5 support: | John MacFarlane | 10 | -40/+72 | |
+ <nav> for TOC, <figure> for figures, type attribute in <ol>. + Don't add math javascript in html5. + Use style attributes instead of deprecated width, align. + html template: move <title> after <meta>. Note: charset needs to be declared before title. + slidy and s5 templates: move <title> after <meta>. + html template: Added link to html5 shim for IE. + Make --html5 have an effect only for 'html' writer (not s5, slidy, epub). | |||||
2011-01-11 | Preliminary support for HTML5. | John MacFarlane | 5 | -8/+45 | |
+ Added writerHtml5 writer option. + Added --html5 option. + Added support for lang in html tag (so you can do 'pandoc -s --V lang=en', for example). + Updated html template with conditionals for HTML5. + When HTML5 selected, use <header> tag around title in document, and use <section> tags instead of <div>s if --section-divs specified. | |||||
2011-01-11 | Setup.hs: -Wall clean. | John MacFarlane | 1 | -3/+3 | |
2011-01-11 | Text.Pandoc: Improved readers, writers lists for lhs variants. | John MacFarlane | 1 | -6/+12 | |
Now the lhs variants set the needed literate Haskell flag in parser state and writer options. | |||||
2011-01-11 | Removed outdated comments. | Nathan Gass | 1 | -12/+0 | |
2011-01-11 | Moved test-pandoc.hs to tests directory. | Nathan Gass | 2 | -1/+1 | |
2011-01-11 | Removed run prefix from all test functions. | Nathan Gass | 1 | -70/+68 | |
2011-01-11 | Include lhs tests in existing testGroup structure. | Nathan Gass | 1 | -41/+30 | |
2011-01-11 | Add reader groups for markdown and rst reader tests. | Nathan Gass | 1 | -10/+12 | |
2011-01-10 | Changed test-pandoc to use test-framework and HUnit. | Nathan Gass | 3 | -115/+104 | |
2011-01-09 | Updated changelog, relann1.7. | John MacFarlane | 2 | -6/+40 | |
2011-01-07 | pandoc: Test standalone' rather than standalone for final newline. | John MacFarlane | 1 | -1/+1 | |
2011-01-07 | LaTeX reader: Support simple tables. | John MacFarlane | 2 | -1/+65 | |
2011-01-06 | pandoc: Add newline to output unless standalone. | John MacFarlane | 22 | -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-06 | LHS test changes for new wrapping & highlighting-kate version. | John MacFarlane | 8 | -34/+69 | |
2011-01-06 | RST writer: blank line after literate Haskell code block. | John MacFarlane | 1 | -3/+3 | |
2011-01-06 | test-pandoc: Wrap to 78 columns in lhs writer tests. | John MacFarlane | 1 | -1/+1 | |
2011-01-06 | Fixed lhs-test.markdown for new wrapping. | John MacFarlane | 1 | -8/+11 | |
2011-01-06 | Markdown writer: blank line after delimited code block. | John MacFarlane | 1 | -2/+2 | |
2011-01-06 | LaTeX reader: allow spaces btw \\begin or \\end and {. | John MacFarlane | 2 | -11/+28 | |
2011-01-06 | LaTeX reader: Removed unnecessary 'spaces'. | John MacFarlane | 1 | -4/+0 | |
2011-01-06 | HTML reader: Fixed bug in htmlTag for comments. | John MacFarlane | 1 | -2/+9 | |
2011-01-05 | LaTeX reader: Apply macros to non-math; handle ensuremath. | John MacFarlane | 1 | -9/+23 | |
2011-01-05 | LaTeX reader: Don't handle \label and \ref specially. | John MacFarlane | 1 | -11/+0 | |
Put labels in {} instead of (). | |||||
2011-01-05 | LaTeX reader: Support \L \l accents. | John MacFarlane | 1 | -1/+8 | |
2011-01-05 | Updated for texmath 0.5. | John MacFarlane | 2 | -14/+14 | |
2011-01-05 | Fixed macro parsing. | John MacFarlane | 1 | -8/+10 | |
2011-01-05 | LaTeX reader: Parse inside arguments when ignoring commands. | John MacFarlane | 1 | -9/+11 | |
2011-01-05 | LaTeX reader: Don't handle \index separately. | John MacFarlane | 1 | -7/+0 | |
Instead, just put it in list of commands to ignore. | |||||
2011-01-05 | LaTeX reader: Added "index" to ignorable commands. | John MacFarlane | 1 | -1/+1 | |
2011-01-05 | LaTeX reader: skip space before option or argument. | John MacFarlane | 1 | -1/+1 | |
2011-01-05 | LaTeX reader: Skip \index commands. | John MacFarlane | 1 | -1/+8 | |
2011-01-05 | LaTeX reader: Removed \group (we want to parse inside {}). | John MacFarlane | 1 | -6/+0 | |
2011-01-05 | LaTeX reader: Better handling of preamble, inc. parsing macros. | John MacFarlane | 1 | -10/+20 | |
2011-01-04 | LaTeX reader: Parse bracketed {parts} as raw TeX. | John MacFarlane | 1 | -2/+2 | |
2011-01-04 | Markdown reader: Removed unneeded definitions. | John MacFarlane | 1 | -10/+8 | |
specialChars, strChar, specialCharsMinusLt. | |||||
2011-01-04 | LaTeX reader: parse macros and apply to math. | John MacFarlane | 1 | -7/+8 | |
2011-01-04 | Moved 'macro' and 'applyMacros'' from markdown reader to Parsing. | John MacFarlane | 2 | -26/+27 | |
2011-01-01 | Fixed regression in markdown reader. | John MacFarlane | 4 | -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-01 | Updated copyright notices. | John MacFarlane | 2 | -2/+14 | |