aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-08-27Add .travis.yml for macos release candidate build.John MacFarlane1-0/+57
We need to build the release candidate on Travis rather than GitHub actions, because GH has macos 10.15, and binaries compiled on that OS will not work with 10.13. See #6622. This build is only triggered on rc/ branches.
2020-08-26Make the setting-the-date example conditionalthe-solipsist1-3/+5
This makes the example a bit more realistic/valuable by checking if the metadata value "date" is already present, before changing the value.
2020-08-24Docx writer: separate adjacent tables.John MacFarlane2-1/+9
Word combines adjacent tables, so to prevent this we insert an empty paragraph between two adjacent tables. Closes #4315.
2020-08-21HTML writer: Fix addition of doc-biblioentry role.John MacFarlane1-1/+1
2020-08-15Actions CI: Try cache@v2.John MacFarlane1-10/+14
2020-08-15[Latex Reader] Fixing issues with \multirow and \multicolumn table cells (#6608)Laurent P. René de Cotret2-32/+61
* Added test to replicate (#6596) * Table cell reader not consuming spaces correctly (#6596) * Prevented wrong nesting of \multicolumn and \multirow table cells (#6603) * Parse empty table cells (#6603) * Support full prototype for multirow macro (#6603) Closes #6603
2020-08-15.gitignore: ignore stack.yaml.lockAlbert Krewinkel1-0/+1
2020-08-15Relax version constraints for hslua, hslua-module-textAlbert Krewinkel1-3/+3
Allow `hslua-1.2.*` and `hslua-module-text-0.3.*`.
2020-08-14Whitespace change to stack.yaml to reset macos CI cache.John MacFarlane1-0/+1
2020-08-14Change SIRange to SIrange (#6617)Emerson Harkin2-13/+13
2020-08-12Use the smart extension when generating pandoc's man page.John MacFarlane1-1/+1
See #6613.
2020-08-11Linux rc build: use ghc-musl container.John MacFarlane6-75/+43
This simplifies our build process a bit (over using a customized alpine container). Use new `--enable-executable-static` flag in build. make_artifacts.sh: Fix deprecated find -perm syntax.
2020-08-11DocBook reader: Update list of block level tags.John MacFarlane1-10/+83
This fixes #6610.
2020-08-09Remove `fenced_code_blocks` and `backtick_code_blocks` from...John MacFarlane2-11/+23
commonmark/gfm extensions. These shouldn't really be counted as extensions, because they can't be disabled in commonmark. Adjust markdown writer to check for commonmark variant in addition to extensions.
2020-08-09MANUAL: remove lists of support extensions for markdown variants.John MacFarlane1-46/+20
Instead, offer the advice to use `--list-extensions=FORMAT`. Closes #6604.
2020-08-07[Latex Reader] Table cell parser not consuming spaces correctly (#6597)Laurent P. René de Cotret2-0/+9
* Added test to replicate (#6596) * Table cell reader not consuming spaces correctly (#6596)
2020-08-07Fix trypandoc in response to d8ad766d17603784b86fc5c2e1b22864125d04d1John MacFarlane1-2/+1
2020-08-07doc/lua-filters.md: add missing Link.title fieldAlbert Krewinkel1-0/+3
2020-08-06Options: Add `/tex-mml-chtml.js` to defaultMathJaxURL.John MacFarlane2-3/+2
Previously we added this in processing command line options, but not in processing defaults files, which was inconsistent. Cloess #6593.
2020-08-05Use commonmark >= 0.1.0.2. Closes #6589.John MacFarlane2-2/+2
2020-08-05Remove duplicated exceptions (#6591)Felix Yan1-1/+0
2020-08-02Use new pandoc-citeproc, rfc5051.John MacFarlane2-7/+3
2020-08-01Fix typo in CONTRIBUTING.md (#6584)Dmitry Volodin1-4/+3
Againt -> against And use GitHub instead of github everywhere
2020-07-31Use skylighting 0.9.John MacFarlane2-6/+4
2020-07-31Org writer: don't force blank line after headersAlbert Krewinkel2-28/+1
Closes: #6554
2020-07-29Add extensions to `gfm` and `commonmark`:John MacFarlane1-0/+8
`fenced_code_blocks`, `backtick_code_blocks`, `fenced_code_attributes`. These can't really be disabled in the reader, but they need to be enabled in the writer or we just get indented code.
2020-07-29Writers/Shared: add missing function docsAlbert Krewinkel1-7/+21
Ensure that all functions in the module have a haddock comment.
2020-07-29doc/lua-filters.md: add missing header attributeAlbert Krewinkel1-1/+1
2020-07-28Lua filter docs: remove link table exampleAlbert Krewinkel1-36/+0
The example is outdated and requires a complete overhaul.
2020-07-27Remove duplicate 'seriespage'. (#6568)Blake Eryx1-1/+0
2020-07-25doc/lua-filters.md: document `body` fieldAlbert Krewinkel1-3/+6
2020-07-25Lua filters: make attr argument optional in Table constructorAlbert Krewinkel3-10/+19
This changes the Lua API. It is highly unlikely for this change to affect existing filters, since the documentation for the new Table constructor (and type) was incomplete and partly wrong before. The Lua API is now more consistent, as all constructors for elements with attributes now take attributes as the last parameter.
2020-07-25doc/lua-filters.md: fix documentation for tablesAlbert Krewinkel1-20/+123
2020-07-24Make sure proper set of extensions is recognized for commonmark_x.John MacFarlane1-0/+1
2020-07-24Use commonmark-extensions 0.2.0.1.John MacFarlane1-1/+1
2020-07-23Restore testing with ghc 8.0.2.John MacFarlane1-0/+2
2020-07-23release-candidate: pin upload-artifact to specific version.John MacFarlane1-3/+3
2020-07-23Update changelog.John MacFarlane1-0/+3
2020-07-23Markdown writer: use numerical labels for refs...John MacFarlane1-5/+9
...that are longer than 999 characters or contain square brackets. For conformity with commonmark. Closes #6560
2020-07-23update date, man page, README.John MacFarlane4-137/+183
2020-07-23Update changelog.John MacFarlane1-1/+10
2020-07-23Add `raw_markdown` extension affecting `ipynb` reader.John MacFarlane4-4/+18
Specifying `-f ipynb+raw_markdown` will cause Markdown cells to be represented as raw Markdown blocks, instead of being parsed. This is not what you want when going from `ipynb` to other formats, but it may be useful when going from `ipynb` to Markdown or to `ipynb`, to avoid semantically insignificant changes in the contents of the Markdown cells that might otherwise be introduced. Closes #5408.
2020-07-23Update changelog and bump to 2.10.1.John MacFarlane3-1/+162
2020-07-23Minimal support for SIRange in LaTeX reader (#6418)Emerson Harkin2-0/+83
Add support for `\SIRange{firstnumber}{secondnumber}{unit}` provided by siunitx. An en-dash is used instead of localized "to".
2020-07-23Use commonmark-0.1.0.1.John MacFarlane2-2/+2
Partially addresses #6556.
2020-07-23Col-span and row-span in LaTeX reader (#6470)Laurent P. René de Cotret2-22/+112
Add multirow and multicolumn support in LaTex reader. Partially addresses #6311.
2020-07-23Further improvements to ams theorem support, and a test.John MacFarlane2-2/+44
See #1608.
2020-07-23LaTeX reader: Add identifier in divs for ams theorem environments.John MacFarlane1-1/+1
2020-07-22LaTeX reader: SUpport ams `\theoremstyle`.John MacFarlane2-8/+38
2020-07-22Implement first optional argument for `\newtheorem`.John MacFarlane1-23/+30
This allows groups of theorem environments to be put in the same numbering sequence.