Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-08-03 | Correctly implement capitalisation. | Artyom Kazak | 2 | -15/+6 | |
Using `map toUpper` to capitalise text is wrong, as e.g. “Straße” should be converted to “STRASSE”, which is 1 character longer. This commit adds a `capitalize` function and replaces 2 identical implementations in different modules (`toCaps` and `capitalize`) with it. | |||||
2014-08-02 | Text.Pandoc.SelfContained changes. | John MacFarlane | 1 | -2/+1 | |
* mkSelfContained now takes just two arguments, WriterOptions and the string. * It no longer looks in data files. This only made sense when we had copies of slidy and S5 code there. * Shared.fetchItem' is used instead of the nearly duplicate getItem. | |||||
2014-07-31 | New module, Text.Pandoc.MediaBag. | John MacFarlane | 1 | -1/+2 | |
Moved `MediaBag` definition and functions from Shared: `lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`. Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag` is a Monoid. | |||||
2014-07-31 | Made MediaBag a newtype, and added mime type information to media. | John MacFarlane | 1 | -1/+1 | |
Shared now exports functions for interacting with a MediaBag: - `emptyMediaBag` - `lookuMedia` - `insertMedia` - `mediaDirectory` - `extractMediaBag` | |||||
2014-07-30 | Allow --self-contained to get content from MediaBag. | John MacFarlane | 1 | -1/+1 | |
Added a parameter to makeSelfContained (API change). | |||||
2014-07-30 | RTF writer: Improved image embedding. | John MacFarlane | 1 | -1/+12 | |
Use calculated sizes. | |||||
2014-07-30 | RTF writer: refactored image embedding, using fetchItem'. | John MacFarlane | 1 | -26/+21 | |
2014-07-30 | PDF, Docx, EPUB, and ODT writers now automatically use MediaBag. | John MacFarlane | 3 | -4/+6 | |
The MediaBag is thread through from the reader, with no need to extract to files. | |||||
2014-07-29 | Mediawiki writer: don't escape inside `<source>`. | John MacFarlane | 1 | -4/+8 | |
Closes #1445. Escapes can still be used with `<code>` and `<pre>`. | |||||
2014-07-29 | Docx writer: Print subtitle from metadata if present. | John MacFarlane | 1 | -3/+9 | |
Use Subtitle style. See #1451. | |||||
2014-07-29 | LaTeX writer: use \(..\) instead of $..$ for inline math. | John MacFarlane | 1 | -1/+1 | |
Closes #1464. | |||||
2014-07-27 | Markdown writer: Separate adjacent lists of the same kind with comment. | John MacFarlane | 1 | -3/+9 | |
Closes #1458. | |||||
2014-07-27 | Markdown writer: More improvements to 'plain' output, updated tests. | John MacFarlane | 1 | -21/+26 | |
Math now appears in unicode if possible, without the distracting italics around identifiers. Blank lines around headers are more consistent. Footnotes appear in regular [n] style. | |||||
2014-07-27 | Markdown writer: Better 'plain' output. | John MacFarlane | 1 | -83/+101 | |
We now largely follow the style of Project Gutenberg. Emphasis is rendered with `_underscores_`, strong with ALL CAPS. The appearance of horizontal rules has changed (even in regular markdown) to a line across the whole page. Headings are rendered differently, using space to set them off. | |||||
2014-07-27 | Markdown writer: Update definition lists. | John MacFarlane | 1 | -2/+13 | |
They now behave like the new reader does. The old behavior can be activated with the `compact_definition_lists` extension. | |||||
2014-07-26 | Docx writer: Added missing case from last commit. | John MacFarlane | 1 | -1/+1 | |
2014-07-26 | Docx writer: include abstract with Abstract style. | John MacFarlane | 1 | -1/+8 | |
Addresses docx part of #1451. | |||||
2014-07-21 | Markdown writer: Avoid wrapping that might start a list. | John MacFarlane | 1 | -1/+5 | |
Or a blockquote or header. Closes #1013. | |||||
2014-07-20 | EPUB writer: Avoid excess whitespace in nav.xhtml. | John MacFarlane | 1 | -1/+1 | |
This should improve TOC view in iBooks. Closes #1392. | |||||
2014-07-20 | AsciiDoc writer: Double markers in intraword emphasis. | John MacFarlane | 1 | -11/+46 | |
Closes #1441. | |||||
2014-07-19 | Renamed readTeXMath' to avoid name conflict with texmath 0.6.7 | Matthew Pickering | 8 | -14/+14 | |
Also removed deprecated readTeXMath. | |||||
2014-07-16 | Remove unused import. | John MacFarlane | 1 | -1/+0 | |
2014-07-16 | Custom writers now work with `--template`. | John MacFarlane | 1 | -2/+14 | |
Removed HTML header scaffolding from data/sample.lua. | |||||
2014-07-16 | Made Citation information available in lua custom writer. | John MacFarlane | 1 | -2/+17 | |
2014-07-15 | HTML writer: Removed useless clause. | John MacFarlane | 1 | -4/+0 | |
2014-07-15 | LaTeX writer: Use \nolinkurl in email autolinks. | John MacFarlane | 1 | -2/+9 | |
This allows them to be styled using `\urlstyle{tt}`. Thanks to Ulrike Fischer for the solution. | |||||
2014-07-15 | EPUB writer: Keep newlines between block elements. | John MacFarlane | 1 | -1/+1 | |
This allows easier diff-ability. Closes #1424. | |||||
2014-07-13 | RTF writer: Avoid extra paragraph tags in metadata. | John MacFarlane | 1 | -2/+10 | |
Closes #1421. | |||||
2014-07-13 | Use raw HTML for complex block quotes. | John MacFarlane | 1 | -1/+7 | |
As far as I can see, dokuwiki markup is pretty limited in what can go in a `>` block quote: just a single line of paragraph text. (#1398) | |||||
2014-07-13 | DokuWiki writer: Use raw HTML for complex lists... | John MacFarlane | 1 | -13/+40 | |
as in the mediawiki writer. The dokuwiki markup isn't able to handle multiple block-level items within a list item, except in a few special cases (e.g. code blocks, and these must be started on the same line as the preceding paragraph). So we fall back to raw HTML for these. Perhaps there is a better solution. We can "fake" multiple paragraphs within list items using hard line breaks (`\\`), but we must keep everything on one line. (#1398) | |||||
2014-07-13 | DokuWiki writer: Normalize to collapse adjacent raw HTML blocks. | John MacFarlane | 1 | -1/+1 | |
2014-07-13 | DokuWiki writer: More tweaks to email links. (#1398) | John MacFarlane | 1 | -4/+3 | |
2014-07-13 | DokuWiki writer: Use pointy brackets for email links. | John MacFarlane | 1 | -0/+2 | |
(#1398) | |||||
2014-07-13 | Dokuwiki writer: More idiomatic code for escaping. | John MacFarlane | 1 | -2/+4 | |
2014-07-13 | DokuWiki writer: More raw HTML fixes. (#1398) | John MacFarlane | 1 | -2/+4 | |
* Use uppercase HTML tags for block-level content, lowercase for inline. * Newline before closing HTML tag. | |||||
2014-07-13 | DokuWiki writer: Fix raw inlines and blocks. | John MacFarlane | 1 | -6/+6 | |
* mediawiki > dokuwiki * ignore raw content other than html or dokuwiki. (#1398) | |||||
2014-07-13 | Markdown writer: Use span with style for SmallCaps. (#1360) | John MacFarlane | 1 | -1/+8 | |
2014-07-13 | Markdown writer: use Span instead of (hackish) SmallCaps in plainify. | John MacFarlane | 1 | -9/+10 | |
2014-07-13 | EPUB writer: Use stringify instead of custom plainify. | John MacFarlane | 1 | -16/+10 | |
As far as I can tell, it does about the same thing. | |||||
2014-07-13 | Merge branch 'claremacrae-dokuwiki'. | John MacFarlane | 1 | -2/+4 | |
Use removeFormatting from Shared instead of the custom unfancy function. | |||||
2014-07-13 | Use renderTags' for all tag rendering. | John MacFarlane | 2 | -4/+4 | |
This properly handles tags that should be self-closing. Previously `<hr/>` would appear in EPUB output as `<hr></hr>`. Closes #1420. | |||||
2014-07-12 | Removed space at ends of lines in source. | John MacFarlane | 4 | -11/+11 | |
2014-07-11 | Markdown writer: don't use braced attributes for fenced code. | John MacFarlane | 1 | -2/+2 | |
Removed `Ext_fenced_code_attributes` from `markdown_github` extensions. If this extension is not set, the first class attribute will be printed after the opening fence as a bare word. Closes #1416. | |||||
2014-07-10 | HTML writer: Deactivate "incremental" inside slide speaker notes. | John MacFarlane | 1 | -3/+5 | |
Closes #1394. | |||||
2014-07-10 | LaTeX writer: Put table captions above tables. | John MacFarlane | 1 | -3/+2 | |
The standard seems to be captions above tables. (See http://tex.stackexchange.com/questions/3243/why-should-a-table-caption-be-placed-above-the-table) | |||||
2014-07-08 | DokuWiki writer: Remove broken formatting from headings (#1398) | Clare Macrae | 1 | -1/+11 | |
2014-07-08 | Put myself as maintainer (#1398) | Clare Macrae | 1 | -1/+1 | |
2014-07-07 | Merge branch 'dokuwiki' of https://github.com/claremacrae/pandoc into ↵ | John MacFarlane | 1 | -0/+435 | |
claremacrae-dokuwiki | |||||
2014-07-07 | EPUB writer: better handle HTML media tags. | John MacFarlane | 1 | -1/+6 | |
2014-07-04 | MediaWiki writer: Minor renaming of 'st' prefixed names. | John MacFarlane | 1 | -31/+31 | |