aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2020-04-17Fix path for nightly linux build.John MacFarlane1-1/+1
2020-04-16Shared: renderTags': use self-closing tag for col element.John MacFarlane1-1/+1
Closes #6295.
2020-04-16ci: remove ghc 8.10.1 build for now.John MacFarlane1-2/+2
This is block by base-noprelude.
2020-04-16nightly: don't need to apt-get install. ci: test on ghc 8.10.1.John MacFarlane2-5/+2
2020-04-16nightly: ensure that ghc 8.8.1 is used for linux.John MacFarlane1-1/+1
Previously it was using 8.10 which is suprisingly already installed.
2020-04-15Markdown reader: Remove unnecessary qualificationdespresc1-8/+8
2020-04-15Use custom pandoc-types repo with new table typesAlbert Krewinkel2-1/+5
2020-04-15Lua: support new tablesAlbert Krewinkel2-30/+113
2020-04-15Modify toLegacyTable to cut up cells, add testsdespresc2-8/+104
Now a cell with dimension (h, w) will be cut up into h*w cells of dimension (1,1), all in the same grid position, with the upper-left holding the original cell contents and the rest being empty.
2020-04-15Use the new builders, modify readers to preserve empty headersdespresc55-572/+375
The Builder.simpleTable now only adds a row to the TableHead when the given header row is not null. This uncovered an inconsistency in the readers: some would unconditionally emit a header filled with empty cells, even if the header was not present. Now every reader has the conditional behaviour. Only the XWiki writer depended on the header row being always present; it now pads its head as necessary.
2020-04-15Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessorsdespresc51-1805/+1805
2020-04-15Adapt to the newest Table type, fix some previous adaptation issuesdespresc113-3935/+5128
- Writers.Native is now adapted to the new Table type. - Inline captions should now be conditionally wrapped in a Plain, not a Para block. - The toLegacyTable function now lives in Writers.Shared.
2020-04-15Remove the onlySimpleCellBodies function from Shareddespresc5-18/+7
2020-04-15Implement the new Table typedespresc114-2180/+4842
2020-04-15Markdown Reader: Fix inline code in lists (#6284)Nikolay Yakimov2-6/+58
Closes #6284. Previously inline code containing list markers was sometimes parsed incorrectly.
2020-04-15nightly build: print ghc, cabal versions for diagnostics.John MacFarlane1-0/+2
2020-04-15Use ghc 8.8.1 for nightly linux build.John MacFarlane1-1/+1
2020-04-15JATS reader: handle "label" element in section title.John MacFarlane2-1/+15
Closes #6288.
2020-04-13Improve linux CI caching.John MacFarlane1-3/+11
2020-04-13Add an option to disable certificate validation (#6156)Cédric Couralet8-2/+31
This commit adds the option `--no-check-certificate`, which disables certificate checking when resources are fetched by HTTP. Co-authored-by: Cécile Chemin <cecile.chemin@insee.fr> Co-authored-by: Juliette Fourcot <juliette.fourcot@insee.fr>