aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
AgeCommit message (Collapse)AuthorFilesLines
2011-12-30LaTeX writer: only use hyperdef on section if there's a link to it.John MacFarlane1-27/+34
2011-12-30Added support for internal links in ConTeXt writer.John MacFarlane1-30/+15
Based on a patch by B. Scott Michel. Also simplified use of \hyphenateurl. We no longer try to go within an Inline list to find URLs. This is resource-heavy, and the main use case is autolinks, which can be readily recognized.
2011-12-30Add support for internal links to LaTeX writer.John MacFarlane1-27/+50
Based on a patch by B. Scott Michel.
2011-12-30ConTeXt writer: Add section labels and internal links as in HTML.B. Scott Michel1-21/+71
Add the ability to refer to internal links to the ConTeXt writer, just like the HTML writer can. The 'hierarchicalize' function generates unique names for sections, which can be used for references in ConTeXt, just as they can be in HTML. The ConTeXt writer adds these unique identifiers to each \section and does special processing of the Link target to see if it starts with a '#' (hash symbol), which is the tip-off that the link is an internal link.
2011-12-30HTML writer: Better handling of authors in meta tags.John MacFarlane1-12/+26
Footnotes and email addresses now come out in a more pleasing way. Modified from a patch by B. Scott Michel.
2011-12-30ConTeXt writer: Made `--toc` work even without `--number-sections`.John MacFarlane1-2/+2
2011-12-30Small tweaks to hyphenatedurl patch.John MacFarlane1-9/+6
Use isURI instead of isAbsoluteURI, as it also matches absolute URIs with '#...' at the end.
2011-12-30ConTeXt_url_hyphenationB. Scott Michel1-6/+13
Deeply scan through the [Inline] associated with a Link and ensure that all URLs are hyphenated using SYB primitives.
2011-12-30LaTeX writer: Improved detection of book classes.John MacFarlane1-6/+9
We now check the `documentclass` variable, and if that is not set, we look through the template itself. Also, we have added the KOMA classes scrreprt and scrbook. You can now make a book using markdown2pdf -V documentclass:book
2011-12-30EPUB: Get correct environment variable for LANG.John MacFarlane1-1/+1
This should fix `<dc:language>` problems.
2011-12-29Merge pull request #366 from gridaphobe/masterJohn MacFarlane1-2/+1
Use Link instead of RawInline for reference backlinks
2011-12-29Added 'beamer' as an output format.John MacFarlane1-13/+75
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 MacFarlane1-2/+4
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-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