aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-12-20Added a newline at end of footnotes ol.John MacFarlane1-1/+1
2011-12-20Restore xhtml style self-closed tags in HTML writer.John MacFarlane2-11/+11
This requires blaze-html >= 0.4.3.0.
2011-12-19Setup: Making man pages now works with cabal-dev.John MacFarlane1-8/+24
In Setup.hs we now invoke 'runghc' in a way that points it to the correct package databases, instead of always falling back to the default user package db. Thanks to Antoine Latter for the patch.
2011-12-19Added highlightLaTeX stub when not compiled w/ highlighting.John MacFarlane1-0/+3
2011-12-19Added highlightLaTeX to Text.Pandoc.Highlighting.John MacFarlane1-11/+29
2011-12-18HTML writer: Put classes "section" and "level[1-6]" on section divs.John MacFarlane1-6/+6
(In HTML 5, the "section" class is omitted, since the tag itself is "section.")
2011-12-18EPUB: Added customizable templates for epub pages.John MacFarlane3-54/+22
epub-page.html, epub-coverimage.html, epub-titlepage.html.
2011-12-18HTML writer: Retain ID attribute in highlighted code blocks.John MacFarlane1-2/+5
2011-12-18Highlighting: Use reads instead of read.John MacFarlane1-3/+5
Fixes crash on startNum="abc".
2011-12-18HTML writer: Use `<del>` for strikeout.John MacFarlane2-2/+2
2011-12-17HTML writer: Don't escape '.John MacFarlane1-2/+3
This requires using a custom string escaper. If we use toHtml from Blaze, we get &#39;, which is pointless unless you're writing attributes in single quotes.
2011-12-17Fixed line breaks in tds in table cells.John MacFarlane1-1/+1
2011-12-17Use blaze-html instead of xhtml for HTML generation.John MacFarlane6-231/+226
* This is a breaking API change for `writeHtml`. * It introduces a new dependency on blaze-html. * Pandoc now depends on highlighting-kate >= 0.4, which also uses blaze-html. * The --ascii option has been removed, because of differences in blaze-html's and xhtml's escaping. * Pandoc will no longer transform leading newlines in code blocks to `<br/>` tags.
2011-12-13Updated HCAR-Pandoc.tex.John MacFarlane1-7/+6
2011-12-13Use pandoc-types 1.9.*.John MacFarlane7-49/+49
2011-12-13Added -rtsopts to profiling options.John MacFarlane1-3/+3
2011-12-13EPUB: Don't use any decimal entities.John MacFarlane1-2/+2
kindlegen doesn't like them - even &#39;. It should be safe to use the unescaped ' character, since we know that all attributes are double quoted in the relevant files.
2011-12-12EPUB writer: made unEntity handle errors better.John MacFarlane1-6/+3
2011-12-12Fixed previous patch so it doesn't swallow a character!John MacFarlane1-7/+10
2011-12-12EPUB: Use UTF-8 rather than decimal entities.John MacFarlane1-2/+12
This addresses a problem with kindlegen pointed out by Axel Kielhorn.
2011-12-05Markdown reader: Fixed backslash escapes in reference links.John MacFarlane1-4/+3
Closes #312.
2011-12-05Fixed tests for escapes in markdown titles, URLs.John MacFarlane1-3/+3
2011-12-05Markdown: Better handling of escapes in link URLs and titles.John MacFarlane1-10/+8
2011-12-05Fixed tests for escapes in links.John MacFarlane1-4/+4
2011-12-05Changes to fit new charsInBalanced.John MacFarlane2-8/+13
2011-12-05Parsing: Removed charsInBalanced', added param to charsInBalanced.John MacFarlane1-20/+13
The extra parameter is a character parser. This is needed for proper handling of escapes, etc.
2011-12-05Markdown reader: internal changes.John MacFarlane1-5/+9
Refactored escapedChar into escapedChar', escapedChar.
2011-12-05Parsing: Changed type of escaped to return CharJohn MacFarlane3-7/+5
2011-12-05Added more failing tests relating to issue #312.John MacFarlane1-1/+7
2011-12-04Added blank comment after directives in rst template.John MacFarlane2-6/+8
Closes #321.
2011-12-04Added failing test for escape in markdown link title.John MacFarlane1-0/+3
2011-12-04WebTeX math - use 'vertical-align:middle' for better results.John MacFarlane1-1/+2
2011-12-04SelfContained: Get mime type from HTTP request if possible.John MacFarlane1-18/+30
--webtex --self-contained now works.
2011-12-04Depend on tagsoup >= 12.5.John MacFarlane1-2/+2
This has a fix needed for the --self-contained option to work properly.
2011-12-04SelfContained: Convert all url()s in css to data: uris.John MacFarlane1-29/+22
2011-12-03New slidy directory for "self-contained."John MacFarlane10-3/+13
2011-12-03Bump version constraint on HTTP.John MacFarlane1-2/+2
2011-12-02Shared: Removed unescapeURI, modified escapeURI.John MacFarlane6-33/+18
escapeURI now only escapes space characters, leaving unicode characters as they are, instead of converting them to octets and URL-encoding them, as before. This gives more readable URIs. User agents now do the percent-encoding themselves. URIs are no longer unescaped at all on conversion to markdown, asciidoc, rst, org. Closes #349.
2011-12-02Fixed test for style type meta in highlighted html+lhs.John MacFarlane1-0/+1
2011-12-01Added h3.date to epub.css.John MacFarlane1-0/+1
2011-12-01Added highlighting to default epub css.John MacFarlane1-0/+19
2011-12-01Allow to build against highlighting-kate 0.3.John MacFarlane1-1/+1
2011-12-01Added failing test case for issue #312.John MacFarlane1-0/+5
2011-12-01Updated templates.John MacFarlane1-6/+5
2011-12-01Made author/date more consistent in HTML templates.John MacFarlane5-15/+18
Authors are now h2, date h3. (Instead of h3/h4, as in the past.)
2011-11-29S5/slidy writer: Make footnotes appear on separate slide at end.John MacFarlane1-1/+3
2011-11-29Use separate variables for meta-date, meta-author.John MacFarlane2-14/+13
This makes footnotes work in author and date fields. Closes #301.
2011-11-29HTML writer: Put citations in span with class="citation".John MacFarlane1-1/+2
See #313.
2011-11-28Update version bound for highlighting-kate.John MacFarlane1-1/+1
2011-11-27Added 'lang' variable to LaTeX template.John MacFarlane2-6/+8
Thanks to Magnus Therning for the suggestion.