aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-14Jira reader: require jira-wiki-markup 1.3.1 or laterAlbert Krewinkel1-1/+1
This solves the following problems of the Jira reader: * Two consecutive markup chars are now parsed verbatim; styled text must not be empty. * Styled text may not contain newlines. * Links to anchors are now parsed as links. Fixes: #6343 Fixes: #6325 Fixes: #6407
2020-06-13nightly: add ls statements to diagnose linux build failure.John MacFarlane1-0/+2
2020-06-13Textile reader: support "pre." for code blocks.John MacFarlane1-8/+8
Cloess #6454.
2020-06-09Ipynb reader: handle application/pdf output as image.John MacFarlane1-1/+1
Closes #6430.
2020-06-09Ipynb reader: properly handle image/svg+xml as an image.John MacFarlane1-3/+5
Partially addresses #6430.
2020-06-07doc: fix FreeBSD port link (#6422)Mo1-1/+1
The FreeBSD port was renamed from pandoc to hs-pandoc in 2010. The old pandoc port is still at version 1.5.1.1
2020-06-07Make it possible to compile using Stack on NixOS (#6439)Mathieu Boespflug1-0/+2
On NixOS, it is necessary to compile with `stack --nix`. It is furthermore necessary to provide zlib headers when `--nix` is enabled.
2020-05-30Change default revealjs-url to use CDN version of revealjs v4.John MacFarlane2-2/+3
See #6408.
2020-05-28Fixed Katex standalone script (#6399)Lucas Escot1-0/+2
Global macros are now persistent when using the HTML Writer with the --katex option.
2020-05-28Allow http-client 0.7.John MacFarlane1-1/+1
2020-05-25[CI] broken commit message length test (#6398)Nikolay Yakimov2-10/+38
* [CI] Fix commit message length check * [CI] Smarter commit message length check * [CI] Fix commit message length check for new branches * [CI] Output offending commits
2020-05-25Allow aeson 1.5 (#6400)Felix Yan1-1/+1
Builds fine and all tests pass here.
2020-05-25CI: another attempt to fix line-length check.John MacFarlane1-2/+1
2020-05-25CI: Don't include merge commits when checking message length.John MacFarlane1-1/+1
2020-05-25lua-filters.md: use pandoc.system module in TikZ exampleAlbert Krewinkel1-39/+48
Showcase temporary directory handling with `with_temporary_directory` and `with_working_directory`.
2020-05-21Add commit message check to ci.yml workflow.John MacFarlane1-0/+11
2020-05-21update template for reveal.js 4.0.0 (#6390)Salim B1-28/+21
cf. - https://github.com/hakimel/reveal.js/releases/tag/4.0.0 - https://revealjs.com/upgrading/ see also https://github.com/jgm/pandoc-templates/pull/13
2020-05-21Revert "Add action to check commit messages for line length."John MacFarlane1-34/+0
This reverts commit 7902ac5256a3c25bb6318113da6b231588ef2d5a.
2020-05-21FB2 writer: properly handle cover-image containing spaces.John MacFarlane1-2/+2
Closes #6391.
2020-05-21Add action to check commit messages for line length.John MacFarlane1-0/+34
2020-05-21Allow tasty 1.3.x.John MacFarlane1-1/+1
2020-05-20Update links to reveal.js documentation (#6386)Salim B1-4/+3
With the [release of reveal.js 4.0.0](https://github.com/hakimel/reveal.js/releases/tag/4.0.0), the documentation moved from the GitHub README to the dedicated website <https://revealjs.com/>. Note that there are [further adjustments](https://revealjs.com/upgrading/) to the [Pandoc template](https://github.com/jgm/pandoc-templates/blob/master/default.revealjs) necessary in order to make Pandoc work with reveal.js 4.0.0.
2020-05-20Add "summary" to list of block-level HTML tags.John MacFarlane2-1/+19
Closes #6385. (The summary element needs to be the first child of details and should not be enclosed by p tags.) NOTE: you need to include a blank line before the closing `</details>`, if you want the last part of the content to be parsed as a paragraph.
2020-05-19LaTeX reader: don't parse beyond `\end{document}`.John MacFarlane1-13/+25
This required some internal changes to `\subfile` handling. Closes #6380.
2020-05-18epub.css: wrap overlong lines in highlighted code blocks.John MacFarlane1-0/+6
This fixes a problem in iBooks v2.4 with our earlier horizontally scrolling code blocks. The problem seems to be a bug in iBooks, not pandoc, but since iBooks is a major target we're changing pandoc's default behavior so that pandoc-produced epubs work on that platform. Closes #6242.
2020-05-18Propagate (DY)LD_LIBRARY_PATH in tests (#6376)Lila2-9/+14
2020-05-18Use CSS in favor of <br> for display math (#6372)Lila9-17/+23
Some CSS to ensure that display math is displayed centered and on a new line is now included in the default HTML-based templates; this may be overridden if the user wants a different behavior.
2020-05-18Bump cabal-version to 2.2 (#6377)Lila1-1/+1
In b3cfdc2c7 the license was changed to GPL-2.0-or-later which is an SPDX expression, however cabal only interprets the license field as an SPDX expression if cabal-version is 2.2 or later. Starting with 2.2 cabal-version also has to be the first statement in the .cabal file.
2020-05-17Org writer: clean-up Div handlingAlbert Krewinkel1-30/+59
2020-05-16Docx writer: enable column and row bands for tables.John MacFarlane29-1/+6
This change will not have any effect with the default style. However, it enables users to use a style (via a reference.docx) that turns on row and/or column bands. Closes #6371.
2020-05-16Add abstract and subtitle to opendocument template.John MacFarlane1-0/+6
With prior changes, this closes #6369.
2020-05-16OpenDocument writer: add custom-style "Abstract" in metadata abstract.John MacFarlane1-1/+8
This ensures that the abstract is rendered with style Abstract.
2020-05-16ODT: clean up styles.John MacFarlane1-11/+15
Add Abstract. Change Author, Date to centered paragraphs with no character styling.
2020-05-16OpenDocument/ODT writer: enable custom-style attribute on a Div.John MacFarlane1-2/+6
This allows you to apply a custom style to contained paragraphs.
2020-05-14DocBook writer: add id of figure to enclosed image.John MacFarlane1-4/+12
2020-05-14Fix underline in RTF writer.John MacFarlane1-1/+1
It should be `\ul` not `\pnul`.
2020-05-13Correct license listed in cabalLila1-1/+1
`GPL-2` is interpreted as GPLv2 only, however the actual license is GPLv2 or later
2020-05-12LaTeX writer: create hypertarget for links with identifier.John MacFarlane2-23/+33
Closes #6360.
2020-05-12Use latest skylighting.John MacFarlane6-18/+18
This adds `aria-hidden="true"` to the empty a elements, which helps people who use screen readers.
2020-05-12Lua: fix regression in package searcherAlbert Krewinkel3-2/+16
This caused `require 'module'` to fail for third party packages. Fixes: #6361
2020-05-10Fix misleading note about image size conversions in MANUAL.John MacFarlane1-4/+6
Closes #6353.
2020-05-08Implement implicit_figures extension for commonmark reader.John MacFarlane2-1/+7
Closes #6350.
2020-05-07Update revealjs template with newly available options (#6347)Jake Zimmerman1-0/+86
I wanted to use an option and realized that the default pandoc template didn't pass it through, so I went through and found all the options that Reveal.js advertises but that Pandoc's template doesn't support. <https://github.com/hakimel/reveal.js#configuration> I also noticed that rollingLinks isn't a setting anymore, but it's fine to keep it in the template because people might be using an old version of Reveal.js (via `revealjs-url`) that still has this option.
2020-05-05Shared.makeSections: omit number attribute when unnumbered class...John MacFarlane1-1/+2
...is present. Previously the attribute was included but given an empty value, and this caused the table of contents creation functions in T.P.Writers.Shared to think these items had numbers, which meant that they were included in the TOC even if the `unlisted` class was used. Closes #6339.
2020-05-05Avoid unnecessary guard (#6340)Joseph C. Sible1-1/+1
2020-05-05Remove unnecessary hlint ignores (#6341)Joseph C. Sible1-2/+0
In modern hlint, the spurious parse errors are gone now that it no longer uses HSE, and it's also smart enough to avoid the bad "Use ==" suggestions itself.
2020-05-04Add needed dependency to stack.yaml.John MacFarlane1-0/+1
2020-05-04Update dependency versions in stack.yaml.John MacFarlane1-5/+5
2020-05-04Revert "Use lts-15.11 stack"John MacFarlane1-1/+9
This reverts commit b78fb2889843c58426fecbe421edf1ba6a4fc76b.
2020-05-04Revert "Windows CI: try adding -fexternal-interpreter as ghc option."John MacFarlane1-2/+2
This reverts commit 47bfcfb406e2980f07fea9c9884f037a0a670f03.