aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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>
2020-04-12Whitespace change to cabal.project...John MacFarlane1-0/+1
to invalidate cache.
2020-04-12Require doctemplates 0.8.2.John MacFarlane3-3/+19
2020-04-12Improve linux caching for ci.John MacFarlane1-2/+2
2020-04-12Add caching to linux ci.John MacFarlane1-0/+15
2020-04-12Add caching for Windows stack CI.John MacFarlane1-0/+21
2020-04-12Add caching for macOS CI build.John MacFarlane1-0/+21
2020-04-12RST reader: handle "date::" directive.John MacFarlane1-1/+10
Closes #6276.
2020-04-11LaTeX writer: ensure that `-M csquotes` works even in fragment mode.John MacFarlane2-10/+17
Closes #6265.
2020-04-11HTML reader: support <bdo> (#6271)Tristan de Cacqueray2-0/+34
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo Closes #5794
2020-04-11MANUAL: add link to print-css.rocks (#6272)Mauro Bieg1-1/+3
2020-04-09Clarify docs for pipe table column width adjustment.John MacFarlane1-1/+1
See #6254.
2020-04-09Jira reader: improve icon conversionAlbert Krewinkel2-13/+13
Icons are now converted as follows: `(/)` to ✔, `(x)` to ❌, `(!)` to ❗, `(+)` to ➕, `(-)` to ➖, `(off)` to 🌙, and `(*)` to ☆. The new icons render well in most fonts. Furthermore, the UTF-8 characters all fit into 4-bytes. Closes: #6264
2020-04-07LaTeX reader: better handling of `\lettrine`.John MacFarlane2-3/+10
- SmallCaps instead of Span for the part after the initial capital. - Ensure that both arguments are parsed, so that in Markdown both are treated as raw LateX. (Closes #6258.)
2020-04-07Fix ATX header syntax in manualJohn MacFarlane1-1/+1
2020-04-06Allow haddock-library 1.9.x.John MacFarlane1-1/+1
2020-04-06Vimwiki reader: Add nested syntax highlighting (#6257)Vlad Hanciuta3-1/+13
Nested syntaxes are specified like this: {{{sql SELECT * FROM table }}} The preformatted code block parser has been extended to check if the first attribute of the block is not a `key=value` pair, and in that case it will be considered as a class. Closes #6256.