aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
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.