aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-12-04Strip out illegal XML characters in escapeXMLString.John MacFarlane2-1/+15
Closes #5119.
2018-12-03Allow latest zip-archive.John MacFarlane1-2/+2
2018-12-03Markdown writer: include needed whitespace after HTML figure.John MacFarlane2-1/+14
We use HTML for a figure in markdown dialects that can't represent it natively. Closes #5121.
2018-12-02Use compatible version of pandoc-citeproc.John MacFarlane2-1/+2
2018-12-02Allow tasty 1.2John MacFarlane1-1/+1
2018-12-01stack.yaml - use skylighting 0.7.5.John MacFarlane1-2/+2
2018-12-01Require skylighting >= 0.7.5.John MacFarlane1-1/+1
This adds support for sml, J, typescript.
2018-11-30Fix missing wordAndrew Dunning1-1/+1
2018-11-30Improve installation notes on associated softwareAndrew Dunning1-12/+39
Includes explanation of how to install related tools with package managers (since the method of installing `rsvg-convert` is not obvious).
2018-11-30Fix warnings in Text.Pandoc.Process.John MacFarlane1-2/+5
2018-11-30Text.Pandoc.Process: update pipeProcessAlbert Krewinkel1-31/+60
The implementation of `pipeProcess` was rewritten to fix sporadic failures caused by prematurely closed pipes.
2018-11-29Improve error message for UTF-8 decoding errors.John MacFarlane1-6/+17
Give the filename and the byte offset. Closes #4765.
2018-11-29Add PandocUTF8DecodingError constructor for PandocError.John MacFarlane1-0/+7
[API change]
2018-11-29Man reader: use mapLeft from Shared.John MacFarlane1-6/+1
2018-11-29Fix progit book urlJulien Kirch1-2/+2
2018-11-29Bump to version 2.6 because of API change in read/writeJSON.John MacFarlane1-1/+1
2018-11-29Changed types of writeJSON and readJSON.John MacFarlane2-11/+10
Previously they were not monadic; we now have them run in an instance of the Pandoc monad, like the other readers and writers. [API change]
2018-11-29INSTALL.md: Small wording tweak.John MacFarlane1-2/+2
2018-11-29LaTeX reader: Support \inputminted (closes #5103).John MacFarlane1-2/+21
2018-11-29Fix custom tests.John MacFarlane1-8/+8
2018-11-29sample.lua: add SingleQuoted, DoubleQuoted.John MacFarlane1-0/+8
Closes #5104.
2018-11-27MediaWiki writer: fix caption, use 'thumb' instead of 'frame'.John MacFarlane2-18/+34
Captions used to have the word 'caption' prepended; this has been removed. Also, 'thumb' is used instead of 'frame' to allow images to be resized. Closes #5105.
2018-11-27INSTALL.md: Use button for installer links.John MacFarlane1-1/+2
2018-11-27update INSTALL.mdMauro Bieg1-3/+4
2018-11-27simplify INSTALL.mdMauro Bieg1-12/+23
2018-11-26Update linux Dockerfile to use cabal new-build.John MacFarlane1-19/+14
2018-11-25Update README.md.John MacFarlane1-0/+2
2018-11-25Update changelog.John MacFarlane1-0/+194
2018-11-25Added test for #5053.John MacFarlane1-0/+14
Note that the fix for #5099 also fixes #5053, a pandoc 2.4 regression in parsing underscore emphasis after symbols.
2018-11-25Fix parsing of citations and quotes after parentheses.John MacFarlane4-19/+17
Starting with pandoc 2.4, citations and quoted inlines were no longer recognized after parentheses. This is because of commit 9b0bd4ec6f5c9125efb3e36232e6d1f6ac08a728, which is reverted here. The point of that commit was to allow relocation of soft line breaks to before an abbreviation, so that a nonbreaking space could be added after the abbreviation. Now we simply leave the soft line break in place, even though this means that we won't get a nonbreaking space after "Mr." at the end of a line (and in LaTeX this may result in a longer intersentential space). Those who care about this issue should take care not to end lines with an abbreviation, or to insert nonbreaking spaces manually. Closes #5099.
2018-11-24Update date in manual and update man page.John MacFarlane2-16/+91
2018-11-24EPUB writer: handle calibre metadata.John MacFarlane1-1/+22
Nodes of the form <meta name="calibre:series" content="Classics on War and Politics"/> are now included from an epub XML metadata file. You can also include this information in your YAML metadata, like so: calibre: series: Classics on War and Policitics In addition, ibooks-specific metadata can now be included via an XML file. (Previously, it could only be included via YAML metadata, see #2693.) Closes #5098.
2018-11-25MediaWiki reader internals: remove unnecessary bindingAlexander Krotov1-2/+1
2018-11-23Use latest dev version of pandoc-citeproc.John MacFarlane1-1/+2
IT allows pandoc 2.5.
2018-11-22Hlint suggestions.John MacFarlane5-30/+26
2018-11-22RTF writer: fix warnings for skipped raw inlines.John MacFarlane1-1/+1
2018-11-22Bump version to 2.5.John MacFarlane1-1/+1
2018-11-22OpenDocument writer: small amendment to #5095.John MacFarlane2-190/+190
Level one lists should start at 0.5in rather than 0.75in. (At least this is how LibreOffice behaves for me with a new document.)
2018-11-22Merge pull request #5095 from pyssling/masterJohn MacFarlane2-191/+191
ODT writer: Fix list indentation
2018-11-22ODT writer: Fix list indentationNils Carlson2-191/+191
Previously lists were indented by half an inch on the first line for each level of nesting. This resulted in lists that looked like this: 1. The first line of the list point text the second line of the same list point. Fix this and bring style into line with libreoffice standards: 1. The first line of the list point text the second line of the list point text.
2018-11-21MANUAL: Fix outdated description of latex_macros extension.John MacFarlane1-1/+1
2018-11-21HTML writer: use plain `"` instead of `&quot;` outside of attributes.John MacFarlane1-1/+2
2018-11-20Fix markdown-citations test for new abbreviations changes.John MacFarlane1-2/+2
2018-11-20Merge pull request #5093 from adunning/patch-1John MacFarlane1-0/+29
Additional bibliographical abbreviations
2018-11-20Docx writer: Fix bookmarks to headers with long titles.John MacFarlane3-5/+19
Word has a 40 character limit for bookmark names. In addition, bookmarks must begin with a letter. Since pandoc's auto-generated identifiers may not respect these constraints, some internal links did not work. With this change, pandoc uses a bookmark name based on the SHA1 hash of the identifier when the identifier isn't a legal bookmark name. Closes #5091.
2018-11-20Additional abbreviationsAndrew Dunning1-0/+29
Many of these borrowed from the Chicago Manual of Style 10.42, 'Scholarly abbreviations', <https://www.chicagomanualofstyle.org/book/ed17/part2/ch10/psec042.html>.
2018-11-19Fix compiler warning.John MacFarlane1-1/+1
2018-11-19AsciiDoc writer: improve ordered lists.John MacFarlane2-71/+83
Use `.`+ as list markers to support nested ordered lists. Closes #5087. Support list number styles. Closes #5089.
2018-11-19Lua filters: test AST object equality via HaskellAlbert Krewinkel3-5/+66
Equality of Lua objects representing pandoc AST elements is tested by unmarshalling the objects and comparing the result in Haskell. A new function `equals` which performs this test has been added to the `pandoc.utils` module. Closes: #5092
2018-11-19Asciidoc template: add :lang: to title header is lang is set in metadata.John MacFarlane1-0/+3
Closes #5088.