aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-08-05PDF: Modified for new image size attributes parameter.John MacFarlane1-6/+6
(mb21)
2015-08-05Parsing: Add `extractIdClass`, modified type of `KeyTable`.John MacFarlane1-2/+14
(mb21)
2015-08-05ImageSize: Added functions for converting between image dimensions.John MacFarlane1-15/+138
(mb21)
2015-07-27Require pandoc-types >= 1.14John MacFarlane1-3/+3
2015-07-27Text.Pandoc.Options: modifications for image attributes.John MacFarlane3-7/+88
* Added `Ext_common_link_attributes` constructor to `Extension` (for link and image attributes). * Added this to `pandocExtensions` and `phpMarkdownExtraExtensions`. * Added `writerDpi` to `WriterOptions`. * pandoc.hs: Added `--dpi` option. * Updated README for `--dpi` and `common_link_attributes` extension. Patch due to mb21, with some modifications: `writerDpi` is now an `Int` rather than a `Double`.
2015-07-25Pretty: comment fix (mb21).John MacFarlane1-1/+1
2015-07-23Updated README and cabal description for ODT reader.John MacFarlane2-7/+8
2015-07-23Added odt readerMarLinn79-12/+4368
Fully implemented features: * Paragraphs * Headers * Basic styling * Unordered lists * Ordered lists * External Links * Internal Links * Footnotes, Endnotes * Blockquotes Partly implemented features: * Citations Very basic, but pandoc can't do much more * Tables No headers, no sizing, limited styling
2015-07-23Updated tests and removed a skipSpaces....John MacFarlane2-7/+6
we no longer need it with the change to toKey, and it is expensive to skip spaces after every inline.
2015-07-23Parsing: toKey: strip off outer brackets.John MacFarlane1-2/+4
This makes keys with extra space at the beginning and end work: e.g. [foo]: bar [ foo ] will now be a link to bar (it wasn't before).
2015-07-23Merge pull request #2323 from hftf/implicit-header-refsJohn MacFarlane2-0/+32
Fix implicit header refs for headers with extra spaces
2015-07-23LaTeX reader: support abstract environment.John MacFarlane1-0/+1
The abstract populates an "abstract" metadata field.
2015-07-23Markdown Reader: Add basic tests for each header styleOphir Lifshitz1-0/+10
2015-07-23Markdown Reader: Add implicit header ref tests for headers with spacesOphir Lifshitz1-0/+20
2015-07-23Markdown Reader: Skip spaces in headersOphir Lifshitz1-0/+2
2015-07-21Fix regression: allow HTML comments containing `--`.John MacFarlane2-4/+7
Technically this isn't allowed in an HTML comment, but we've always allowed it, and so do most other implementations. It is handy if e.g. you want to put command line arguments in HTML comments.
2015-07-21Merge pull request #2318 from infotroph/infotroph-readme-patch2John MacFarlane2-11/+13
List all styles in manual for --reference-docx
2015-07-21Use newManager instead of withManager in recent http-client.John MacFarlane1-1/+10
This avoids a deprecation warning.
2015-07-21List all styles in manual for --reference-docxChris Black2-11/+13
2015-07-21DZSlides: Add `role="note"` for speaker notes.John MacFarlane1-1/+2
Closes #1693.
2015-07-21HTML reader: handle type attribute on ol.John MacFarlane2-3/+10
E.g. `<ol type="i">`. Closes #2313.
2015-07-21LaTeX reader: properly handle booktabs lines.John MacFarlane1-1/+10
Lines aren't part of the pandoc table model, but we can just ignore them. Closes #2307.
2015-07-21Don't capitalize header links in man page.John MacFarlane2-24/+25
Also regenerated man page from latest README.
2015-07-21Fixed some internal links in README.John MacFarlane1-6/+5
Closes #2309.
2015-07-16Removed unneeded import.John MacFarlane1-2/+1
2015-07-16LaTeX writer: Fixed detection of 'chapters' from template.John MacFarlane1-3/+11
If a documentclass isn't specified in metadata, but the template has a hardwired bookish documentclass, act as if `--chapters` was used. This was the default in earlier versions, but it has been broken for a little while.
2015-07-15Merge pull request #2303 from hftf/h6John MacFarlane3-4/+32
Add missing Heading 6 style in reference Docx
2015-07-15Docx Reader: Updated headers testOphir Lifshitz2-1/+9
Replaced styles.xml in headers.docx with pandoc's current styles.xml, which contains styles for Heading 1 through 6. Added Heading 4 through 7 to the test document. Note that Heading 7 is not parsed as a Heading because there is no Heading 7 style.
2015-07-15Reference Docx: Add missing Header 6 style (steel blue)Ophir Lifshitz1-0/+20
Based on Header 4 (bold, steel blue) and Header 5 (italic, steel blue)
2015-07-15Reference Docx: Correct outlineLvl for Header stylesOphir Lifshitz1-3/+3
Not sure if this actually affects anything
2015-07-15Added section on REPL to CONTRIBUTING.md.John MacFarlane1-0/+14
2015-07-15Updated man page.John MacFarlane1-4/+6
2015-07-15Fix typo in RELEASE_CHECKLISTJohn MacFarlane1-1/+1
2015-07-15Updated date on README.John MacFarlane1-1/+1
2015-07-15Updated changelog.John MacFarlane1-0/+42
2015-07-15Version bump to 1.15.0.6.John MacFarlane1-1/+1
2015-07-15`--self-contained`: Fixed overaggressive CSS minimization.John MacFarlane1-1/+2
Previously `--self-contained` wiped out all spaces in CSS, including semantically significant spaces! Closes #2301. Closes #2286.
2015-07-14Updated to use cmark >= 0.4.John MacFarlane2-5/+5
2015-07-14Markdown reader: don't allow bare URI links or autolinks in link label.John MacFarlane2-1/+14
Added test cases. Closes #2300.
2015-07-14Improved bare autolink detection.John MacFarlane2-3/+6
Previously we disallowed `-` at the end of an autolink, and disallowed the combination `=-`. This commit liberalizes the rules for allowing punctuation in a bare URI. Added test cases. One potential drawback is that you can no longer put a bare URI in em dashes like this this uri---http://example.com---is an example. But in this respect we now match github's treatment of bare URIs. Closes #2299.
2015-07-14Allow vector 0.11.John MacFarlane1-1/+1
2015-07-13HTML writer: support speaker notes in dzslides.John MacFarlane1-0/+1
With this change `<div class="notes">` and also `<div class="notes" role="note">` will be output if `-t dzslides` is used. So we can have speaker notes in dzslides too. Thanks to maybegeek.
2015-07-13Updated dzslides template.John MacFarlane1-30/+128
2015-07-13Improved documentation of options to print system default files.John MacFarlane1-3/+5
`--print-default-data-file` and `--print-default-template`. Closes #2298.
2015-07-13Merge pull request #2295 from dev-zero/masterJohn MacFarlane2-8/+8
DokuWiki: write $..$ instead of <math>..</math>
2015-07-13DokuWiki: write $..$ instead of <math>..</math>Tiziano Müller2-8/+8
MathJax seems currently to be the only maintained math rendering extension for DokuWiki and it uses $..$ instead of <math>..</math>.
2015-07-12Changed hierarchicalize so it treats references div as top-level header.John MacFarlane1-0/+5
Fixes a bug with `--section-divs`, where the final references section added by pandoc-citeproc, enclosed in its own div, got put in the div for the section previous to it. This fixes #2294. Longer term, we might think about how hierarchicalize should interact with Div elements.
2015-07-10Updated man page.John MacFarlane1-14/+16
2015-07-10Updated changelog.John MacFarlane1-0/+3
2015-07-10Removed tabs from source.John MacFarlane1-3/+3