Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-30 | LaTeX writer: Improved detection of book classes. | John MacFarlane | 1 | -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-30 | EPUB: Get correct environment variable for LANG. | John MacFarlane | 1 | -1/+1 | |
This should fix `<dc:language>` problems. | |||||
2011-12-29 | Better smart quote parsing. | John MacFarlane | 5 | -4/+22 | |
* Added stateLastStrPos to ParserState. This lets us keep track of whether we're parsing the position immediately after a 'str'. If we encounter a ' in such a location, it must be an apostrophe, and can't be a single quote start. * Set this in the markdown, textile, html, and rst str parsers. * Closes #360. | |||||
2011-12-29 | Merge pull request #366 from gridaphobe/master | John MacFarlane | 1 | -2/+1 | |
Use Link instead of RawInline for reference backlinks | |||||
2011-12-29 | Added 'beamer' as an output format. | John MacFarlane | 3 | -13/+78 | |
Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`. | |||||
2011-12-28 | Preserve attributes in highlighted HTML. | John MacFarlane | 2 | -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-28 | EPUB: Correctly handle internal links. | John MacFarlane | 1 | -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-27 | Added `--highlight-style` and `--no-highlight` options. | John MacFarlane | 4 | -4/+15 | |
2011-12-27 | Highlighting: Add language as class name. | John MacFarlane | 1 | -1/+1 | |
This restores behavior of 1.8.2.1. Adjusted tests. | |||||
2011-12-27 | Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings. | John MacFarlane | 18 | -105/+67 | |
2011-12-27 | LaTeX reader: Return Str instead of Apostrophe. | John MacFarlane | 1 | -1/+1 | |
2011-12-27 | Markdown reader: Improved previous patch to allow unicode apostrophe. | John MacFarlane | 1 | -1/+2 | |
2011-12-27 | Pretty: return Str with unicode instead of Apostrophe. | John MacFarlane | 1 | -1/+1 | |
2011-12-26 | EPUB writer: Make external (absolute) links active. | John MacFarlane | 1 | -2/+2 | |
2011-12-26 | Modified str parser to capture apostrophes in smart mode. | John MacFarlane | 1 | -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-26 | Updated highlighting for highlighting-kate 0.4. | John MacFarlane | 4 | -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-24 | change reference backlink from RawInline to Link so it gets rendered ↵ | Eric Seidel | 1 | -2/+1 | |
properly when using the xmlhtml package | |||||
2011-12-23 | LaTeX writer: Support highlighting for inline code. | John MacFarlane | 1 | -8/+18 | |
2011-12-23 | LaTeX writer: Have LHS files set the "listings" variable. | John MacFarlane | 1 | -1/+1 | |
2011-12-23 | LaTeX writer: Implemented syntax highlighting for CodeBlocks. | John MacFarlane | 2 | -70/+85 | |
2011-12-22 | Removed highlighting flag. Highlighting support is now standard. | John MacFarlane | 1 | -17/+0 | |
2011-12-22 | Added writerHighlight to WriterOptions. | John MacFarlane | 1 | -0/+2 | |
2011-12-22 | Removed writerAscii in WriterOptions. | John MacFarlane | 1 | -2/+0 | |
No longer needed or used. | |||||
2011-12-22 | Changed types of highlighting functions. | John MacFarlane | 2 | -16/+16 | |
* highlightLaTeX, highlightHtml now return Maybe, not Either. * This is because h-k's higdlightAs no longer returns an Either. | |||||
2011-12-20 | Added a newline at end of footnotes ol. | John MacFarlane | 1 | -1/+1 | |
2011-12-20 | Restore xhtml style self-closed tags in HTML writer. | John MacFarlane | 1 | -9/+9 | |
This requires blaze-html >= 0.4.3.0. | |||||
2011-12-19 | Added highlightLaTeX stub when not compiled w/ highlighting. | John MacFarlane | 1 | -0/+3 | |
2011-12-19 | Added highlightLaTeX to Text.Pandoc.Highlighting. | John MacFarlane | 1 | -11/+29 | |
2011-12-18 | HTML writer: Put classes "section" and "level[1-6]" on section divs. | John MacFarlane | 1 | -6/+6 | |
(In HTML 5, the "section" class is omitted, since the tag itself is "section.") | |||||
2011-12-18 | EPUB: Added customizable templates for epub pages. | John MacFarlane | 1 | -46/+13 | |
epub-page.html, epub-coverimage.html, epub-titlepage.html. | |||||
2011-12-18 | HTML writer: Retain ID attribute in highlighted code blocks. | John MacFarlane | 1 | -2/+5 | |
2011-12-18 | Highlighting: Use reads instead of read. | John MacFarlane | 1 | -3/+5 | |
Fixes crash on startNum="abc". | |||||
2011-12-18 | HTML writer: Use `<del>` for strikeout. | John MacFarlane | 1 | -1/+1 | |
2011-12-17 | HTML writer: Don't escape '. | John MacFarlane | 1 | -2/+3 | |
This requires using a custom string escaper. If we use toHtml from Blaze, we get ', which is pointless unless you're writing attributes in single quotes. | |||||
2011-12-17 | Fixed line breaks in tds in table cells. | John MacFarlane | 1 | -1/+1 | |
2011-12-17 | Use blaze-html instead of xhtml for HTML generation. | John MacFarlane | 3 | -211/+220 | |
* 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-13 | EPUB: Don't use any decimal entities. | John MacFarlane | 1 | -2/+2 | |
kindlegen doesn't like them - even '. It should be safe to use the unescaped ' character, since we know that all attributes are double quoted in the relevant files. | |||||
2011-12-12 | EPUB writer: made unEntity handle errors better. | John MacFarlane | 1 | -6/+3 | |
2011-12-12 | Fixed previous patch so it doesn't swallow a character! | John MacFarlane | 1 | -7/+10 | |
2011-12-12 | EPUB: Use UTF-8 rather than decimal entities. | John MacFarlane | 1 | -2/+12 | |
This addresses a problem with kindlegen pointed out by Axel Kielhorn. | |||||
2011-12-05 | Markdown reader: Fixed backslash escapes in reference links. | John MacFarlane | 1 | -4/+3 | |
Closes #312. | |||||
2011-12-05 | Markdown: Better handling of escapes in link URLs and titles. | John MacFarlane | 1 | -10/+8 | |
2011-12-05 | Changes to fit new charsInBalanced. | John MacFarlane | 2 | -8/+13 | |
2011-12-05 | Parsing: Removed charsInBalanced', added param to charsInBalanced. | John MacFarlane | 1 | -20/+13 | |
The extra parameter is a character parser. This is needed for proper handling of escapes, etc. | |||||
2011-12-05 | Markdown reader: internal changes. | John MacFarlane | 1 | -5/+9 | |
Refactored escapedChar into escapedChar', escapedChar. | |||||
2011-12-05 | Parsing: Changed type of escaped to return Char | John MacFarlane | 3 | -7/+5 | |
2011-12-04 | WebTeX math - use 'vertical-align:middle' for better results. | John MacFarlane | 1 | -1/+2 | |
2011-12-04 | SelfContained: Get mime type from HTTP request if possible. | John MacFarlane | 1 | -18/+30 | |
--webtex --self-contained now works. | |||||
2011-12-04 | SelfContained: Convert all url()s in css to data: uris. | John MacFarlane | 1 | -29/+22 | |
2011-12-02 | Shared: Removed unescapeURI, modified escapeURI. | John MacFarlane | 5 | -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. |