aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2020-04-20Haddock Writer: Support Haddock tablesJoe Hermaszewski2-71/+71
See this PR on Haddock for details on the table format: https://github.com/haskell/haddock/pull/718
2020-04-19More fixes for round-trip tests of HTML reader.John MacFarlane1-6/+10
We exclude tables that have default widths but non-simple content, as these can't really round-trip.
2020-04-19Use dev version of pandoc-citeproc...John MacFarlane2-2/+3
so we can use pandoc-types 1.21 with it.
2020-04-19Use pandoc-types 1.21, new texmath.John MacFarlane3-6/+6
2020-04-18Revert "Hide successes on cabal CI builds"John MacFarlane1-1/+1
This reverts commit 671bb42c43ff82cbbbdfce339ce1b0184274015d. It didn't work with some older cabal versions.
2020-04-18CI: Don't cache .stack-work.John MacFarlane1-11/+11
2020-04-18Fixed round-trip HTML tests.John MacFarlane1-0/+5
Exclude tables with cells with line breaks because they don't currently round-trip. (Table goes from being simple to having explicit widths.)
2020-04-18Hide successes on cabal CI buildsJohn MacFarlane1-1/+1
2020-04-18Fix round-trip bug with HTML tables....John MacFarlane1-9/+13
introduced by parsing of table attributes. (The writer always added a style with width, and we would get multiple such styles through successive round trips.)
2020-04-18HTML reader: parse attributes into table attributes.John MacFarlane1-14/+18
2020-04-17Markdown writer: avoid unnecessary escapes before intraword `_`John MacFarlane3-2/+21
when `intraword_underscores` extension is enabled. Closes #6296.
2020-04-17Merge pull request #6211 from tarleb/lua-pandocerrorJohn MacFarlane24-444/+704
API change: create PandocLua type, use PandocError for exceptions
2020-04-17API change: use new type PandocLua for all pandoc Lua operationsAlbert Krewinkel9-207/+246
The new type `PandocLua` is an instance of the `PandocMonad` typeclass and can thus be used in a way similar to `PandocIO`.
2020-04-17Class: generalize PandocIO functions to MonadIOAlbert Krewinkel3-167/+253
2020-04-17LaTeX reader: don't put surrounding Div around Table.John MacFarlane2-28/+30
This reverts a change in the last release; the Div is no longer needed, because we can now put the id right in the Table's attributes. However, writers may still need to be modified to do something with the id in a Table (e.g. create an anchor), so in the short term we may lose the ability to link to tables in some writers.
2020-04-17API change: use PandocError for exceptions in Lua subsystemAlbert Krewinkel17-74/+209
The PandocError type is used throughout the Lua subsystem, all Lua functions throw an exception of this type if an error occurs. The `LuaException` type is removed and no longer exported from `Text.Pandoc.Lua`. In its place, a new constructor `PandocLuaError` is added to PandocError.
2020-04-17Fix typo.John MacFarlane1-1/+1
2020-04-17Use main pandoc-types repository...John MacFarlane2-4/+4
now that @despresc's changes have been merged.
2020-04-17Merge pull request #6224 from despresc/better-tablesJohn MacFarlane122-2391/+6221
2020-04-17Add CI build for ghc 8.10.1.John MacFarlane1-2/+2
2020-04-17Revert 0e48a02 and dependency on base-noprelude...John MacFarlane2-33/+43
which hasn't been updated for ghc 8.10. See discussion at #6187.