aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-12-26Added some failing test cases for apostrophes in French.John MacFarlane1-0/+6
2011-12-26Updated highlighting for highlighting-kate 0.4.John MacFarlane4-56/+48
Text.Pandoc.Highlighting now exports just one new function, 'highlight', and reexports all the other functions from highlighting-kate that are used in the writers. This should make it easy to switch highlighting engines if that is ever desired.
2011-12-24change reference backlink from RawInline to Link so it gets rendered ↵Eric Seidel1-2/+1
properly when using the xmlhtml package
2011-12-23LaTeX writer: Support highlighting for inline code.John MacFarlane1-8/+18
2011-12-23LaTeX writer: Have LHS files set the "listings" variable.John MacFarlane1-1/+1
2011-12-23LaTeX writer: Implemented syntax highlighting for CodeBlocks.John MacFarlane2-70/+85
2011-12-22Removed highlighting flag. Highlighting support is now standard.John MacFarlane3-28/+2
2011-12-22Added writerHighlight to WriterOptions.John MacFarlane2-1/+4
2011-12-22Removed writerAscii in WriterOptions.John MacFarlane1-2/+0
No longer needed or used.
2011-12-22Changed types of highlighting functions.John MacFarlane2-16/+16
* highlightLaTeX, highlightHtml now return Maybe, not Either. * This is because h-k's higdlightAs no longer returns an Either.
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 MacFarlane1-9/+9
This requires blaze-html >= 0.4.3.0.
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 MacFarlane1-46/+13
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 MacFarlane1-1/+1
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 MacFarlane4-222/+222
* 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-13Use pandoc-types 1.9.*.John MacFarlane6-47/+47
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 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-04SelfContained: Convert all url()s in css to data: uris.John MacFarlane1-29/+22
2011-12-03New slidy directory for "self-contained."John MacFarlane1-0/+2
2011-12-02Shared: Removed unescapeURI, modified escapeURI.John MacFarlane5-30/+15
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-01Added failing test case for issue #312.John MacFarlane1-0/+5
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 MacFarlane1-7/+8
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-24Markdown writer: Use setext headers for levels 1-2.John MacFarlane1-11/+9
2011-11-24--self-contained now works with `<video>` as well as `<img>`.John MacFarlane1-0/+7
2011-11-23pandoc.hs : changed a couple `writerName` to `writerName'`.John MacFarlane1-2/+2
This fixes a bug in which `pandoc --self-contained` would only work properly if `-t html` were specified explicitly.
2011-11-22Set `--standalone` implicitly when non-text output format.John MacFarlane1-4/+4
(ODT, EPUB). This restores pandoc's previous behavior. You can again do `pandoc test.txt -o test.odt` and get a standalone ODT file. Resolves #351.