aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2020-05-04Windows CI: try adding -fexternal-interpreter as ghc option.John MacFarlane1-2/+2
2020-05-04Revert "Try downgrading HsYAML on stack to 0.2.0.0."John MacFarlane1-3/+0
This reverts commit 32d5d6c80ba7d6d58a77abf4b6e98a057db28fae.
2020-05-04Try downgrading HsYAML on stack to 0.2.0.0.John MacFarlane1-0/+3
to deal with the access violation we get in CI windows: https://github.com/jgm/pandoc/runs/643362477?check_suite_focus=true
2020-05-04Revert "Use 'set __COMPAT_LAYER=' in Windows CI builds."John MacFarlane2-8/+0
This reverts commit 030c23e04970570ec6f6aa574da33193366d77a9.
2020-05-04Fix mediawiki reader with gfm_auto_identifiers.John MacFarlane1-1/+4
Previously the `-` was being replaced by `_`. Closes #6335.
2020-05-04Use 'set __COMPAT_LAYER=' in Windows CI builds.John MacFarlane2-0/+8
It is suggested at https://github.com/commercialhaskell/stack/issues/3765 that this may solve the "access violation" we're currently getting on Windows CI with ghc 8.8.
2020-05-04Revert "Try using -fexternal-interpreter to avoid access violation on ↵John MacFarlane1-2/+0
Windows CI." This reverts commit 58115dd07f13be1f62fae0048fe984dea5aaf0a2.
2020-05-03Try using -fexternal-interpreter to avoid access violation on Windows CI.John MacFarlane1-0/+2
2020-05-03Use lts-15.11 stackJohn MacFarlane1-9/+1
2020-05-02LaTeX Writer: Add support for customizable alignment of columns in beamer ↵andrebauer3-5/+99
(#6331) Add support for customizable alignment of columns in beamer. Closes #4805, closes #4150.
2020-05-02Lua filters: improve error messages for failing filters (#6332)Albert Krewinkel1-2/+4
Print the Lua error properly instead of displaying their `show` string.
2020-04-30PowerPoint writer: write math input verbatim in speaker notes.Jesse Rosenthal1-6/+12
OMML in speaker notes would lead to corrupt PowerPoint output. We now output the OMML verbatim as LaTeX in the speaker notes. Closes #6301.
2020-04-28Support new Underline element in readers and writers (#6277)Vaibhav Sagar53-45/+169
Deprecate `underlineSpan` in Shared in favor of `Text.Pandoc.Builder.underline`.
2020-04-27Use latest pandoc-types master with underline addition.John MacFarlane2-4/+3
2020-04-25Allow base64-bytestring 1.1.John MacFarlane1-2/+2
2020-04-24Update the link to TinyTeX (#6318)Yihui Xie1-1/+1
from https://yihui.name/tinytex to https://yihui.org/tinytex (the former will be automatically redirected to the latter)
2020-04-24RST writer: properly handle images with same alt text.John MacFarlane2-7/+32
Previously we created duplicate references for these in rendering RST. Closes #6194.
2020-04-23Manual: separate adjacent verbatim code blocks (#6307)tom-audm1-12/+24
2020-04-22AsciiDoc writer: add blank line after Div.John MacFarlane2-1/+19
Closes #6308.
2020-04-20Merge pull request #4573 from expipiplus1/haddock-linksJohn MacFarlane2-71/+71
Haddock Writer: Support Haddock tables
2020-04-20CI: be more selective about caching.John MacFarlane1-11/+3
Only use the cache if stack.yaml or cabal.project hasn't changed.