aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-05-16appveyor.yml: remove manual calls to editbin.John MacFarlane1-5/+0
To really solve this memory limit, we need to build with a 64-bit version of ghc.
2017-05-15MANUAL: remove refs to highlighting-kate.John MacFarlane1-2/+2
Closes #3672.
2017-05-15Textile reader: fix bug for certain links in table cells.John MacFarlane2-2/+18
Closes #3667.
2017-05-15appveyor.yml: proper editbin path both times...John MacFarlane1-1/+1
2017-05-15Fixed appveyor.yml syntax error.John MacFarlane1-1/+1
2017-05-15appveyor.yml: proper path for editbin.John MacFarlane1-1/+2
I hope.
2017-05-15appveyor.yml: Don't install hsb2hs.John MacFarlane1-3/+0
We now use file-embed instead.
2017-05-15appveyor.yml: make executables LARGEADDRESSAWAREJohn MacFarlane1-1/+5
using editbin, which comes with VisualStudio. This should help with #3669 (needs testing). Previously our executables could only access 2GB memory on Windows, even in 64 bit systems with lots of memory.
2017-05-15Debian control: updated description.John MacFarlane1-9/+11
2017-05-15Debian control: added latex packages as 'suggested'.John MacFarlane1-0/+2
2017-05-15Added support for horizontal spacing in LaTeX: parse \, to \8198 (six-per-em ↵Henri Werth2-3/+3
space)
2017-05-15Merge pull request #3668 from tarleb/copyright-updateJohn MacFarlane74-145/+177
Update copyright notices
2017-05-14Org reader: add basic file inclusion mechanismAlbert Krewinkel8-5/+73
Support for the `#+INCLUDE:` file inclusion mechanism was added. Recognized include types are *example*, *export*, *src*, and normal org file inclusion. Advanced features like line numbers and level selection are not implemented yet. Closes: #3510
2017-05-14Parsing: add `insertIncludedFilesF` which returns F blocksAlbert Krewinkel1-7/+24
The `insertIncludeFiles` function was generalized and renamed to `insertIncludedFiles'`; the specialized versions are based on that.
2017-05-14Parsing: introduce `HasIncludeFiles` type classAlbert Krewinkel1-9/+22
The `insertIncludeFile` function is generalized to work with all parser states which are instances of that class.
2017-05-14Parsing: replace partial with total functionAlbert Krewinkel1-1/+1
Calling `tail` on an empty list raises an exception, while calling the otherwise equivalent `drop 1` will return the empty list again.
2017-05-13COPYRIGHT: list new files not written by JohnAlbert Krewinkel1-0/+25
2017-05-13Update dates in copyright noticesAlbert Krewinkel74-145/+152
This follows the suggestions given by the FSF for GPL licensed software. <https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html>
2017-05-13Add haddock module description to FB2 writerAlbert Krewinkel1-1/+11
Copyright, maintainer etc. were missing in haddock docs for this module.
2017-05-13Change maintainer line in Org writer moduleAlbert Krewinkel1-1/+1
2017-05-12Replace `repeat' and `take' with `replicate' once moreAlexander Krotov1-1/+1
2017-05-12Replace `repeat' and `take' with `replicate'Alexander Krotov1-1/+1
2017-05-11Combine grid table parsersAlbert Krewinkel5-143/+94
The grid table parsers for markdown and rst was combined into one single parser, slightly changing parsing behavior of both parsers: - The markdown parser now compactifies block content cell-wise: pure text blocks in cells are now treated as paragraphs only if the cell contains multiple paragraphs, and as plain blocks otherwise. Before, this was true only for single-column tables. - The rst parser now accepts newlines and multiple blocks in header cells. Closes: #3638
2017-05-09LaTeX: Load `parskip` before `hyperref`. (#3654)Václav Haisman5-33/+33
* LaTeX: Load `parskip` before `hyperref`. According to `hyperref` package's `README.pdf`, page 22, `hyperref` package should be loaded after `parskip` package. * Adjust tests for previous change.
2017-05-08Fix links inside captions in LaTeX output with links-as-notes.Václav Haisman1-1/+1
Declare our redefined `\href` robust. Fixes #3651. (#3652)
2017-05-07Markdown writer: missing \n (#3647)David A Roberts1-1/+1
2017-05-07Muse writer: Indent tables with one space (#3649)Alexander Krotov3-37/+37
It is required to trigger Muse table rendering.
2017-05-07Rename fillMedia -> fillMediaBag.John MacFarlane3-7/+8
2017-05-07PDF: use fillMedia and extractMedia to extract media to tmp dir.John MacFarlane1-39/+11
This reduces code duplication. We should be able to do something similar in ODT, Docx, EPUB writers.
2017-05-07Moved fillMedia, extractMedia from App to Class.John MacFarlane2-52/+56
Also generalized type of fillMedia to any instance of PandocMonad.
2017-05-07Added PandocHttpException, trap exceptions in fetching from URLs.John MacFarlane4-9/+26
Closes #3646.
2017-05-07Remove https flag.John MacFarlane5-34/+4
Supporting two completely different libraries for fetching from URLs makes it difficult to trap errors, because of different error types expected from the libraries. There's no clear reason not to build with these https-capable libraires.
2017-05-07fillMediaBag: don't cause fatal error if resource not found.John MacFarlane1-10/+19
Report warning instead and change image to its alt text.
2017-05-07Updated documentation for `--extract-media`.John MacFarlane1-4/+9
2017-05-07Allow `--extract-media` to work with non-binary input formats.John MacFarlane1-4/+26
If `--extract-media` is supplied with a non-binary input format, pandoc will attempt to extract the contents of all linked images, whether in local files, data: uris, or external uris. They will be named based on the sha1 hash of the contents. Closes #1583, #2289. Notes: - One thing that is slightly subideal with this commit is that identical resources will be downloaded multiple times. To improve this we could have mediabag store an original filename/url + a new name. - We might think about reusing some of this code, since more or less the same thing is done in the Docx, EPUB, PDF writers (with slight variations).
2017-05-07Use fewer quickcheck tests for lua tests, to speed things up.John MacFarlane1-3/+3
2017-05-07Simplify plumbing for document transformation.John MacFarlane1-25/+21
2017-05-06Markdown reader: improved parsing of indented raw HTML blocks.John MacFarlane2-1/+49
Previously we inadvertently interpreted indented HTML as code blocks. This was a regression. We now seek to determine the indentation level of the contents of an HTML block, and (optionally) skip that much indentation. As a side effect, indentation may be stripped off of raw HTML blocks, if `markdown_in_html_blocks` is used. This is better than having things interpreted as indented code blocks. Closes #1841.
2017-05-06LaTeX reader: Better handling of comments inside math environments.John MacFarlane2-30/+56
This solves a problem with commented out `\end{eqnarray}` inside an eqnarray (among other things). Closes #3113.
2017-05-06Fix keyval funtion: pandoc did not parse options in braces correctly.… (#3642)schrieveslaach2-1/+26
* Fix keyval funtion: pandoc did not parse options in braces correctly. Additionally, dot, dash, and colon were no valid characters * Add | as possible option value * Improved code
2017-05-06Small reformatting in MANUAL.John MacFarlane1-41/+45
2017-05-06ConTeXt template: improved font handling.John MacFarlane3-18/+33
simplefonts is now obsolete in ConTeXt. This patch comes from Pablo Rodríguez via jgm/pandoc-templates#247.
2017-05-06Drop redundant import of sortAlbert Krewinkel1-1/+1
This was left in accidentally.
2017-05-06Org reader: support macrosAlbert Krewinkel5-1/+102
Closes: #3401
2017-05-05Revert "SelfContained: special handling for css @import."John MacFarlane1-36/+5
This reverts commit 89b3fcc8e050def3779fed716d70bfd4e7120a6b.
2017-05-05SelfContained: special handling for css @import.John MacFarlane1-5/+36
We now avoid creating a data URI for the url under an @import.
2017-05-05SelfContained: Handle url() inside material retrieved from url().John MacFarlane1-3/+12
This can happen e.g. with an @import of a google web font. (What is imported is some CSS which contains an url reference to the font itself.) Also, allow unescaped pipe (|) in URL. This is intended to help with #3629, but it doesn't seem to work.
2017-05-04Include `backtick_code_blocks` extension in `mardkown_mmd`.John MacFarlane1-0/+1
Closes #3637.
2017-05-04Muse writer: omit automatic header identifiers (#3633)Alexander Krotov2-41/+10
2017-05-03Org reader: support table.el tablesAlbert Krewinkel4-8/+52
Closes #3314