summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
Commit message (Collapse)AuthorAge
* ImageSize: extract dpi information from PNG and JPEG.John MacFarlane2012-01-15
| | | | | * ImageSize record now includes dpiX, dpiY, pxX, pxY. * New functions sizeInPixels and sizeInPoints.
* ODT writer now sizes images appropriately.John MacFarlane2012-01-14
| | | | | | | | | | | | | OpenDocument writer: a title like "123x467" is interpreted as size in *points*. ODT writer: while adding images to the archive, computes their sizes and inserts a title attribute with the size before calling opendocument writer. Size is computed as follows: size in points = size in pixels * 96 / 72
* OpenDocument writer: treat image title of form "dddxddd" as size in px.John MacFarlane2012-01-14
| | | | | Later we'll modify the ODT writer to insert such titles, so image sizes will be correct in the ODT.
* EPUB writer: Allow raw HTML.John MacFarlane2012-01-13
|
* HTML writer: Don't use self-closing img, br, hr tags.John MacFarlane2012-01-11
|
* EPUB writer: Allow `lang` variable to set language in metadata.John MacFarlane2012-01-01
| | | | Defaults to locale language if `lang` is not set.
* Support for math in RST reader and writer.John MacFarlane2011-12-31
| | | | | | | | | | | | | | | | Inline math uses the :math:`...` construct. Display math uses .. math:: ... or if multilin .. math:: ... These seem to be supported now by rst2latex.py.
* Support Sphinx-style math in RST writer.John MacFarlane2011-12-30
| | | | http://sphinx.pocoo.org/latest/ext/math.html
* Fixed layout bug in ConTeXt and LaTeX writers.John MacFarlane2011-12-30
| | | | | This was a regression introduced by the recent internal links changes.
* LaTeX writer: only use hyperdef on section if there's a link to it.John MacFarlane2011-12-30
|
* Added support for internal links in ConTeXt writer.John MacFarlane2011-12-30
| | | | | | | | 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.
* Add support for internal links to LaTeX writer.John MacFarlane2011-12-30
| | | | Based on a patch by B. Scott Michel.
* ConTeXt writer: Add section labels and internal links as in HTML.B. Scott Michel2011-12-30
| | | | | | | | | | | | 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.
* HTML writer: Better handling of authors in meta tags.John MacFarlane2011-12-30
| | | | | | | Footnotes and email addresses now come out in a more pleasing way. Modified from a patch by B. Scott Michel.
* ConTeXt writer: Made `--toc` work even without `--number-sections`.John MacFarlane2011-12-30
|
* Small tweaks to hyphenatedurl patch.John MacFarlane2011-12-30
| | | | | Use isURI instead of isAbsoluteURI, as it also matches absolute URIs with '#...' at the end.
* ConTeXt_url_hyphenationB. Scott Michel2011-12-30
| | | | | Deeply scan through the [Inline] associated with a Link and ensure that all URLs are hyphenated using SYB primitives.
* LaTeX writer: Improved detection of book classes.John MacFarlane2011-12-30
| | | | | | | | | | 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
* EPUB: Get correct environment variable for LANG.John MacFarlane2011-12-30
| | | | This should fix `<dc:language>` problems.
* Merge pull request #366 from gridaphobe/masterJohn MacFarlane2011-12-29
|\ | | | | Use Link instead of RawInline for reference backlinks
| * change reference backlink from RawInline to Link so it gets rendered ↵Eric Seidel2011-12-24
| | | | | | | | properly when using the xmlhtml package
* | Added 'beamer' as an output format.John MacFarlane2011-12-29
| | | | | | | | | | | | | | | | | | Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
* | Preserve attributes in highlighted HTML.John MacFarlane2011-12-28
| | | | | | | | | | | | | | | | The container element will have the classes, id, and key-value attributes you specified in the delimited code block. Previously these were stripped off.
* | EPUB: Correctly handle internal links.John MacFarlane2011-12-28
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Added `--highlight-style` and `--no-highlight` options.John MacFarlane2011-12-27
| |
* | Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane2011-12-27
| |
* | EPUB writer: Make external (absolute) links active.John MacFarlane2011-12-26
| |
* | Updated highlighting for highlighting-kate 0.4.John MacFarlane2011-12-26
|/ | | | | | | | 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.
* LaTeX writer: Support highlighting for inline code.John MacFarlane2011-12-23
|
* LaTeX writer: Have LHS files set the "listings" variable.John MacFarlane2011-12-23
|
* LaTeX writer: Implemented syntax highlighting for CodeBlocks.John MacFarlane2011-12-23
|
* Changed types of highlighting functions.John MacFarlane2011-12-22
| | | | | * highlightLaTeX, highlightHtml now return Maybe, not Either. * This is because h-k's higdlightAs no longer returns an Either.
* Added a newline at end of footnotes ol.John MacFarlane2011-12-20
|
* Restore xhtml style self-closed tags in HTML writer.John MacFarlane2011-12-20
| | | | This requires blaze-html >= 0.4.3.0.
* HTML writer: Put classes "section" and "level[1-6]" on section divs.John MacFarlane2011-12-18
| | | | | (In HTML 5, the "section" class is omitted, since the tag itself is "section.")
* EPUB: Added customizable templates for epub pages.John MacFarlane2011-12-18
| | | | epub-page.html, epub-coverimage.html, epub-titlepage.html.
* HTML writer: Use `<del>` for strikeout.John MacFarlane2011-12-18
|
* HTML writer: Don't escape '.John MacFarlane2011-12-17
| | | | | | 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.
* Fixed line breaks in tds in table cells.John MacFarlane2011-12-17
|
* Use blaze-html instead of xhtml for HTML generation.John MacFarlane2011-12-17
| | | | | | | | | | | * 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.
* EPUB: Don't use any decimal entities.John MacFarlane2011-12-13
| | | | | | | 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.
* EPUB writer: made unEntity handle errors better.John MacFarlane2011-12-12
|
* Fixed previous patch so it doesn't swallow a character!John MacFarlane2011-12-12
|
* EPUB: Use UTF-8 rather than decimal entities.John MacFarlane2011-12-12
| | | | | This addresses a problem with kindlegen pointed out by Axel Kielhorn.
* WebTeX math - use 'vertical-align:middle' for better results.John MacFarlane2011-12-04
|
* Shared: Removed unescapeURI, modified escapeURI.John MacFarlane2011-12-02
| | | | | | | | | | | | 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.
* S5/slidy writer: Make footnotes appear on separate slide at end.John MacFarlane2011-11-29
|
* Use separate variables for meta-date, meta-author.John MacFarlane2011-11-29
| | | | | This makes footnotes work in author and date fields. Closes #301.
* HTML writer: Put citations in span with class="citation".John MacFarlane2011-11-29
| | | | See #313.
* Markdown writer: Use setext headers for levels 1-2.John MacFarlane2011-11-24
|