aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-27Require texmath 0.12.1.John MacFarlane3-5/+2
2020-12-27Add support for writing nested tables to asciidoc (#6972)timo-a2-7/+114
Added field to WriterState that denotes the current nesting level for traversing tables. Depending on the value of that field nested tables are recognized and written. Asciidoc supports one level of nesting. If deeper tables are to be written, they are omitted and a warning is issued.
2020-12-27Powerpoint writer: allow arbitrary OOXML in raw inline elementsAlbert Krewinkel2-23/+28
The raw text is now included verbatim in the output. Previously is was parsed into XML elements, which prevented the inclusion of partial XML snippets.
2020-12-24Citeproc: fix handling of empty URL variables (`DOI`, etc.).John MacFarlane1-1/+3
The `linkifyVariables` function was changing these to links which then got treated as non-empty by citeproc, leading to wrong results (e.g. ignoring nonempty URL when empty DOI is present). Addresses part 2 of jgm/citeproc#41.
2020-12-20HTML writer: don't include p tags in CSL bibliography entries.John MacFarlane1-2/+7
Fixes a regression in 2.11.3. Closes #6966
2020-12-20LaTeX writer: support colspans and rowspans in tables. (#6950)Albert Krewinkel10-97/+326
Note that the multirow package is needed for rowspans. It is included in the latex template under a variable, so that it won't be used unless needed for a table.
2020-12-20Fixed table with file extensions and interpreterswuffi1-1/+2
Assigned .pl file extension to perl interpreter and .rb to ruby
2020-12-18Bump to 2.11.3.1 and update changelog and man page.John MacFarlane3-2/+15
2020-12-18Use citeproc 0.3.0.1.John MacFarlane2-2/+2
2020-12-18Remove data/templates/README.markdown.John MacFarlane1-49/+0
2020-12-18New advice for pre-commit filter.John MacFarlane1-1/+2
Without `--diff-filter=MA` it will try to lint deletions, and fail because the file is not present.
2020-12-18Remove data/make-reference-files.hs.John MacFarlane1-27/+0
I don't think this has been used for a long time.
2020-12-18Remove some extraneous files in data directory.John MacFarlane3-89/+0
2020-12-18Improve check target to test data/ too.John MacFarlane2-12/+7
2020-12-18Fix typo in CONTRIBUTING.mdBenjamin Wuethrich1-1/+1
2020-12-18Add test/writer.asciidoctor, tables.asciidoctor to extra-source-files.John MacFarlane1-0/+2
2020-12-18Remove some test files that are no longer used.John MacFarlane3-48/+0
2020-12-18Remove checkdocs from lint ci.John MacFarlane1-4/+0
2020-12-18Move sanity checks to lint ci.John MacFarlane2-9/+12
2020-12-18Add sanity checks to all CI targets.John MacFarlane1-0/+6
2020-12-18Makefile: Fix checkdocs target.John MacFarlane1-1/+1
2020-12-18Add sanity checks to ci.John MacFarlane1-0/+3
2020-12-18Add check and check-cabal target ...John MacFarlane1-2/+14
to check to make sure everything needed in tests will get into the source sdist.
2020-12-18Include missing jats test files in pandoc.cabal.John MacFarlane1-0/+2
See #6961.
2020-12-17Update RELEASE-CHECKLIST for CircleCI.John MacFarlane1-1/+1
2020-12-17CircleCI config: add version.txt to artifacts directory.John MacFarlane1-0/+1
2020-12-17Makefile: remove macospkg target.John MacFarlane1-6/+1
Now we just download the artifacts from CircleCI, and make.
2020-12-17Remove .travis.yml and add CircleCI config.John MacFarlane4-178/+63
2020-12-17Update man page.John MacFarlane2-15/+62
2020-12-17Update test with new skylighting CSS.John MacFarlane2-0/+2
2020-12-17Update changelog.John MacFarlane1-0/+291
2020-12-17Update AUTHORSJohn MacFarlane1-0/+8
2020-12-17Remove hie.yaml.John MacFarlane1-37/+0
2020-12-17MANUAL: clarify that inline references take precedence ...John MacFarlane1-0/+4
over references defined in an external bibliography.
2020-12-17Use skylighting 0.10.2.John MacFarlane2-4/+4
Cloess #6625.
2020-12-16Use released citeproc 0.3.John MacFarlane2-8/+8
2020-12-16Use released doctemplates 0.9.John MacFarlane2-9/+1
2020-12-16Add tests: True to cabal.project.John MacFarlane1-0/+2
Hoping this fixes the odd new CI failure for cabal.
2020-12-16Fix citeproc regression with duplicate references.John MacFarlane4-10/+11
- Use dev version of citeproc, which handles duplicate ids better, preferring the last one in the list and discarding the rest. - Ensure that inline citations take priority over external ones. See jgm/citeproc#36. This restores the behavior of pandoc-citeproc.
2020-12-16Use latest dev version of doctemplates.John MacFarlane2-1/+6
2020-12-16Support Lua marshalling of doctemplates BoolVal.John MacFarlane1-0/+1
This updates T.P.Lua.Marshaling.Context for doctemplates >= 0.9.
2020-12-15Properly handle boolean values in writing YAML metadata.John MacFarlane5-5/+25
(Markdown writer.) This requires doctemplates >= 0.9. Closes #6388.
2020-12-15MANUAL: update `--bibliography` with info about resource-pathJohn MacFarlane1-5/+8
and URLs.
2020-12-15MANUAL.txt: Remove misleading paragraphJohn MacFarlane1-5/+0
about `--resource-path`. (Note that resource-path now affects searching for bibilographies and other resources.)
2020-12-15Use fetchItem to get external bibliography.John MacFarlane1-8/+7
This means that: - a URL may be provided, and pandoc will fetch the resource. - Pandoc will search the resource path for the bibliography if it is not found relative to the working directory. Closes #6940.
2020-12-15Allow both inline and external references to be usedJohn MacFarlane2-14/+33
with `--citeproc`. This fixes a regression, since pandoc-citeproc allowed these to be combined. Closes #6951.
2020-12-14Merge pull request #6949 from wikey/patch-1John MacFarlane1-1/+1
typo
2020-12-14ImageSize: use exif width and height when available.John MacFarlane1-0/+13
After the move to JuicyPixels, we were getting incorrect width and heigh information for some images (see #6936, test-3.jpg). The correct information was encoded in Exif tags that JuicyPixels seemed to ignore. So we check these first before looking at the Width and Height identified by JuicyPixels. Closes #6936.
2020-12-14typoIan Sullivan1-1/+1
2020-12-13RST writer: better image handling.John MacFarlane3-20/+52
- An image alone in its paragraph (but not a figure) is now rendered as an independent image, with an `alt` attribute if a description is supplied. - An inline image that is not alone in its paragraph will be rendered, as before, using a substitution. Such an image cannot have a "center", "left", or "right" alignment, so the classes `align-center`, `align-left`, or `align-right` are ignored. However, `align-top`, `align-middle`, `align-bottom` will generate a corresponding `align` attribute. Closes #6948.