Commit Graph
3114 Commits
Author SHA1 Message Date
John MacFarlane f9dcea6655 HTML writer: More normal line breaks.
Also removes any distinction between --no-wrap and default HTML
output.

Resolves Issue #134.
2011-02-04 18:37:02 -08:00
John MacFarlane 1a19f96a5b Native writer test: in block list test, limit to list < 20 blocks. 2011-02-04 18:33:32 -08:00
John MacFarlane c686010a92 Added cCommented-out round-trip property in markdown reader test. 2011-02-04 18:33:08 -08:00
John MacFarlane 221177c272 Shared: Minor refactoring. 2011-02-04 18:32:54 -08:00
John MacFarlane 714303b210 Improved Arbitrary instance. 2011-02-04 18:32:30 -08:00
John MacFarlane 99677ac05d Setup.hs: Added a 5 second timeout for test cases. 2011-02-04 16:53:21 -08:00
John MacFarlane 70405ef98a normalize: Normalize spaces too.
In normal form, Space elements only occur to separate two non-Space
elements.  So, we never have [Space], or [, ..., Space].
2011-02-04 13:43:38 -08:00
John MacFarlane 8e81437fd1 markdown2pdf: Fixed bug with output file extensions.
Previously 'markdown2pdf test.txt -o test.en.pdf' would produce
'test.pdf', not 'test.en.pdf'.

Thanks to Paolo Tanimoto for the fix.
2011-02-04 11:27:20 -08:00
John MacFarlane d4b71a6423 Markdown reader: Simplified and corrected footnote block parser. 2011-02-01 22:35:27 -08:00
John MacFarlane 5dce199ff7 Added 6.10.4 to list of GHC versions test (MacPorts). 2011-02-01 07:43:21 -08:00
John MacFarlane 1edeea5d60 Added a (failing) test for footnotes. 2011-02-01 07:37:22 -08:00
John MacFarlane e898f0abef Improved fix to markdown noteBlock parser.
The last patch did not handle cases with > 4 spaces.

Also added a more general test case.
2011-01-31 20:42:49 -08:00
John MacFarlane f282b462bb Markdown reader: Fixed whitespace footnote bug (Jesse Rosenthal).
The problem was in input like this:

[^1]:  note

not in note.

Also added a test case for this.
2011-01-31 20:05:11 -08:00
John MacFarlane 21e56042c8 Updated changelog. 1.8.0.1 2011-01-31 09:35:45 -08:00
John MacFarlane 3068f8ad15 Version bump to 1.8.0.1. 2011-01-31 09:34:51 -08:00
John MacFarlane f879b99ad1 Setup.hs: Don't call MakeManPage.hs unless the man pages need making. 2011-01-31 09:34:15 -08:00
John MacFarlane 492d5e91d5 Fixed Interact.hs to handle the cpp macros in UTF8. 2011-01-30 18:17:35 -08:00
John MacFarlane fecdd80d49 Markdown fixes in changelog. 1.8 2011-01-30 17:33:12 -08:00
John MacFarlane 6d6eb9ab5d Fixed misspelling in README. 2011-01-30 17:02:22 -08:00
John MacFarlane cf0a843239 UTF8: Use #if instead of #ifdef. 2011-01-30 17:01:50 -08:00
John MacFarlane 9e57e93243 Updated changelog. 2011-01-30 16:04:27 -08:00
John MacFarlane e42f346516 Merge branch 'lineend' 2011-01-30 16:03:06 -08:00
John MacFarlane b1b6d0f859 UTF8 module: Use base 4.2 IO if available.
This gives us proper line endings on windows, and some speed
improvements.

We fall back to the old functions if base < 4.2.

hGetContents is now exported.
2011-01-30 16:01:31 -08:00
John MacFarlane afe90390ea pandoc.hs: Simplified code for writing result. 2011-01-30 14:02:16 -08:00
John MacFarlane c2998f5e90 Require non-buggy zip-archive 0.1.1.7. 2011-01-30 13:53:14 -08:00
John MacFarlane f1dde27088 Final update of changelog. 2011-01-30 08:53:58 -08:00
John MacFarlane f911bae39e Depend on citeproc >= 0.3.1. 2011-01-30 08:26:52 -08:00
John MacFarlane 71ca44db6e LaTeX reader: Fixed bug with whitespace at beginning of file.
Previously a file beginning "   hi" would cause a parse error.
Also cleaned up comment parsing.
2011-01-30 08:21:48 -08:00
John MacFarlane 2a9f55cd78 Updated changelog. 2011-01-29 23:10:30 -08:00
John MacFarlane 8a3fd7606f Markdown reader tables: Fixed bug in alignments.
Previously pandoc got confused by blank rows in the header.
2011-01-29 23:09:07 -08:00
John MacFarlane caa091e810 Highlighting: Fixed non-highlighting-kate version of highlightHtml. 2011-01-29 23:08:29 -08:00
John MacFarlane 3b5dbe6fdb Added HTML writer tests for inline code. 2011-01-29 16:26:00 -08:00
John MacFarlane 22969c1b9c HTML writer: avoid doubled <code> tag for highlighted inline code. 2011-01-29 16:11:16 -08:00
John MacFarlane 9f28acba9d Fixed highlighting for inline code.
highlightHtml in Highlighting now has a boolean argument that
selects between inline and block content.

Revised tests for new highlighting-kate.
2011-01-29 16:04:07 -08:00
John MacFarlane 9e89047518 Depend on highlighting-kate >= 0.2.9.
This is needed for highlighting of inline code.
2011-01-29 15:24:48 -08:00
John MacFarlane 154b48c627 Updated some dates in documentation. 2011-01-29 13:14:25 -08:00
John MacFarlane 07fcc4bff2 Updated pandoc-setup to 1.8. 2011-01-29 13:09:32 -08:00
John MacFarlane 65217e86c6 Updated changelog. 2011-01-29 12:32:05 -08:00
John MacFarlane 570d8ff08c Moved tests to src. 2011-01-29 11:24:16 -08:00
John MacFarlane fbf166b6c3 Updated tested-with field of cabal file. 2011-01-29 10:57:55 -08:00
John MacFarlane 387a2b365e Shared: Fixed bug in normalize revealed by tests! 2011-01-29 10:03:31 -08:00
John MacFarlane 0833daff4a Added Tests.Shared with normalize round-trip tests. 2011-01-29 10:03:24 -08:00
John MacFarlane 18089a44f5 Tests.Arbitrary: don't allow empty list items. 2011-01-29 10:02:12 -08:00
John MacFarlane e9899b9ab8 Removed intentionally failing test in ConTeXt writer tests. 2011-01-29 09:04:05 -08:00
John MacFarlane d8c9b0c6f7 Added biblatex citation tests to Tests.Readers.LaTeX.
Removed old biblatex-citations.latex.
2011-01-29 09:01:30 -08:00
John MacFarlane 7961208aaf Added natbib citation tests to Tests.Readers.LaTeX.
Removed old tests/natbib-citations.latex.
2011-01-29 08:47:00 -08:00
John MacFarlane 3a3b484957 Finished revising markdown description in README. 2011-01-28 23:18:39 -08:00
John MacFarlane 0d19adeeef Improved README on lists. 2011-01-28 21:54:28 -08:00
John MacFarlane d28daf0e89 Support --listings in markdown2pdf (Etienne Millon). 2011-01-28 21:21:09 -08:00
Josef Svenningsson d8d0f46c4c Add possibility to use listings package for code blocks and
inline code in the LaTeX writer.
2011-01-28 21:09:38 -08:00