aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2020-04-04test/writer.jira: fix links, skip alias if it equals the targetAlbert Krewinkel1-4/+4
2020-04-04Jira: support citations, attachment links, and user linksAlbert Krewinkel6-9/+109
Closes: #6231 Closes: #6238 Closes: #6239
2020-04-03Jira reader: resolve parsing issues of blockquote, colorAlbert Krewinkel3-3/+22
Parsing problems occurring with block quotes and colored text have been resolved. Fixes: #6233 Fixes: #6235
2020-04-02HTML reader: fix parsing unclosed th elements in a table.John MacFarlane1-0/+1
Closes #6247.
2020-04-01Add test fixes for docbook writer changes.John MacFarlane2-8/+16
2020-04-01Docbook writer: Add personname element to docbook author.John MacFarlane1-1/+2
Closes #6244.
2020-04-01Allow hslua 1.1 (#6243)Felix Yan1-2/+2
Builds fine and all tests pass.
2020-04-01Fix description of BulletList Lua typeLevi Gruspe1-5/+5
Change description of BulletList parameter from 'List of Blocks' to 'List of List of Blocks'.
2020-03-31Markdown writer: ensure consistent padding for pipe tables.John MacFarlane1-2/+2
Previously there was no space between text and bar in right-aligned table cells. This commit also ensures space on both sides for centered cells. Closes #6240.
2020-03-31Jira reader: use span with class `underline` for inserted textAlbert Krewinkel2-1/+5
Jira text which is marked as `+inserted+` is converted into pandoc's default representation for underlined text: a span with class `underline`. Previously, the span was marked with the non-standard class `inserted`. Closes: #6237
2020-03-31Jira writer: convert spans with class `underline` to inserted textAlbert Krewinkel4-1/+39
Spans with class `underline` as converted into Jira text marked as `+inserted+`, i.e. surrounded by plus-signs.
2020-03-31Jira writer tests: update image in test/writer.jiraAlbert Krewinkel1-1/+1
2020-03-30Jira writer: add image attributesAlbert Krewinkel1-1/+13
Image attributes are added to the output as image parameters. If the image has a class "thumbnail", then a thumbnail image is generated; all other attributes are discarded in this case. Closes: #6234
2020-03-30Jira reader: retain image attributesAlbert Krewinkel2-1/+22
Jira images attributes as in `!image.jpg|align=right!` are retained as key-value pairs. Thumbnail images, such as `!example.gif|thumbnail!`, are marked by a `thumbnail` class in their attributes. Related to #6234.
2020-03-30Jira reader: read `(?)` icon as "small questionmark" characterAlbert Krewinkel1-1/+1
Closes: #6236
2020-03-30Fix #6228 (#6230)Joseph C. Sible2-7/+8
UUID: Remove `getUUID`, fix `getRandomUUID` and make it polymorphic in PandocMonad.
2020-03-29Clean up and simplify Text.Pandoc.Readers.Docx (#6225)Joseph C. Sible1-61/+43
* Simplify resolveDependentRunStyle * Simplify runToInlines * Simplify isAnchorSpan * Simplify parStyleToTransform * Only call getStyleName once * Simplify ils'' * Use case matching to simplify bodyPartToBlocks * Simplify key expiration
2020-03-29Clean up and simplify Text.Pandoc.Writers.Docx (#6229)Joseph C. Sible1-56/+48
* Use <|> to simplify the Semigroup instance * Use map instead of reimplementing it * Simplify isValidChar * Remove an unnecessary nested do block * Simplify pgContentWidth * Simplify addLang * Simplify newStyles * Avoid an unnecessary fmap in headerFooterEntries * Remove unnecessary monadicity from mkNumbering and mkAbstractNum * Use randomRs instead of constantly messing with the RNG state * Lift common functions out of ifs * Hoist not * Clarify withTextPropM and withParaPropM