aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-26RST reader: Allow spaces in field list names.John MacFarlane1-1/+1
2011-01-26Updated tests.John MacFarlane3-3/+4
2011-01-26Adjusted writers to use "tex".John MacFarlane5-8/+9
2011-01-26Markdown reader: Don't parse latex/context environments as inline.John MacFarlane1-9/+15
2011-01-26Distinguish latex & context environments; blank line after in writers.John MacFarlane6-14/+9
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane39-156/+186
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-23Updated textile tests.John MacFarlane1-1/+14
2011-01-23Added needed space after .bc and .bq.John MacFarlane3-148/+172
Otherwise these can trap a </dd>, for example. Better solution to try next: rewrite using Pretty.
2011-01-23Textile writer: Don't escape code in bc. block.John MacFarlane2-9/+9
2011-01-23Textile writer: Don't HTML-escape between @'s.John MacFarlane3-4/+4
2011-01-23Textile reader: Fixed bug (swallowed p at beginning of paragraph).John MacFarlane3-3/+6
The problem was a missing 'try' in the maybeExplicitBlock parser. Test case, a paragraph beginning with 'p', has been added.
2011-01-23Textile writer: Use <pre> instead of bc.. for code with blank lines.John MacFarlane2-7/+14
This has fewer interaction effects.
2011-01-23Textile reader: Support <tt> for inline code.John MacFarlane3-3/+14
2011-01-23Textile reader: Added code blocks with bc.John MacFarlane3-2/+15
2011-01-23Default to textile writer on .textile extension.John MacFarlane1-0/+1
2011-01-22ConTeXt writer: Ensure cr after \stoptyping.John MacFarlane1-1/+1
2011-01-22Text.Pandoc: Added jsonFilter for easy construction of scripts.John MacFarlane1-0/+7
Here's an example of its use: -- removelinks.hs - removes links from document import Text.Pandoc main = interact $ jsonFilter $ bottomUp removeLink removeLink :: Inline -> Inline removeLink (Link xs _) = Emph xs removeLink x = x
2011-01-22Markdown reader: slight speedup by moving whitespace parser.John MacFarlane1-2/+2
2011-01-22RST reader: Big speed improvement (300->260ms).John MacFarlane1-2/+2
Moved whitespace parser to top of inline parsers.
2011-01-22Removed deliberate error in LaTeX reader tests.John MacFarlane1-1/+1
2011-01-22Reorganized tests.John MacFarlane1-4/+4
The native writer test needs to run before others that depend on it.
2011-01-22Use ANSI color to point to diffs in test output.John MacFarlane3-9/+24
ConTeXt writer bullet list test set to break as an example.
2011-01-22Added stripansi.sh, for sending 'cabal test' output to file.John MacFarlane1-0/+10
cabal test | ./stripansi.sh > test.log.
2011-01-22Tests.Helpers: Added file quasiquoter.John MacFarlane1-0/+14
This allows you to take expected test output from a file.
2011-01-22Tests.Arbitrary: Let strings include any character.John MacFarlane1-1/+1
2011-01-22Fixed -Wall error in imports.John MacFarlane1-1/+1
2011-01-22Put dashed lines around diff results in Old test.John MacFarlane1-2/+5
2011-01-22Depend on latest QuickCheck2.John MacFarlane1-2/+2
2011-01-22Added native writer tests.John MacFarlane4-4/+25
2011-01-22Added 'property' in Tests.Helpers & some quickcheck tests.John MacFarlane4-2/+29
2011-01-22Tests.Arbitrary: Added instances for Inlines, Blocks.John MacFarlane1-0/+8
2011-01-22ConTeXt writer: Don't add cr at end of inline footnote.John MacFarlane2-8/+6
2011-01-22Improved test framework.John MacFarlane4-48/+120
Now there is a uniform interface for reader and writer tests. Also added a quasiquoter, for multiline strings.
2011-01-21Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane7-13/+5
2011-01-21latex template: move special treatment of \sout.John MacFarlane7-13/+5
It needs to be inside the if(strikeout) condition, after the ulem package is imported; otherwise we try to renewcommand{\sout} when \sout isn't yet defined.
2011-01-21More informative output on writer test failure.John MacFarlane2-8/+8
2011-01-21Added Tests.Writers.ConTeXt and helpers for writer tests.John MacFarlane4-0/+39
2011-01-21Make sure native output ends in newline with --standalone.John MacFarlane8-8/+8
2011-01-21Haddock comment improvements.John MacFarlane2-2/+7
2011-01-20Added --normalize option.John MacFarlane2-1/+11
2011-01-20Fixed the two test cases that were intentionally set to fail.John MacFarlane1-2/+2
2011-01-20Updated tests for new native format.John MacFarlane14-2332/+2240
2011-01-20Markdown writer: Avoid printing excess spaces at end if no notes/refs.John MacFarlane1-1/+2
2011-01-20Native writer: eliminated empty spaces in brackets.John MacFarlane1-2/+3
2011-01-20Export readNative in Text.Pandoc.Shared.John MacFarlane1-0/+1
2011-01-20Improved native writer using Pretty.John MacFarlane1-48/+32
2-3X speed improvement and more consistent layout.
2011-01-19Made writeNative sensitive to writerStandalone.John MacFarlane1-4/+7
The Pandoc (Meta ...) is not written unless standalone is set.
2011-01-19Added Text.Pandoc.Readers.Native (readNative).John MacFarlane3-1/+83
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-19Use spaceChar instead of oneOf " \t" in rst reader.John MacFarlane1-5/+5
2011-01-19Replaced more noneOf/oneOf parsers.John MacFarlane1-5/+11