aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
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-27Added `--highlight-style` and `--no-highlight` options.John MacFarlane2-4/+6
2011-12-27Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane14-84/+52
2011-12-26EPUB writer: Make external (absolute) links active.John MacFarlane1-2/+2
2011-12-26Updated highlighting for highlighting-kate 0.4.John MacFarlane3-16/+24
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 MacFarlane1-69/+82
2011-12-22Changed types of highlighting functions.John MacFarlane1-4/+4
* 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-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: 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 MacFarlane1-204/+213
* 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-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-04WebTeX math - use 'vertical-align:middle' for better results.John MacFarlane1-1/+2
2011-12-02Shared: Removed unescapeURI, modified escapeURI.John MacFarlane4-13/+7
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-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-20HTML writer: change s5-url to s5/default.John MacFarlane1-1/+1
2011-11-18AsciiDoc: Don't use Roman numerals in ordered lists.John MacFarlane1-2/+6
AsiiDoc doesn't support them.
2011-11-18Renamed to AsciiDoc. Fixed display math and escapes.John MacFarlane1-108/+108
AsciiDoc does not seem to have consistent escaping rules.
2011-11-18Skip raw HTML blocks in asciidoc.John MacFarlane1-2/+0
2011-11-18Fixed continuations in asciidoc definition lists.John MacFarlane1-5/+13
2011-11-18Removed link title in asciidoc.John MacFarlane1-9/+6
Apparently it is not supported.
2011-11-18Ensure blank line before html passthrough.John MacFarlane1-1/+1
2011-11-18Implemented ordered lists in asciidoc.John MacFarlane1-7/+14
2011-11-18Implemented bullet lists in asciidoc writer.John MacFarlane1-21/+18
2011-11-18Added fields to track list levels.John MacFarlane1-2/+8
2011-11-18Added comment about limitations of asciidoc conversion.John MacFarlane1-0/+6
2011-11-18Supported tables in asciidoc, added table tests.John MacFarlane1-39/+53
2011-11-17Indicate when a multiblock footnote is omitted.John MacFarlane1-1/+1
2011-11-17Supported definition lists.John MacFarlane1-10/+13
2011-11-17Use attributes for author/date.John MacFarlane1-1/+1
2011-11-16Added an asciidoc writer (partial).John MacFarlane1-0/+333
Still TODO: - documentation in README - add default.asciidoc to templates/ - lists - tables - proper escaping - footnotes with blank lines - print separately at end? currently they are just ignored. - fix header (date gives weird result on pandoc README)
2011-11-12Add date to EPUB titlepage and metadata.John MacFarlane1-3/+8
Closes #323. Thanks to Ralf Stephan for the patch (slightly modified).
2011-11-07HTML writer: Use `<section>` for footnotes if html5.John MacFarlane1-2/+4
2011-10-27Don't generate superfluous file `cover-image.jpg`.John MacFarlane1-2/+0
Closes #319.
2011-10-27Added TOC identifier in EPUB page template.John MacFarlane1-0/+2
Closes #329.
2011-10-25HTML reader now recognizes DocBook block and inline tags.John MacFarlane1-1/+2
It was always possible to include raw DocBook tags in a markdown document, but now pandoc will be able to distinguish block from inline tags and behave accordingly. Thus, for example, <sidebar> hello </sidebar> will not be wrapped in `<para>` tags.
2011-10-02HTML slides: only add id to div/section if --section-divs selected.John MacFarlane1-6/+5