Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-23 | Updated textile tests. | John MacFarlane | 1 | -1/+14 | |
2011-01-23 | Added needed space after .bc and .bq. | John MacFarlane | 3 | -148/+172 | |
Otherwise these can trap a </dd>, for example. Better solution to try next: rewrite using Pretty. | |||||
2011-01-23 | Textile writer: Don't escape code in bc. block. | John MacFarlane | 2 | -9/+9 | |
2011-01-23 | Textile writer: Don't HTML-escape between @'s. | John MacFarlane | 3 | -4/+4 | |
2011-01-23 | Textile reader: Fixed bug (swallowed p at beginning of paragraph). | John MacFarlane | 3 | -3/+6 | |
The problem was a missing 'try' in the maybeExplicitBlock parser. Test case, a paragraph beginning with 'p', has been added. | |||||
2011-01-23 | Textile writer: Use <pre> instead of bc.. for code with blank lines. | John MacFarlane | 2 | -7/+14 | |
This has fewer interaction effects. | |||||
2011-01-23 | Textile reader: Support <tt> for inline code. | John MacFarlane | 3 | -3/+14 | |
2011-01-23 | Textile reader: Added code blocks with bc. | John MacFarlane | 3 | -2/+15 | |
2011-01-23 | Default to textile writer on .textile extension. | John MacFarlane | 1 | -0/+1 | |
2011-01-22 | ConTeXt writer: Ensure cr after \stoptyping. | John MacFarlane | 1 | -1/+1 | |
2011-01-22 | Text.Pandoc: Added jsonFilter for easy construction of scripts. | John MacFarlane | 1 | -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-22 | Markdown reader: slight speedup by moving whitespace parser. | John MacFarlane | 1 | -2/+2 | |
2011-01-22 | RST reader: Big speed improvement (300->260ms). | John MacFarlane | 1 | -2/+2 | |
Moved whitespace parser to top of inline parsers. | |||||
2011-01-22 | Removed deliberate error in LaTeX reader tests. | John MacFarlane | 1 | -1/+1 | |
2011-01-22 | Reorganized tests. | John MacFarlane | 1 | -4/+4 | |
The native writer test needs to run before others that depend on it. | |||||
2011-01-22 | Use ANSI color to point to diffs in test output. | John MacFarlane | 3 | -9/+24 | |
ConTeXt writer bullet list test set to break as an example. | |||||
2011-01-22 | Added stripansi.sh, for sending 'cabal test' output to file. | John MacFarlane | 1 | -0/+10 | |
cabal test | ./stripansi.sh > test.log. | |||||
2011-01-22 | Tests.Helpers: Added file quasiquoter. | John MacFarlane | 1 | -0/+14 | |
This allows you to take expected test output from a file. | |||||
2011-01-22 | Tests.Arbitrary: Let strings include any character. | John MacFarlane | 1 | -1/+1 | |
2011-01-22 | Fixed -Wall error in imports. | John MacFarlane | 1 | -1/+1 | |
2011-01-22 | Put dashed lines around diff results in Old test. | John MacFarlane | 1 | -2/+5 | |
2011-01-22 | Depend on latest QuickCheck2. | John MacFarlane | 1 | -2/+2 | |
2011-01-22 | Added native writer tests. | John MacFarlane | 4 | -4/+25 | |
2011-01-22 | Added 'property' in Tests.Helpers & some quickcheck tests. | John MacFarlane | 4 | -2/+29 | |
2011-01-22 | Tests.Arbitrary: Added instances for Inlines, Blocks. | John MacFarlane | 1 | -0/+8 | |
2011-01-22 | ConTeXt writer: Don't add cr at end of inline footnote. | John MacFarlane | 2 | -8/+6 | |
2011-01-22 | Improved test framework. | John MacFarlane | 4 | -48/+120 | |
Now there is a uniform interface for reader and writer tests. Also added a quasiquoter, for multiline strings. | |||||
2011-01-21 | Merge branch 'master' of github.com:jgm/pandoc | John MacFarlane | 7 | -13/+5 | |
2011-01-21 | latex template: move special treatment of \sout. | John MacFarlane | 7 | -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-21 | More informative output on writer test failure. | John MacFarlane | 2 | -8/+8 | |
2011-01-21 | Added Tests.Writers.ConTeXt and helpers for writer tests. | John MacFarlane | 4 | -0/+39 | |
2011-01-21 | Make sure native output ends in newline with --standalone. | John MacFarlane | 8 | -8/+8 | |
2011-01-21 | Haddock comment improvements. | John MacFarlane | 2 | -2/+7 | |
2011-01-20 | Added --normalize option. | John MacFarlane | 2 | -1/+11 | |
2011-01-20 | Fixed the two test cases that were intentionally set to fail. | John MacFarlane | 1 | -2/+2 | |
2011-01-20 | Updated tests for new native format. | John MacFarlane | 14 | -2332/+2240 | |
2011-01-20 | Markdown writer: Avoid printing excess spaces at end if no notes/refs. | John MacFarlane | 1 | -1/+2 | |
2011-01-20 | Native writer: eliminated empty spaces in brackets. | John MacFarlane | 1 | -2/+3 | |
2011-01-20 | Export readNative in Text.Pandoc.Shared. | John MacFarlane | 1 | -0/+1 | |
2011-01-20 | Improved native writer using Pretty. | John MacFarlane | 1 | -48/+32 | |
2-3X speed improvement and more consistent layout. | |||||
2011-01-19 | Made writeNative sensitive to writerStandalone. | John MacFarlane | 1 | -4/+7 | |
The Pandoc (Meta ...) is not written unless standalone is set. | |||||
2011-01-19 | Added Text.Pandoc.Readers.Native (readNative). | John MacFarlane | 3 | -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-19 | Use spaceChar instead of oneOf " \t" in rst reader. | John MacFarlane | 1 | -5/+5 | |
2011-01-19 | Replaced more noneOf/oneOf parsers. | John MacFarlane | 1 | -5/+11 | |
2011-01-19 | Replaced uses of oneOf with more efficient parsers. | John MacFarlane | 1 | -12/+19 | |
This speeds up the markdown reader. | |||||
2011-01-19 | More small parser rewrites for small performance gains. | John MacFarlane | 1 | -9/+11 | |
2011-01-19 | Parsing: Rewrote spaceChar for significant speedup in readers. | John MacFarlane | 1 | -1/+1 | |
2011-01-19 | Include man pages in extra-source-files. | John MacFarlane | 1 | -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-19 | Fixed problem with inline code in ConTeXt writer. | John MacFarlane | 1 | -1/+3 | |
Previously `}` would be rendered '\type{}}'. Now we check the string for '}' and '{'. If it contains neither, use \type{}; otherwise use \mono{} with an escaped version of the string. Note: There are some issues using the \type!str! form, including differences btw mkii and mkiv. For now this is a conservative fix. Perhaps in the future we can use \type!str!. See the discussion on pandoc-discuss s.v. "Bug in context writer". | |||||
2011-01-19 | Fixed problem with strikout in LaTeX headers with hyperref. | John MacFarlane | 7 | -0/+14 | |
Added a command to the latex template to disable \sout inside pdf strings. Thanks to Joost Kremers for the fix. |