Commit graph

2296 commits

Author SHA1 Message Date
John MacFarlane
08797d1b3e Fixed orgmode link. 2011-03-09 08:21:33 -08:00
John MacFarlane
21bd73ddaf Fixed lhs-test.nohl tests.
A previous commit accidentally overwrote them with highlighted tests.
2011-03-04 11:11:01 -08:00
John MacFarlane
eebd77829c Markdown+lhs reader: Require space after inverse bird tracks.
The point of the change is to allow html tags to be used freely
at the left margin of a markdown+lhs document.

Thanks to Conal Elliot for the suggestion.
2011-03-02 12:47:17 -08:00
John MacFarlane
1ee0640c52 Bump version to 1.8.1.1 & update changelog. 2011-02-13 08:56:45 -08:00
John MacFarlane
5c3d9488d2 markdown2pdf: Removed mistakenly included debugging lines.
With the lines, markdown2pdf creates a temporary directory in the
working directory. Original behavior now restored.
2011-02-13 08:53:48 -08:00
John MacFarlane
b1c19998ed Updated changelog. 2011-02-13 08:46:04 -08:00
John MacFarlane
d9c824c2cc Version bump to 1.8.1. 2011-02-13 08:35:02 -08:00
John MacFarlane
78cd41c597 markdown2pdf: Fixed filename encoding issues.
With help from Paulo Tanimoto.

Resolves Issue #286.
2011-02-13 08:28:59 -08:00
John MacFarlane
84bf846503 LaTeX writer: Changed figure defaults to htbp.
This prevents "too many unprocessed floats."  Resolves
Issue #285.
2011-02-11 19:03:46 -08:00
John MacFarlane
37fa6df612 UTF8: Encode filenames.
(This is still needed, even with recent base.)

Partially resolves Issue #286 (though now there is a
new markdown2pdf problem).
2011-02-11 18:55:14 -08:00
John MacFarlane
459e460abb pandoc.hs: Updated copyright notice. 2011-02-06 17:28:12 -08:00
John MacFarlane
47ba15f5a1 Revert "Use us-ascii charset in HTML template if --ascii option."
This reverts commit aec5489960.

No need for this, since a UTF-8 charset will handle ascii just fine.
2011-02-06 10:30:52 -08:00
John MacFarlane
fb5faaa91e HTML writer: Fixed footnote backrefs in --ascii mode. 2011-02-06 09:46:59 -08:00
John MacFarlane
aec5489960 Use us-ascii charset in HTML template if --ascii option. 2011-02-06 09:38:44 -08:00
John MacFarlane
8f408e4b7b Added --ascii option.
Currently supported only in HTML writer.
2011-02-06 09:27:03 -08:00
John MacFarlane
9b38b69c94 Make --toc work in epub output. 2011-02-06 08:59:51 -08:00
John MacFarlane
79a0fbe146 HTML writer: Put line breaks in section divs. 2011-02-05 11:27:25 -08:00
John MacFarlane
cbe162ecbe Make writerSectionDivs default to False. 2011-02-05 11:21:10 -08:00
John MacFarlane
df58e478fc Updated copyright. 2011-02-05 10:39:21 -08:00
John MacFarlane
9277d89bdd Bumped version to 1.8.0.3; updated changelog; fixed source-repository. 2011-02-05 10:38:25 -08:00
John MacFarlane
1d8c2d36a7 Added Source-repository to cabal file. 2011-02-05 10:34:55 -08:00
John MacFarlane
00bba468ea Version bump to 1.8.0.2. 2011-02-05 10:25:43 -08:00
John MacFarlane
dbdc343473 Updated changelog. 2011-02-05 10:25:36 -08:00
John MacFarlane
6c0e86d144 HTML writer: stringify alt text.
Previously, if you had formatting in the label of an Image
element, you'd get escaped HTML in the alt attribute.  Now
you just get a plain string version, which seems preferable.
2011-02-05 08:16:34 -08:00
John MacFarlane
798c5d55bb README: Added section on four-space rule for lists.
Resolves Issue #283.
2011-02-05 07:10:35 -08:00
John MacFarlane
df95f72659 README: Clarified optional arguments on math options. 2011-02-05 06:37:38 -08:00
John MacFarlane
bdf23d3a5d Improved HTML table output (line breaks). 2011-02-04 23:35:10 -08:00
John MacFarlane
bb89fd9959 Updated tests. 2011-02-04 23:09:51 -08:00
John MacFarlane
58929eb4e5 More changes to HTML output.
Removed blank lines.  More consistent format.
2011-02-04 23:03:38 -08:00
John MacFarlane
ce4f9a3787 HTML writer: Spacing adjustments for Plain and RawHtml blocks. 2011-02-04 21:05:48 -08:00
John MacFarlane
90647a56f6 Updated tests for new HTML format.
Verified against old tests using tidy and diff.
2011-02-04 20:38:08 -08:00
John MacFarlane
99cb6076f8 Improved new HTML format; restored original --no-wrap behavior. 2011-02-04 20:12:17 -08:00
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. 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. 2011-01-30 17:33:12 -08:00