aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-05Merge pull request #270 from khightower/masterJohn MacFarlane1-4/+6
EPUB writer: Add a meta element specify the cover.
2011-07-04EPUB writer: Add a meta element specify the cover.Kelsey Hightower1-4/+6
Some EPUB e-readers, such as the Nook, require a meta element inside the OPF metadata block to ensure the cover image is properly displayed. When generating an EPUB using the `--epub-cover-image` option, this patch adds the following meta element to the OPF metadata block in `content.opf`: <meta name="cover" content="cover-image" />
2011-06-22Fixed test, added another markdown emph/strong test.John MacFarlane1-3/+7
2011-06-22Added failing test case due to Perry Wagle.John MacFarlane1-0/+7
2011-06-22Support \dots and well as \ldots in LaTeX reader.John MacFarlane1-2/+6
2011-06-22Added Tests.Writers.Markdown.John MacFarlane1-0/+34
2011-06-09Changed to github issue tracker.John MacFarlane1-1/+1
2011-06-06Markdown writer: Insert HTML comment btw list and indented code block.John MacFarlane2-1/+15
This prevents the code block from being interpreted as part of the list.
2011-05-24LaTeX writer: use deVerb on table and picture captions.John MacFarlane1-2/+2
Otherwise LaTeX complains about \verb inside command argument. Thanks to bbanier for reporting the bug.
2011-05-22Forbid ()s in citation item keys.John MacFarlane1-1/+1
Resolves Issue #304: problems with (@item1; @item2) because the final paren was being parsed as part of the item key.
2011-04-29Revert "Parsing: Use new type aliases, PandocParser, GeneralParser."John MacFarlane1-123/+118
This reverts commit ec5410bc4e9d228b7dc0123061d80f9addf825bf.
2011-04-29Parsing: Use new type aliases, PandocParser, GeneralParser.John MacFarlane1-118/+123
This should make it easier to change the types later.
2011-04-29Allow non-plain math methods in epub.John MacFarlane1-2/+1
2011-04-20Disallow notes within notes in reST and markdown.John MacFarlane3-6/+22
These previously caused infinite looping and stack overflows. For example: [^1] [^1]: See [^1] Note references are allowed in reST notes, so this isn't a full implementation of reST. That can come later. For now we need to prevent the stack overflows. Partially resolves Issue #297.
2011-04-16Added myself as participant in HCAR report.John MacFarlane1-1/+2
2011-04-16Fixed Slidy/S5 output to allow --section-divs.John MacFarlane3-36/+27
This is also a cleaner way of inserting the slide divs. Resolves Issue #296.
2011-04-16Whitespace cleanup.John MacFarlane1-45/+44
2011-04-16Allow --section-divs with slidy output.John MacFarlane1-10/+10
2011-04-16Updated HCAR report.John MacFarlane1-9/+19
2011-04-16Revert API change in EPUB writer.John MacFarlane2-8/+6
Instead of passing the epub cover image as a parameter, we now pass it in the list of variables. This avoids the API change introduced in f5cbb68534c52b292c57aaf741ab94442ddadd7a without losing the new functionality.
2011-04-11Allow '|' followed by newline in RST line block.John MacFarlane2-3/+9
2011-04-04Document --biblatex and --natbib options.John MacFarlane1-0/+6
2011-03-28Fixed bug in footnote order in HTML.John MacFarlane1-1/+1
CircleCode pointed out that the following markdown produces out-of-order footnote markers in HTML: -8<------------------------ some text^[with a footnote which will be #1] issue some other text^[with a footnote which will be #2] -8<------------------------ This fixes the problem.
2011-03-19Added FlexibleInstances pragma.John MacFarlane1-1/+1
Thanks to Sivaram Gowkana for the patch.
2011-03-18Changed uri parser so it doesn't include trailing punctuation.John MacFarlane4-5/+29
So, in RST, 'http://google.com.' should be parsed as a link to 'http://google.com' followed by a period. The parser is smart enough to recognize balanced parentheses, as often occur in wikipedia links: 'http://foo.bar/baz_(bam)'. Also added ()s to RST specialChars, so '(http://google.com)' will be parsed as a link in parens. Added test cases. Resolves Issue #291.
2011-03-16OpenDocument writer: Use "First paragraph" style after most non-para blocks.John MacFarlane3-50/+62
(Not just headers, as in the last patch.) Patch from Andrea Rossato, slightly modified by JM.
2011-03-13Added --epub-cover-image option.John MacFarlane3-10/+59
API change: Added a parameter for the cover image path to writeEPUB. Followed best practices outlined in http://blog.threepress.org/2009/11/20/best-practices-in-epub-cover-images/
2011-03-12Fixed bug in RST field list parser.John MacFarlane2-7/+9
The bug affected field lists with multi-line items at the end of the list.
2011-03-12OpenDocument: Use special style for 1st para after heading.John MacFarlane3-35/+46
"First paragraph" as opposed to "Text body." This allows users to specify e.g. that only paragraphs after the first paragraph of a section are to be indented. Thanks to Andrea Rossato for the patch. Closes github Issue #20.
2011-03-09Fixed orgmode link.John MacFarlane1-1/+1
2011-03-04Fixed lhs-test.nohl tests.John MacFarlane2-40/+8
A previous commit accidentally overwrote them with highlighted tests.
2011-03-02Markdown+lhs reader: Require space after inverse bird tracks.John MacFarlane2-1/+13
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-02-13Bump version to 1.8.1.1 & update changelog.John MacFarlane2-1/+8
2011-02-13markdown2pdf: Removed mistakenly included debugging lines.John MacFarlane1-2/+2
With the lines, markdown2pdf creates a temporary directory in the working directory. Original behavior now restored.
2011-02-13Updated changelog.John MacFarlane1-0/+22
2011-02-13Version bump to 1.8.1.John MacFarlane1-1/+1
2011-02-13markdown2pdf: Fixed filename encoding issues.John MacFarlane1-7/+9
With help from Paulo Tanimoto. Resolves Issue #286.
2011-02-11LaTeX writer: Changed figure defaults to htbp.John MacFarlane2-2/+2
This prevents "too many unprocessed floats." Resolves Issue #285.
2011-02-11UTF8: Encode filenames.John MacFarlane1-2/+3
(This is still needed, even with recent base.) Partially resolves Issue #286 (though now there is a new markdown2pdf problem).
2011-02-06pandoc.hs: Updated copyright notice.John MacFarlane1-3/+3
2011-02-06Revert "Use us-ascii charset in HTML template if --ascii option."John MacFarlane2-9/+0
This reverts commit aec54899606bed2580394baa1369e58ede20fde8. No need for this, since a UTF-8 charset will handle ascii just fine.
2011-02-06HTML writer: Fixed footnote backrefs in --ascii mode.John MacFarlane1-1/+2
2011-02-06Use us-ascii charset in HTML template if --ascii option.John MacFarlane2-0/+9
2011-02-06Added --ascii option.John MacFarlane4-19/+38
Currently supported only in HTML writer.
2011-02-06Make --toc work in epub output.John MacFarlane1-0/+3
2011-02-05HTML writer: Put line breaks in section divs.John MacFarlane1-2/+4
2011-02-05Make writerSectionDivs default to False.John MacFarlane1-1/+1
2011-02-05Updated copyright.John MacFarlane1-1/+1
2011-02-05Bumped version to 1.8.0.3; updated changelog; fixed source-repository.John MacFarlane2-2/+6
2011-02-05Added Source-repository to cabal file.John MacFarlane1-0/+4