aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-12-29Made `--version` informative about versions of dependencies.John MacFarlane1-2/+3
2011-12-29Better formatting for list of highlighting languages.John MacFarlane1-1/+1
2011-12-29Added "beamer" a few places where we test for latex.John MacFarlane1-2/+3
2011-12-29Don't use `--smart` automatically with `man` output.John MacFarlane1-1/+1
Previously pandoc used smart mode automatically when `man` output was selected.
2011-12-29Better formatting of input/output formats in `--help`.John MacFarlane1-7/+7
2011-12-29Made `html5` and `html5+lhs` output formats.John MacFarlane2-1/+9
Deprecated the `--html5`/`-5` flag. Use the output format instead.
2011-12-29Added 'beamer' as an output format.John MacFarlane5-19/+90
Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
2011-12-28Preserve attributes in highlighted HTML.John MacFarlane2-3/+6
The container element will have the classes, id, and key-value attributes you specified in the delimited code block. Previously these were stripped off.
2011-12-28EPUB: Correctly handle internal links.John MacFarlane1-6/+55
Previously they were ignored. Now all links are preserved, but purely internal links are modified so that they point to the proper place in the EPUB. This is nontrivial, since the heading you refer to in your markdown source with 'my-section-1' might end up as 'ch16.xhtml#my-section' in the EPUB. Closes #76.
2011-12-27Made `--highlight-style` and `--no-highlight` work in markdown2pdf.John MacFarlane1-0/+1
2011-12-27Added `--highlight-style` and `--no-highlight` options.John MacFarlane5-9/+50
2011-12-27Highlighting: Add language as class name.John MacFarlane1-1/+1
This restores behavior of 1.8.2.1. Adjusted tests.
2011-12-27Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane21-114/+72
2011-12-27LaTeX reader: Return Str instead of Apostrophe.John MacFarlane1-1/+1
2011-12-27Markdown reader: Improved previous patch to allow unicode apostrophe.John MacFarlane1-1/+2
2011-12-27Pretty: return Str with unicode instead of Apostrophe.John MacFarlane1-1/+1
2011-12-26EPUB writer: Make external (absolute) links active.John MacFarlane1-2/+2
2011-12-26Modified str parser to capture apostrophes in smart mode.John MacFarlane1-2/+9
This solves a problem stemming from the fact that a parser doesn't know what came *before* in the input stream. Previously pandoc would parse D'oh l'*aide* as containing a single quoted "oh l", when both `'`s should be apostrophes. (Issue #360.) There are two issues here. (a) It is obvious that the first `'` is not an open quote, becaues of the preceding `D`. This patch solves the problem. (b) It is obvious to us that the second `'` is not an open quote, because we see that *aide* is some text. But getting a good algorithm that has good performance is a bit tricky. You can't assume that `'` followed by `*` is always an apostrophe: *'this is quoted'* This patch does not fix (b).
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