aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-29Updated pandoc-setup to 1.8.John MacFarlane1-1/+1
2011-01-29Updated changelog.John MacFarlane1-8/+124
2011-01-29Moved tests to src.John MacFarlane11-1/+1
2011-01-29Updated tested-with field of cabal file.John MacFarlane1-1/+1
2011-01-29Shared: Fixed bug in normalize revealed by tests!John MacFarlane1-4/+5
2011-01-29Added Tests.Shared with normalize round-trip tests.John MacFarlane3-0/+24
2011-01-29Tests.Arbitrary: don't allow empty list items.John MacFarlane1-3/+5
2011-01-29Removed intentionally failing test in ConTeXt writer tests.John MacFarlane1-2/+2
2011-01-29Added biblatex citation tests to Tests.Readers.LaTeX.John MacFarlane4-71/+46
Removed old biblatex-citations.latex.
2011-01-29Added natbib citation tests to Tests.Readers.LaTeX.John MacFarlane4-52/+65
Removed old tests/natbib-citations.latex.
2011-01-28Finished revising markdown description in README.John MacFarlane1-47/+155
2011-01-28Improved README on lists.John MacFarlane1-10/+123
2011-01-28Support --listings in markdown2pdf (Etienne Millon).John MacFarlane2-1/+4
2011-01-28Add possibility to use listings package for code blocks andJosef Svenningsson5-9/+57
inline code in the LaTeX writer.
2011-01-28Fixed extractSection in MakeManPage.John MacFarlane1-5/+7
2011-01-28More README improvements.John MacFarlane1-68/+111
2011-01-28Partial restructuring of README.John MacFarlane1-281/+466
Aim is to provide a complete markdown syntax description, including pandoc differences.
2011-01-28RST reader: skip blanklines at beginning, not all leading spaces.John MacFarlane1-1/+1
If you skip all spaces, it becomes impossible to start with a blockquote.
2011-01-28Refactored man pages.John MacFarlane6-64/+110
* 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-28Shared: Make 'normalize' more generic.John MacFarlane1-1/+1
Now it can transform an Inline, [Inline], Block, [Block], or Pandoc.
2011-01-28Moved manpage.template -> man/man1/pandoc.1.template.John MacFarlane3-2/+3
2011-01-28RST reader: Skip blank space at beginning.John MacFarlane1-0/+1
Resolves Debian Bug #611328.
2011-01-28RTF writer: Embed images when possible.John MacFarlane4-9/+36
* Resolves Issue #275. * PNG and JPEG supported. * Export rtfEmbedImage.
2011-01-26Added Tests.Readers.Markdown.John MacFarlane3-0/+32
2011-01-26Add support for attributes in inline Code.John MacFarlane35-133/+152
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-26RST reader: Improved field lists.John MacFarlane3-82/+80
Field lists now work properly with block content. (Thanks to Lachlan Musicman for pointing out the bug.) In addition, definition list items are now always Para instead of Plain -- which matches behavior of rst2xml.py. Finally, in image blocks, the alt attribute is parsed properly and used for the alt, not also the title.
2011-01-26LaTeX reader: Fixed an incomplete pattern match.John MacFarlane1-1/+3
2011-01-26Added RST reader tests.John MacFarlane3-0/+49
2011-01-26Updates for compiling with ghc 7.John MacFarlane3-7/+13
We now use a CPP trick to have compatible quasiquotes that work in both GHC 6.12 and 7.
2011-01-26RST reader: Include line breaks in raw field list parser output.John MacFarlane1-1/+3
Note: field list items can have lists, etc. as values.
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