aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-12-08Use external emojis package.John MacFarlane7-10416/+10
Moved the emoji-specified code into an external package we can depend on.
2019-12-07Fix regression in `makeSections`.John MacFarlane0-0/+0
Previously hierarchicalize (the ancestor of `makeSections`) would put header attributes on the containing Div. In 2.8 this behavior changed, which broke some tools depending on pandoc. Here we roll back this change, so that attributes again migrate from the header to the containing Div when `makeSections` is run. Note that attributes are retained on the header as well (unlike before) -- with the exception of the `id` attribute, which of course cannot be duplicated. Note that this is an empty commit. The previous commit, 8d0033111, was mistakenly recorded as an amendment to the --toc-depth fix, so the commit message for that is wrong; this message correctly describes the change in 8d0033111. Closes #5965.
2019-12-07Fix --toc-depth regression in 2.8.John MacFarlane1-6/+6
Closes #5967.
2019-12-07Fix --toc-depth regression in 2.8.John MacFarlane2-3/+18
Closes #5967.
2019-12-07Use doctemplates 0.8.John MacFarlane2-3/+3
2019-12-07Rename template 'filters' as 'pipes'John MacFarlane1-6/+6
to avoid confusion with the other notion of filter used by pandoc. We may want to rename this upstream in doctemplates as well.
2019-12-07Removed trailing whitespace in manual.John MacFarlane1-5/+5
2019-12-07Document display math syntax in manual.John MacFarlane1-0/+3
2019-12-05Slight tweak to RELEASE_CHECKLISTJohn MacFarlane1-1/+2
2019-12-05Update manual date and man page.John MacFarlane2-15/+31
2019-12-05Update changelogJohn MacFarlane1-0/+54
2019-12-05Makefile - fix emoji.json pathJohn MacFarlane1-1/+1
2019-12-05Bump to 2.8.1John MacFarlane1-1/+1
2019-12-05Avoid deprecation warning for minimumDef using CPP.John MacFarlane1-1/+6
2019-12-05Keep the \author{} command even if author is not specified (#5961)Yihui Xie4-2/+3
Otherwise there will be a LaTeX warning "No \author given" when the .tex file is compiled. This does not affect spacing in the title block.
2019-12-05Clean up manual on pdf generation backend options.John MacFarlane1-13/+22
See #5940.
2019-12-05Roll back part of of `--shift-heading-level-by` change.John MacFarlane3-15/+9
With positive heading shifts, starting in 2.8 this option caused metadata titles to be removed and changed to regular headings. This behavior is incompatible with the old behavior of `--base-header-level` and breaks old workflows, so with this commit we are rolling back this change. Now, there is an asymmetry in positive and negative heading level shifts: + With positive shifts, the metadata title stays the same and does not get changed to a heading in the body. + With negative shifts, a heading can be converted into the metadata title. I think this is a desirable combination of features, despite the asymmetry. One might, e.g., want to have a document with level-1 section headigs, but render it to HTML with level-2 headings, retaining the metadata title (which pandoc will render as a level-1 heading with the default template). Closes #5957. Revises #5615.
2019-12-05Update release checklist to include code signing step.John MacFarlane1-1/+2
This will address #5950.
2019-12-05HTML-based templates: Add CSS to suppress bullet on unordered task lists.John MacFarlane8-0/+8
2019-12-05HTML writer: add task-list class to ul if all elements are task list items.John MacFarlane2-5/+14
This will allow styling unordered task lists in a way that omits the bullet.
2019-12-05Fix makeSections so it doesn't turn column divs into sections.John MacFarlane2-1/+31
2019-12-04Fix regression with behavior of --variable.John MacFarlane1-2/+8
Previously -Vfoo=1 -Vfoo=2 would produce a list value for foo; with 2.8 it produced just '2'. This commit restores the earlier beahvior. Closes #5962.
2019-12-03Move data/emoji.json to emoji.json, add to extra-source-files.John MacFarlane4-2/+4
This doesn't really belong in data-files as it's not loaded dynamically.
2019-11-30ci: remove quotes around --hide-successes.John MacFarlane1-2/+2
These seem to cause problems in windows.
2019-11-30Don't use --test-option with cabal.John MacFarlane1-1/+1
It's only supported in later versions, apparently.
2019-11-30Try --test-options with cabal.John MacFarlane1-1/+1
--test-option seems not to work (though it works with cabal 3+).
2019-11-30Hide successes in CI tests.John MacFarlane1-3/+3
This makes it easier to spot failures.
2019-11-29Improve Makefile for signing windows release candidates.John MacFarlane1-3/+8
2019-11-29Add Makefile to windows release-candidate build.John MacFarlane2-2/+8
Running 'make' in this directory will do the code signing of the msi.
2019-11-29Add `ascii_identifiers` as a supported extension for `markdown`.John MacFarlane1-27/+25
This fixes a regression in 2.8.
2019-11-29Update default.context (#5946)Denis Maier1-8/+6
Fix `\startcslreferences`: - The old version had a too large skip at the beginning of the reference list => fixed that. - Change syntax to ConTeXt conventions
2019-11-27Use `[|..|]` syntax to simplify Emoji.TH.John MacFarlane1-6/+6
2019-11-27Revert "Don't do parallel build with cabal."John MacFarlane1-2/+2
This reverts commit bd175d13b6004086ccd3862822f97c7f090cadb4.
2019-11-27Remove redundant import.John MacFarlane1-1/+0
2019-11-27Generate Emoji module with TH.John MacFarlane7-1830/+10410
- Add Text.Pandoc.Emoji.TH. - Replace long literal list in Text.Pandoc.Emoji with one-liner generating it from data/emoji.json using TH. - Add Makefile target to download data/emoji.json. - Remove tools/emoji.hs.
2019-11-27Don't do parallel build with cabal.John MacFarlane1-2/+2
Hopefully this fixes the apparent OOM error on GitHub CI?
2019-11-27Increase GC allocation space for compilation in cabal.project.John MacFarlane2-3/+3
2019-11-27LaTeX writer - hlint.John MacFarlane1-29/+24
2019-11-27HTML writer: hlint improvements.John MacFarlane1-25/+22
2019-11-27Removed useless cpp for old versions of blaze.John MacFarlane1-14/+0
2019-11-27Removed unneeded pragma.John MacFarlane1-1/+0
2019-11-26Bump to 2.8.0.1 and update changelog and manual.John MacFarlane5-22/+45
2019-11-26Use skylighting 0.8.3.John MacFarlane2-4/+4
2019-11-26Add pdf to list of output formats (`--list-output-formats`).John MacFarlane1-1/+2
Closes #5938.
2019-11-25EPUB writer: Fix regression with `--css option.John MacFarlane1-9/+13
Closes #5937.
2019-11-25RST writers: Use grid tables for 1-column tables.John MacFarlane2-1/+41
With simple tables, we have a clash with heading syntax. Closes #5936.
2019-11-24Add unexported Text.Pandoc.Readers.Metadata.John MacFarlane4-105/+163
For YAML metadata parsing. A step in the direction of #5914. No API change.
2019-11-24Update man template to avoid bad wraps.John MacFarlane1-1/+1
The contents of the .TH line cannot wrap. Closes #5929.
2019-11-24Update to doctemplates 0.7.2, update template docs.John MacFarlane3-18/+21
This adds the `nowrap` filter.
2019-11-23Add support for $toc-title$ to HTML (4 and 5) (#5930)Alexandre Franke3-1/+7