aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-22Use released pandoc-types 1.21.John MacFarlane2-7/+1
2020-06-22Use --enable-local-file-access in invoking wkhtmltopdf.John MacFarlane1-1/+2
wkhtmltopdf changed in recent versions to require this for access to local files. This fixes PDF via HTML5 with `--css`. Closes #6474.
2020-06-22Jira writer: always escape bracesAlbert Krewinkel3-3/+3
Braces are now always escaped, even within words or when surrounded by whitespace. Jira and Confluence treat braces specially. Package jira-wiki-markup must be version 1.3.2 or later. Fixes: #6478
2020-06-21MANUAL: clarify partial naming (#6476)Mauro Bieg1-6/+14
2020-06-20Recognize images with uppercase extensionsAlbert Krewinkel2-1/+6
Fixes: #6472
2020-06-20CI: use GitHub workflow command to set system pathAlbert Krewinkel1-2/+3
This way, the PATH environment variable does not have to be set repeatedly in each step.
2020-06-19Use latest skylighting.John MacFarlane2-4/+4
2020-06-17LaTeX writer: escape `^` specially for listings.John MacFarlane1-1/+1
Closes #6460.
2020-06-17RST reader: pass arbitrary attributes through in code blocks.John MacFarlane1-12/+12
Exceptions: name (which becomes the id), class (which becomes the classes), and number-lines (which is treated specially to fit with pandoc highlighting). Closes #6465.
2020-06-17Fix MIME type for TrueType fonts in EPUBs (#6464)Michael Reed1-1/+1
Per the EPUB 3.2 spec, "application/x-font-truetype" is no longer a valid identifier for TrueType (.ttf) fonts [1]. This fixes warnings when validating pandoc-generated EPUBs using `epubcheck` [2]. References [3]. [1]: https://www.w3.org/publishing/epub3/epub-spec.html#sec-core-media-types [2]: https://github.com/w3c/epubcheck
2020-06-15MANUAL: describe `jira` as "Jira/Confluence wiki markup"Albert Krewinkel1-2/+2
In the past, Jira's wiki markup was also used by – and could be imported into – Atlassian Confluence. Closes: #6351
2020-06-15Remove unused dependency `vector` (#6462)Laurent P. René de Cotret1-1/+0
2020-06-15linux CI: use ppa to install older ghc/cabal versions.John MacFarlane1-3/+14
2020-06-14Bump jira-wiki-markup in stack.yaml.John MacFarlane1-1/+1
2020-06-14Linux CI: use cabal 3.2 for everything.John MacFarlane1-4/+4
The ubuntu images no longer contain older cabal versions, it semes.
2020-06-14CI: use ubuntu-18.04 instead of 20.04.John MacFarlane3-3/+3
2020-06-14CI: use cabal 3.2, also specify OS versions instead of 'latest.'John MacFarlane3-12/+12
2020-06-14Docbook reader: implement <procedure> (#6442)Mathieu Boespflug3-5/+36
A `<procedure>` contains a sequence of `<step>`'s, or `<substeps>` that themselves contain `<step>`'s.
2020-06-14Docbook reader: implement <phrase> (#6438)Mathieu Boespflug1-1/+7
A `<phrase>` has no semantic meaning. It is only useful to hang an `id` or other attributes around a piece of text.
2020-06-14Docbook reader: treat envar and systemitem like code (#6435)Mathieu Boespflug1-2/+4
2020-06-14Docbook: implement <replaceable> (#6437)Mathieu Boespflug1-1/+3
A `<replaceable>` is a placeholder that a user is instructed to replace with a value of their own, like `<replaceable>prefix</replacable>/bin/foo`. In the standard Docbook toolchain, this typically appears emphasized, and no other adornement. But a `<replaceable>` is nearly always in a code element, where emphasis won't work. So we do the same thing as for `<optional>`: decorate the content with brackets.
2020-06-14Docbook: map <simplesect> to unnumbered section (#6436)Mathieu Boespflug3-15/+27
A <simplesect> is a section like any other, except that it never contains an subsection, and is typically rendered unnumbered.
2020-06-14Make polyglossia package options list-aware in the LaTeX template. (#6444)Frederik Elwert1-2/+2
2020-06-14Switch CI to use ghc 8.8.3.John MacFarlane2-3/+3
This should fix CI failures.
2020-06-14Distinguish between single and double quotes when using enquote package (#6457)dbecher-ito1-1/+3
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.